2c9c7c48ac
[improvement](decimalv3) Java UDF and array type support DECIMALV3 ( #15674 )
2023-01-09 15:13:16 +08:00
a6773417ef
[Doc] Add sidebars for split_by_string function and delete split_by_char builtins code ( #15679 )
2023-01-06 21:14:26 +08:00
edb9a3b58d
[Bug](timediff) Fix wrong result for function timediff ( #15312 )
2022-12-30 00:28:51 +08:00
df5969ab58
[Feature] Support function roundBankers ( #15154 )
2022-12-22 22:53:09 +08:00
21c2e485ae
[improvment](function) add new function substring_index ( #15024 )
2022-12-15 09:54:34 +08:00
1200b22fd2
[function](round) compute accurate round value by decimal ( #14946 )
2022-12-13 09:53:43 +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
7a08a799e9
[Vectorized](function) support order by convert_to function ( #14555 )
2022-11-29 15:22:27 +08:00
3e8b3658c7
[feature-wip](decimalv3) Support basic agg and arithmetic operations for decimal v3 ( #14513 )
2022-11-29 15:12:41 +08:00
7ae7830c50
[improvement](function)add size function alias array_size ( #14594 )
...
* add size function alias
* fix
2022-11-25 22:29:48 +08:00
7ba4cd764a
[enhancement](array-function) array_position,array_contains,countequal which in FunctionArrayIndex handle target NULL ( #14564 )
...
in the previous, the result is:
```
mysql> select array_position([1, null], null);
+--------------------------------------+
| array_position(ARRAY(1, NULL), NULL) |
+--------------------------------------+
| NULL |
+--------------------------------------+
1 row in set (0.02 sec)
```
but after this commit, the result become:
```
mysql> select array_position([1, null], null);
+--------------------------------------+
| array_position(ARRAY(1, NULL), NULL) |
+--------------------------------------+
| 2 |
+--------------------------------------+
1 row in set (0.02 sec)
```
2022-11-25 14:19:50 +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
b4aef889f2
[feature-array](array-function) add array constructor function array() ( #14250 )
...
* [feature-array](array-function) add array constructor function `array()`
```
mysql> select array(qid, creationDate) from nested_c_2 limit 10;
+------------------------------+
| array(`qid`, `creationDate`) |
+------------------------------+
| [1000038, 20090616074056] |
| [1000069, 20090616075005] |
| [1000130, 20090616080918] |
| [1000145, 20090616081545] |
+------------------------------+
10 rows in set (0.01 sec)
```
2022-11-19 10:49:50 +08:00
f86886f8f5
[Feature](function) Support array_compact function ( #14141 )
2022-11-15 14:24:37 +08:00
93e5d8e660
[Vectorized](function) support bitmap_from_array function ( #14259 )
2022-11-15 01:55:51 +08:00
43490a33a5
[feature-array](array-type) Add array function array_with_constant ( #14115 )
...
Return array of constants with length num.
```
mysql> select array_with_constant(4, 1223);
+------------------------------+
| array_with_constant(4, 1223) |
+------------------------------+
| [1223, 1223, 1223, 1223] |
+------------------------------+
1 row in set (0.01 sec)
```
co-authored-by @eldenmoon
2022-11-11 22:08:43 +08:00
0ba13af8ff
[feature](running_difference) support running_difference function ( #13737 )
2022-11-11 21:22:56 +08:00
90bfd87660
[feature](function) add new function uuid() ( #14092 )
2022-11-10 14:55:41 +08:00
57225d69f3
[Fix] add hll param for if function ( #12366 )
...
* [Fix] add hll param for if function
* add ut
Co-authored-by: shizhiqiang03 <shizhiqiang03@meituan.com >
2022-11-10 11:20:58 +08:00
55ca810445
[fix](Vectorized)fix json_object and json_array function return wrong result on vectorized engine ( #13775 )
...
Issue Number: close #13598
2022-11-09 11:26:55 +08:00
e1654bc6ef
[Enhancement](function) add to_bitmap() function with int type ( #13973 )
...
to_bitmap function only support string param only,add to_bitmap() function with int type, this can avoid convert int type to string and then convert string to int
2022-11-08 09:15:26 +08:00
e8d2fb6778
[feature](function)add search functions: multi_search_all_positions & multi_match_any ( #13763 )
...
Co-authored-by: yiliang qiu <yiliang.qiu@qq.com >
2022-11-07 11:50:55 +08:00
7ffe88b579
[feature-array](array-type) Add array function array_popback ( #13641 )
...
Remove the last element from array.
```
mysql> select array_popback(['test', NULL, 'value']);
+-----------------------------------------------------+
| array_popback(ARRAY('test', NULL, 'value')) |
+-----------------------------------------------------+
| [test, NULL] |
+-----------------------------------------------------+
```
2022-11-07 10:48:16 +08:00
5fe3342aa3
[Vectorized](function) support bitmap_to_array function ( #13926 )
2022-11-03 14:29:28 +08:00
b83744d2f6
[feature](function)add regexp functions: regexp_replace_one, regexp_extract_all ( #13766 )
2022-11-02 23:15:57 +08:00
7ae60a0ad2
[feature](function)add url functions: domain and protocol ( #13662 )
2022-10-31 19:13:08 +08:00
5805011629
[Feature](string-function) Add function mask/mask_first_n/mask_last_n ( #13694 )
...
Implementation of mask function from hive.
2022-10-28 10:43:56 +08:00
c108554f14
[function](date function) add new date function 'to_monday' #13707
2022-10-28 08:41:16 +08:00
5dd052d386
[Function](array) support array_range function ( #13547 )
...
* array_range with 3 impl
* [Function](array) support array_range function
* update
* update code
2022-10-28 08:40:24 +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
65aa863dcf
[Bugfix](bitmap) Fix to_bitmap_with_check function symbol is incorrect ( #13667 )
...
* [Bugfix](bitmap) Fix to_bitmap_with_check function symbol is incorrect
2022-10-26 14:27:38 +08:00
235c105554
[feature-array](array-type) Add array function array_enumerate ( #13612 )
...
Add array function array_enumerate
2022-10-25 15:12:11 +08:00
f802fc37ff
add date function 'last_day' ( #13609 )
2022-10-25 13:46:16 +08:00
177e82bdab
[Enhancement](array-type) Add type derivation for array functions ( #13534 )
...
From now, we don't support type derivation for array function's arguments.
So that the cases below will return wrong values or even cause be core.
mysql> select array_union([1],[10000000]);
+----------------------------------------+
| array_union(ARRAY(1), ARRAY(10000000)) |
+----------------------------------------+
| [1, -128] |
+----------------------------------------+
1 row in set (0.03 sec)
mysql> select array_union([NULL],[1]);
ERROR 1105 (HY000): RpcException, msg: io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
mysql> select array_union([],[1]);
ERROR 1105 (HY000): RpcException, msg: io.grpc.StatusRuntimeException: UNAVAILABLE: Network closed for unknown reason
This commit make a small fix to derivate the argument types of the array function
1、 For null type in arguments, cast the null type to boolean type, because null type should not be seen in be.
2、For different types in arguments, cast all arguments type to their compatible type.
2022-10-24 11:51:47 +08:00
3e92f742bf
[Bugfix](MV) Fix insert negative value to table with bitmap_union MV will cause count distinct result incorrect ( #13507 )
2022-10-21 16:07:31 +08:00
3ca8bfaf30
[Function](array) support array_difference function ( #13440 )
2022-10-21 10:57:37 +08:00
9a3c1f0867
[Improvement](decimal) print decimal according to the real precision and scale ( #13437 )
2022-10-21 10:00:01 +08:00
2b328eafbb
[function](string_function) add new string function 'extract_url_parameter' ( #13323 )
2022-10-20 11:11:43 +08:00
0b368fbbfa
[Bugfix](vec) Fix all create mv using to_bitmap() on negative value columns when enable_vectorized_alter_table is true ( #13448 )
...
* [Bugfix] add negtive value check when create mv using vec
2022-10-19 15:40:04 +08:00
8a068c8c92
[function](string_function) add new string function 'not_null_or_empty' ( #13418 )
2022-10-19 11:10:37 +08:00
755a946516
[feature](jsonb) jsonb functions ( #13366 )
...
Issue Number: Step3 of DSIP-016: Support JSON type
2022-10-19 08:44:08 +08:00
f0dbbe5b46
[Bug](funciton) fix repeat coredump when step is to long ( #13408 )
2022-10-18 09:55:06 +08:00
49b060418a
[optimization](array-type) array_min/array_max function support the date/datetime type ( #13407 )
...
This pr is used to expand the supported data type for array_min/array_max function.
Before the change , the array_min/array_max function can't support the date/datetime type.
After the change, array_min/array_max function can support the date/datetime type.
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-10-17 23:38:20 +08:00
c114d87d13
[Enhancement](array-type) Tuple is null predicate support array type ( #13307 )
...
Issue Number: #12689
2022-10-17 18:50:56 +08:00
de4315c1c5
[feature](function) support initcap string function ( #13193 )
...
support `initcap` string function
2022-10-13 21:31:44 +08:00
71d2d61d33
[chore](build release) remove doris home and user info from doris_be --version output ( #13344 )
...
There will be personal info in doris_be --version, like this:
doris-0.0.0-trunk RELEASE (build git://hk-dev01/mnt/disk2/ygl/code/github/apache-doris/be/../@8b7d928af26318f71098f1be2ab03ed83b1955fd)
Built on Wed, 12 Oct 2022 18:36:44 CST by ygl@hk-dev01
Since we always not need this info, commit id is enough, I remove these redundant info, the new result is like this:
doris-0.0.0-trunk RELEASE (build git://hk-dev01@8b7d928)
Built on Thu, 13 Oct 2022 15:03:01 CST by hk-dev01
2022-10-13 18:24:04 +08:00
1bd14f1d82
[feature-wip](jsonb) jsonb parse function and load ( #13129 )
...
add function to parse json string to jsonb format and use it to support stream load.
2022-10-12 13:56:37 +08:00
16999ef02d
[Vectorized][Function] support date_trunc and countequal function ( #13039 )
2022-10-12 10:01:09 +08:00
e20921fa87
[function](datev2) Complements for datev2 functions ( #13276 )
2022-10-11 15:52:00 +08:00