4ea2c04676
Optimize regexp and like using hyperscan ( #11116 )
...
* use hyperscan instead of re2 for regexp and like function
2022-07-27 16:43:58 +08:00
6933f5e328
[fix] need materialize condition conlumn in if function ( #11229 )
2022-07-27 12:24:41 +08:00
d67029c830
[feature-wip] (datetimev2) support cast between datetimev2 with different scales ( #11198 )
...
* [feature-wip] (datetimev2) support `cast` between datetimev2 with different scale
2022-07-26 22:36:13 +08:00
823088a9eb
[FOLLOW-UP] (datetimev2) complete date function ut and built-in function declaration ( #11154 )
2022-07-26 17:48:57 +08:00
3e3b2d15d4
[bug]string pad functions should always be nullable ( #11140 )
...
* string pad functions should always be nullable
2022-07-26 10:20:11 +08:00
829d534e12
[Improvement] Replace switch with constexpr to boost date functions ( #11134 )
2022-07-23 22:58:59 +08:00
babab5d535
[feature-wip] support datetimev2 ( #11085 )
2022-07-23 16:07:59 +08:00
3744321f01
[feature-wip](array-type) add function array_union/array_except/array_intersect ( #10781 )
...
Add array_union/array_except/array_intersect function.
2022-07-22 13:50:13 +08:00
b115b362fb
[Bug] fix bug for function unix_timestamp ( #11041 )
...
* [Bug] fix bug for function `unix_timestamp`
2022-07-20 20:17:41 +08:00
238395e282
[Bug] fix decimal arithmetic calculations ( #10963 )
2022-07-18 14:35:07 +08:00
77ef19dbcd
[BugFix](Array)Fix using Array aggregate function caused be coredump ( #10649 )
2022-07-18 13:47:17 +08:00
2d5aca18fb
[feature-wip](array) add the array_sort function ( #10598 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-07-18 10:52:42 +08:00
09d19e3f0f
[feature-wip](array-type) explode support more sub types ( #10673 )
...
1. explode support more sub types;
2. explode support nullable elements;
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-07-17 18:08:30 +08:00
5793cb11d0
[feature-wip] (array-type) function concat_ws support array ( #10749 )
...
Issue #10052
function concat_ws support array
2022-07-17 17:50:39 +08:00
cc84cfcc0e
[feature-wip](array-type) add function array_remove ( #10385 )
...
Description:
array_remove function remove all elements in array which is equal to the target.
2022-07-15 17:57:49 +08:00
3b46242483
[feature-wip] Optimize Decimal type ( #10794 )
...
* [feature-wip](decimalv3) support decimalv3
* [feature-wip] Optimize Decimal type
Co-authored-by: liaoxin <liaoxinbit@126.com >
2022-07-14 10:50:50 +08:00
eb079950cb
[feature-wip] (array-type) add the array_distinct function ( #10388 )
...
* add the array_distinct function
* add the support for decimal and update variable names
* add docs and regression test for array_distinct function
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-07-12 17:02:42 +08:00
4e9d5a7f7a
optimize substr performance and fix ASAN global buffer overflow ( #10442 )
...
* add volnitsky substr algorithm
* replace std::search with volnitsky search algorithm in StringSearch
* optimize substring for constant_substring_fn case
use long run length search for performance
2022-07-12 08:36:21 +08:00
9b554be698
[improvement]Division of integer is too slow ( #10769 )
2022-07-11 19:36:12 +08:00
08384fea1c
[BUG] fix DCHECK failed for vectorized InPredicate ( #10709 )
2022-07-09 06:25:32 +08:00
c583d3e27c
[fix][vectorized] Fix bug of VInPredicate on date type ( #10663 )
2022-07-07 22:15:33 +08:00
8012d63ea0
[fix] substr('', 1, 5) return empty string instead of null ( #10622 )
2022-07-06 22:51:02 +08:00
c9f86bc7e2
[refactor] Refactoring Status static methods to format message using fmt( #9533 )
2022-07-02 18:58:23 +08:00
7571263ed7
[Bug][Vectorized] fix timestamp(datetime) not regist right ( #10525 )
2022-07-01 07:37:44 +08:00
ec6620ae3e
[feature-wip](array-type) add function arrays_overlap ( #10233 )
2022-06-30 08:12:29 +08:00
b9223d1657
[Build] fix build fail on clang ( #10445 )
2022-06-29 15:08:24 +08:00
6a566ccb74
[Enhancement][Vectorized] add constexpr_loop_match ( #10283 )
2022-06-29 14:58:50 +08:00
ca94867b4e
[Feature-wip] add date v2 type ( #9916 )
2022-06-26 16:07:56 +08:00
89860fd0e3
[opt] delete the redundant parameter of _execute_non_nullable ( #10173 )
...
1. This pr is used to delete the redundant parameter of _execute_non_nullable.
2. This modification will not affect the function "element_at".
2022-06-24 19:22:50 +08:00
9036f93df4
Revert "[improvement](function) optimize substr performance ( #10169 )" ( #10390 )
...
This reverts commit 2335d233f1f52eb64a380b4c9959becdf182b71b.
2022-06-24 14:38:52 +08:00
2335d233f1
[improvement](function) optimize substr performance ( #10169 )
...
optimize substr performance about 1.5~2x speedup.
2022-06-24 08:57:31 +08:00
0e404edf54
[improvement] Change array offset type from UInt32 to UInt64 ( #10070 )
...
Now column `Array<T>` contains column `offsets` and `data`, and type of column `offsets` is UInt32 now.
If we call array_union to merge arrays repeatedly, the size of array may overflow.
So we need to extend it before `Array Data Type` release.
2022-06-19 10:24:08 +08:00
5e47b03595
[feature-wip](array-type) Add array aggregation functions ( #10108 )
2022-06-17 11:07:49 +08:00
4c24586865
[Vectorized][UDF] support java-udaf ( #9930 )
2022-06-15 10:53:44 +08:00
c2af14fc61
[Bug] return type is not always nullable of function ( #10116 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-06-14 16:32:35 +08:00
6fab1cbf3c
[feature-wip](array-type) Add array functions size and cardinality ( #9921 )
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-06-09 15:03:03 +08:00
19bc14cf8d
[feature-wip](array-type) Add array type support for vectorized parquet-orc scanner ( #9856 )
...
Only support one level array now.
for example:
- nullable(array(nullable(tinyint))) is **support**.
- nullable(array(nullable(array(xx))) is **not support**.
2022-06-09 12:11:47 +08:00
f2aa5f32b8
[Feature] [Vectorized] Some pre-refactorings or interface additions for schema change ( #9811 )
...
Some pre-refactorings or interface additions for schema change
2022-06-07 15:04:57 +08:00
49d4798276
[fix](function) fix bug in time_round function ( #9712 )
2022-06-06 08:58:22 +08:00
4ea5782838
[fix](Function) fix to_bitmap to return always not nullable ( #9859 )
2022-06-02 10:37:45 +08:00
ac08c7ac91
[fix](vectorized) fix vcast expr input wrong row number ( #9520 )
2022-06-01 15:19:31 +08:00
632f7a3d3d
[Feature] add weekday function on vectorized engine ( #9901 )
2022-06-01 14:47:37 +08:00
35f99faa0a
[Bug][Vectorized] fix core dump on vcase_expr::close ( #9893 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-06-01 08:05:09 +08:00
fa50b63cee
fix core dump on vcase_expr::close ( #9875 )
2022-05-31 15:45:39 +08:00
f377c26bf7
[refactor][be] Optimize headers ( #9708 )
2022-05-30 16:12:10 +08:00
7b98dd438d
[feature](function) Add nvl function ( #9726 )
2022-05-30 09:43:00 +08:00
f33ef32d92
[Bug] [Bitmap] change to_bitmap to always_not_nullable ( #9716 )
2022-05-28 17:33:55 +08:00
6f61af7682
[Vectorized][java-udf] add datetime&&largeint&&decimal type to java-udf ( #9440 )
2022-05-20 10:26:09 +08:00
bee5c2f8aa
[feature-wip](parquet-vec) Support parquet scanner in vectorized engine ( #9433 )
2022-05-17 09:37:17 +08:00
650e3a6ba0
[feature-wip](array-type) array_contains support more nested data types ( #9170 )
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-05-13 12:42:40 +08:00