c8418d13b5
[improvement](config)Use session variable to replace configuration for 'enable_function_pushdown' ( #11641 )
2022-08-10 19:25:02 +08:00
01e4522612
[fix]collect_list/collect_set without GROUP BY for NOT NULL column ( #11529 )
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-08-09 20:49:37 +08:00
df47b6941d
[feature-wip](array-type) support the array type in reverse function ( #11213 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-08-09 20:49:09 +08:00
b9f7f63c81
[Fix](planner) Fix wrong planner with count(*) optmizer for cross join optimization ( #11569 )
2022-08-09 09:01:25 +08:00
75fc830573
[Bug](date function) fix wrong year for format '%x' ( #11520 )
2022-08-05 06:22:22 +08:00
8a09f0478f
[regressiontest](improvement)SQL query conditions, if the data type is expanded with single quotes, an error will occur case ( #11437 )
2022-08-04 11:28:12 +08:00
ce68d24e95
[Bug](function) fix current_date not equal to curdate ( #11463 )
...
* fix current_date not equal to curdate
2022-08-04 09:25:50 +08:00
4ba2422039
[improvement](fe) Remove constant keys in aggregation ( #11434 )
2022-08-03 19:43:35 +08:00
fcfc76f4a9
[Bug](date function) from_unixtime return wrong result ( #11410 )
...
* [Bug](date function) `from_unixtime` return wrong result
2022-08-02 14:23:54 +08:00
dddacd120d
[fix](planner) Fix inconsistent nullability between outputTuple and groupByExpr when executing agg query ( #11361 )
2022-08-01 22:57:51 +08:00
1cf57a985d
[fix] Fix the query result error caused by the grouping sets statemen… ( #11316 )
...
* [fix] Fix the query result error caused by the grouping sets statement grouping as an expression
2022-08-01 13:52:18 +08:00
52460af74b
[Bug][Vectorized] Support the .* in hyperscan to valid the % in SQL ( #11371 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-08-01 11:00:05 +08:00
61b157abe3
[bug](storage-scanner) fix infinite loop when reading wide table ( #11372 )
...
* fix infinite loop when reading wide table
When a wide table is read, the 1st batch would be exceed raw_bytes_threshold,
so Scanner should read at least 1 row.
Actually, we should adjust batch size automatically to reduce memoery usage.
2022-08-01 10:33:04 +08:00
532395c6a0
[Bug][Function] core dump on sum(distinct) ( #11308 )
...
* fix align size calculate for distinct combinator
2022-07-30 10:24:48 +08:00
9d9fcca40c
[regression-test](array)add test for array_slice ( #11329 )
2022-07-30 09:59:58 +08:00
c1fbee7fe1
[fix] the nullable info is lost in ifnull expr ( #11212 )
...
ifnull function has defect when processing nullable column or const column in some case
2022-07-29 21:33:58 +08:00
bac280e803
[Vectorized] Support both distinct and order by of group_concat ( #11278 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-07-29 09:11:34 +08:00
0b1d06bfd6
[Vectorized] Support order by aggregate function ( #11187 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-07-28 09:12:58 +08:00
5913c7c52c
[feature-wip](array-type) add function array_slice ( #11054 )
...
array_slice function returns a slice of the array.
2022-07-27 18:43:52 +08:00
a1599e3f6a
[regression test]update test_conditional_function ( #11244 )
2022-07-27 14:39:40 +08:00
6933f5e328
[fix] need materialize condition conlumn in if function ( #11229 )
2022-07-27 12:24:41 +08:00
2e210fb363
[bugfix]fix constant argument coredump ( #11200 )
2022-07-26 19:30:06 +08:00
93cb80c9cb
[test] use suffix of directory as group name and use directory as dbname ( #11142 )
...
* use suffix of directory as group name and use directory as dbname
We can rename tpcds_sf1 to tpcds_sf1_p1, then tpcds_sf1 will be in group
p1. We will group cases to p0, p1, p2, p3 in the future.
p0: function cases running in seconds.
p1: cases with expected out running in minutes, like tpcds_sf1
p2: cases with expected out running in hours, like tpcds_sf10 tpcds_sf100
p3: cases without without expected out to test core dump.
2022-07-25 12:10:31 +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
95366de7f6
cast array element to same type ( #10980 )
...
Fix problem when there are element of different types in an array.
2022-07-19 21:47:10 +08:00
842ff2b1e2
[refactor] Refactor time LUT ( #10982 )
2022-07-19 08:23:29 +08:00
234e822b36
[Regression](Array) add more array test ( #10770 )
2022-07-18 15:27:13 +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
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
27505773f5
add regression test for array functions inside WHERE condition ( #10748 )
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-07-11 22:18:48 +08:00
fe8acdb268
[feature-wip](array-type) add agg function collect_list and collect_set ( #10606 )
...
add codes for collect_list and collect_set and update regression output, before output format for ARRAY(string) already changed.
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-07-08 12:48:46 +08:00
8012d63ea0
[fix] substr('', 1, 5) return empty string instead of null ( #10622 )
2022-07-06 22:51:02 +08:00
ec6620ae3e
[feature-wip](array-type) add function arrays_overlap ( #10233 )
2022-06-30 08:12:29 +08:00
69134fb3f2
[docs] Add regression test for weekday function ( #10253 )
2022-06-25 22:29:32 +08:00
fa13bef3da
[Bug][Vectorized] Fix coredump in other join conjunt is const expr ( #10223 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-06-23 13:27:32 +08:00
46d20818f1
[fix][vectorized] Fix bug the of window function result not match plan nullable ( #10340 )
...
Co-authored-by: lihaopeng <lihaopeng@baidu.com >
2022-06-23 08:40:12 +08:00
a2b5020375
[fix](partition-cache) fix result may not write when enable partition cache ( #10319 )
...
fix result may not write when enable partition cache
2022-06-22 23:42:46 +08:00
200557052a
[BUGFIX] wrong answer with with as + two phase agg ( #10303 )
2022-06-22 14:39:39 +08:00
2f37e108e3
[feature-wip](array-type) add ArrayType support for FeFunctions ( #10041 )
...
FEFunctionSignature do not support ArrayType as args, then following SQL failed:
`> select array_contains([1,2,3], 1);`
ERROR 1105 (HY000): errCode = 2, detailMessage = Unexpected exception: org.apache.doris.catalog.ArrayType cannot be cast to org.apache.doris.catalog.ScalarType
2022-06-20 09:35:06 +08:00
41b693e1df
[test] Add window cast bitmap digital_masking function regression test. ( #9924 )
2022-06-16 19:14:51 +08:00
495c34fa29
[Bug] [Vectorized] code dump on aggregate node over union node ( #10040 )
...
* miss check passthrough on vectorized
* format and add test
* update
2022-06-10 15:02:14 +08:00
4a474420c8
[feature](function) Add ntile function ( #9867 )
...
Add ntile function.
For non-vectorized-engine, I just implemented like Impala, rewrite ntile to row_number and count.
But for vectorized-engine, I implemented WindowFunctionNTile.
2022-06-10 10:32:40 +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
688f8f6e90
[test] Fix date function regression test case. ( #9966 )
2022-06-09 00:33:35 +08:00
26ea51da00
[test]Add regression test method for agg function ( #9929 )
...
* Add regression test method for regression function
* Add regression test method for regression function
* Add regression test case for math function
* delete math function
Co-authored-by: manyi <fop@freeoneplus.com >
2022-06-04 13:31:48 +08:00