Skip to content

[fix](like) fix wrong result of like pattern with backslash - #18351

Merged
yiguolei merged 1 commit into
apache:branch-1.2-ltsfrom
jacktengg:1.2-fix-like
Apr 3, 2023
Merged

[fix](like) fix wrong result of like pattern with backslash#18351
yiguolei merged 1 commit into
apache:branch-1.2-ltsfrom
jacktengg:1.2-fix-like

Conversation

@jacktengg

Copy link
Copy Markdown
Contributor

Proposed changes

Issue Number: close #xxx

Problem summary

Pick from master #18039.

Checklist(Required)

  • Does it affect the original behavior
  • Has unit tests been added
  • Has document been added or modified
  • Does it need to update dependencies
  • Is this PR support rollback (If NO, please explain WHY)

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

@github-actionsgithub-actionsBot added area/sql/function Issues or PRs related to the SQL functions area/vectorization kind/test labels Apr 3, 2023
@yiguolei
yiguolei merged commit 4c1c1ab into apache:branch-1.2-ltsApr 3, 2023
luwei16 pushed a commit to luwei16/Doris that referenced this pull request Apr 7, 2023
…e#1586)
* [Bug][Fix] regexp function core dump DCHECK failed and error result (apache#17953)
CREATE TABLE `test` (
`name` varchar(64) NULL,
`age` int(11) NULL
) ENGINE=OLAP
DUPLICATE KEY(`name`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`name`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"in_memory" = "false",
"storage_format" = "V2",
"disable_auto_compaction" = "false"
);
insert into `test` values ("lemon",1),("tom",2);
select a.name regexp concat('^', a.name) from test a;
* [fix](like) fix wrong result of like pattern with backslash (apache#18351)
---------
Co-authored-by: HappenLee <happenlee@hotmail.com>
Co-authored-by: TengJianPing <18241664+jacktengg@users.noreply.github.com>
mongo360 pushed a commit to mongo360/doris that referenced this pull request Jul 12, 2023
swjtu-zhanglei pushed a commit to swjtu-zhanglei/incubator-doris that referenced this pull request Jul 25, 2023
…e#1586)
* [Bug][Fix] regexp function core dump DCHECK failed and error result (apache#17953)
CREATE TABLE `test` (
`name` varchar(64) NULL,
`age` int(11) NULL
) ENGINE=OLAP
DUPLICATE KEY(`name`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`name`) BUCKETS 1
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"in_memory" = "false",
"storage_format" = "V2",
"disable_auto_compaction" = "false"
);
insert into `test` values ("lemon",1),("tom",2);
select a.name regexp concat('^', a.name) from test a;
* [fix](like) fix wrong result of like pattern with backslash (apache#18351)
---------
Co-authored-by: HappenLee <happenlee@hotmail.com>
Co-authored-by: TengJianPing <18241664+jacktengg@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sql/functionIssues or PRs related to the SQL functionsarea/vectorizationdev/1.2.4-mergedkind/test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jacktengg@yiguolei