7b93c17364
[Bug][Fix] regexp function core dump DCHECK failed and error result ( #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;
2023-03-21 08:56:19 +08:00
3e40467ce6
[Bug](vec) Fix chinese pinyin order by ( #17152 )
...
bug: some chinese word not sort by pinyin in GBK coding
CREATE TABLE `test_convert` (
`a` varchar(100) NULL
) ENGINE=OLAP
DUPLICATE KEY(`a`)
DISTRIBUTED BY HASH(`a`) BUCKETS 3
PROPERTIES (
"replication_allocation" = "tag.location.default: 1"
);
insert into test_convert values("b"), ("a"), ("c"), ("睿"), ("多"), ("丝");
Query OK, 6 rows affected (0.03 sec)
{'label':'insert_ca73a6acc2194d5b_888218a3949355a6', 'status':'VISIBLE', 'txnId':'18068'}
mysql [test]>select * from test_convert;
+------+
| a |
+------+
| a |
| c |
| 丝 |
| b |
| 多 |
| 睿 |
+------+
6 rows in set (0.01 sec)
mysql [test]>select * from test_convert order by convert(a using gbk);
+------+
| a |
+------+
| a |
| b |
| c |
| 多 |
| 丝 |
| 睿 |
+------+
6 rows in set (0.01 sec)
2023-02-28 14:29:56 +08:00
883f575cfe
[fix](string function) fix wrong usage of iconv_open ( #17048 )
...
* [fix](string function) fix wrong usage of iconv_open
Also add test case for function convert
* fix test case
2023-02-24 09:13:10 +08:00
09870098af
[fix](func) fix core dump when the pattern of the regexp_extract_all function does not contain subpatterns ( #16408 )
2023-02-05 01:16:54 +08:00
ca7b2e27a8
[regression-test](function) add regression test for money_format with truncate ( #16052 )
2023-02-04 23:10:01 +08:00
95d7c2de26
[Refactor](function) Rewrite the function elt ( #16287 )
2023-02-01 11:17:06 +08:00
578a855b3e
[Bug](topn-opt) filter condition for analytic info for two phase read opt ( #16173 )
...
two phase read optimization should not be enabled when query has analytic info
2023-01-29 12:06:18 +08:00
05f6e4c48a
[fix](predicate) fix be core dump caused by pushing down the double column predicate ( #15693 )
2023-01-09 19:31:04 +08:00
21c2e485ae
[improvment](function) add new function substring_index ( #15024 )
2022-12-15 09:54:34 +08:00
b5c0d4870d
[fix](nereids)fix bug of elt and sub_replace function ( #14971 )
2022-12-12 17:37:36 +08:00
38570312dd
[feature](split_by_string)support split by string function ( #13741 )
2022-12-12 15:22:30 +08:00
33349c3419
[feature](function)Support negative index for function split_part ( #13914 )
2022-12-12 09:56:09 +08:00
d5d356b17f
[vectorized](function) support order by field function ( #14528 )
...
* [vectorized](function) support order by field function
* update
* update test
2022-11-25 14:00:46 +08:00
18b9db17b3
[fix](test) move cases in query to query_p0 ( #14452 )
2022-11-22 21:35:18 +08:00
34f43ac781
[bug](like function)fix like '' (empty string) get wrong result with all rows #14035
2022-11-08 08:51:39 +08:00
b83744d2f6
[feature](function)add regexp functions: regexp_replace_one, regexp_extract_all ( #13766 )
2022-11-02 23:15:57 +08:00
20363edc73
[BugFix](function) fix reverse function dynamic buffer overflow due to illegal character ( #13671 )
...
Previous logic of reverse function might not be strong enough to handle illegal character. For example, one one byte size character would be mistaken as one utf-8 character which occupies more than one byte space. And unfortunately exceeding the buffer space during future process.
2022-10-28 08:44:08 +08:00
43c6428aea
[Function](string) support sub_replace function ( #13736 )
...
* [Function](string) support sub_replace function
* remove conf
2022-10-28 08:40:08 +08:00
8a068c8c92
[function](string_function) add new string function 'not_null_or_empty' ( #13418 )
2022-10-19 11:10:37 +08:00
de4315c1c5
[feature](function) support initcap string function ( #13193 )
...
support `initcap` string function
2022-10-13 21:31:44 +08:00
5757bbc9f3
fix be oom when replace with an empty old str ( #13220 )
2022-10-10 15:58:12 +08:00
6b6d548df9
[enhancement](test) add more p0 cases ( #12285 )
2022-09-29 10:45:17 +08:00
ee3dd423b9
[Bug](function) core dump on substr #13007
2022-09-28 08:54:49 +08:00
09b45f2b71
[Function](ELT)Add elt function ( #12321 )
2022-09-07 15:21:08 +08:00
ff1971f916
[improvement](test) add dryRun option and group all cases into either p0 or p1 ( #11576 )
...
1. add dryRun option to list tests
2. group all cases into p0 p1 p2
2022-08-17 22:45:53 +08:00