c5b6056b7a
[fix](lateral_view) fix lateral view explode_split with temp table ( #12643 )
...
Problem describe:
follow SQL return wrong result:
WITH example1 AS ( select 6 AS k1 ,'a,b,c' AS k2) select k1, e1 from example1 lateral view explode_split(k2, ',') tmp as e1;
Wrong result:
+------+------+
| k1 | e1 |
+------+------+
| 0 | a |
| 0 | b |
| 0 | c |
+------+------+
Correct result should be:
+------+------+
| k1 | e1 |
+------+------+
| 6 | a |
| 6 | b |
| 6 | c |
+------+------+
Why?
TableFunctionNode::outputSlotIds do not include column k1.
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-09-21 09:19:18 +08:00
cc072d35b7
[Bug](date) Fix wrong type in TimestampArithmeticExpr ( #12727 )
2022-09-20 21:08:48 +08:00
1fa65708d7
[test](time_add or sub)add time_add and time_sub funcation case #12641
2022-09-19 09:22:53 +08:00
380e3695f8
[test](window-function) add cte test in regression of window function #12635
2022-09-16 10:27:50 +08:00
a97f63141e
[fix](cast) Add validity check for date conversion for non-vectorization ( #12608 )
...
actual result
select cast("0.0000031417" as date);
+------------------------------+
| CAST('0.0000031417' AS DATE) |
+------------------------------+
| 2000-00-00 |
+------------------------------+
expect result
select cast("0.0000031417" as date);
+------------------------------+
| CAST('0.0000031417' AS DATE) |
+------------------------------+
| NULL |
+------------------------------+
2022-09-16 09:08:53 +08:00
8448867bed
[regression-test](window-function) add big table in regression of window function #12562
2022-09-14 08:43:24 +08:00
56b2fc43d4
[enhancement](array-type) shrink column suffix zero for type ARRAY<CHAR> ( #12443 )
...
In compute level, CHAR type will shrink suffix zeros.
To keep the logic the same as CHAR type, we also shrink for ARRAY or ARRAY<ARRAY> types.
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-09-13 23:24:48 +08:00
4c73755b40
[test](window-function) add regression test of window function ( #12529 )
2022-09-13 08:58:19 +08:00
09b45f2b71
[Function](ELT)Add elt function ( #12321 )
2022-09-07 15:21:08 +08:00
449d0c219f
[Improvement](sort) Accumulate blocks to do partial sort ( #12336 )
2022-09-07 10:34:28 +08:00
772e5907f2
[enhancement](test) add some p0 cases ( #12240 )
2022-09-07 09:10:42 +08:00
e7303c12c7
[Enhancement](array-type) Support Floating/Decimal type for array aggregation functions ( #12271 )
2022-09-03 09:55:56 +08:00
3bcab8bbef
[feature](function) support now/current_timestamp functions with precision ( #12219 )
...
* [feature](function) support now/current_timestamp functions with precision
2022-09-01 14:35:12 +08:00
fc05d54f0d
[fix](array-type) array_sort function with empty input #12175
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-09-01 10:54:09 +08:00
65051d67cf
[fix](yearweek) fixed the yearweek result error when mode is set to 1 ( #12234 )
2022-09-01 09:46:38 +08:00
2715ff9e0f
[Enhancement](select) Make select variables request handled in fe without be to avoid potential blocked problem when login ( #12111 )
2022-08-29 23:07:30 +08:00
2b3a5b5fdd
[fix](array-type) add ARRAY_BOOLEAN support for lots of array functions #12079
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-08-26 18:00:29 +08:00
0f4a1e811b
[Enhancement](table_function) table function node enhancement ( #12038 )
...
* table function node enhancement
* also avoid copy for non-vec table function node
* fix table function node output slots calculation while lateral view involves subquery
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-08-26 10:37:15 +08:00
b505d6cf66
[improvement](doc test) add docs for window_funnel and refine tests ( #12059 )
...
add docs for window_funnel and refine tests
2022-08-25 11:26:40 +08:00
0a450d96a5
[Fix] fix cast(array<not_null> as array<>) causes be core dump ( #11649 )
2022-08-24 22:51:30 +08:00
1f9eec5462
[Regression](datev2) Add test cases for datev2/datetimev2 ( #11831 )
2022-08-19 10:57:55 +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