Commit Graph

220 Commits

Author SHA1 Message Date
02a3f21b65 [fix](analyzer) InferFilterRule bug: equations in on clause of outer/anti join are not inferable. (#11515) 2022-08-11 09:36:43 +08:00
a153af9698 [chore](regression-test) Add drop table in aggregate_count1 (#11632) 2022-08-10 19:25:43 +08:00
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
7c950c7cd5 [feature](Nereids) support cross join in Nereids (#11502)
support cross join in Nereids

1. add PhysicalNestedLoopJoin
2. Translate PhysicalNestedLoopJoin to CrossJoinNode in PhysicalPlanTranslator
2022-08-08 22:14:27 +08:00
1701ffa7c0 [fix](planner)push constant expr in predicate to outer join's other conjuncts by mistake (#11527)
constant expr in predicate should not be pushed to outer join's other conjuncts
2022-08-08 20:56:08 +08:00
Fy
647b6e843a [feature](nereids)add InPredicate in expressions (#11264)
1. Add InPredicate expression parser and translator
2. Add regression-test for In predicate (in nereids_syntax)
3. Support NOT EqualTo and NOT InPredicate in ExpressionTranslator#visitNot()
2022-08-08 19:59:54 +08:00
9349746987 [Fix](stream-load-json) fix VJsonReader::_write_data_to_column invalid column type cast when meet null (#11564)
column_ptr will be a none nullable column pointer after `column_ptr = &nullable_column->get_nested_column()`
so we should not cast column_ptr to ColumnNullable any more
2022-08-08 15:57:39 +08:00
Pxl
2cd3bf80dc [bugfix](schema change)fix core dump on vectorized_alter_table (#11538) 2022-08-08 10:45:28 +08:00
ee4d9d4347 [improvement](test) group some cases and group a case to p0 if it is not grouped (#11548) 2022-08-06 15:12:08 +08:00
683a1261c6 [Enhancement](vectorized) Runtime Filter support equivalent slot of outer join (#11530) 2022-08-06 08:10:28 +08:00
574332bd6c [fix](nereids) revert tpch regession test (#11551)
Nereids tpch regression test is faulty, rollback first,and then add a more stable test later
2022-08-05 15:55:59 +08:00
b5531c5caf [BugFix](BE) fix condition index doesn't match (#11474)
* [BugFix](Be) fix condition index doesn't match
2022-08-05 07:57:18 +08:00
75fc830573 [Bug](date function) fix wrong year for format '%x' (#11520) 2022-08-05 06:22:22 +08:00
6dc41d57f3 [enhancement](Nereids)support count, min and avg function (#11374)
1. add count function
2. add min function
3. add avg function
2022-08-04 21:19:32 +08:00
9078ab4d24 [feature](FE): add new property to control whether use light schema change or not (#11169) 2022-08-04 15:49:05 +08:00
Pxl
ec3c911f97 [Feature][Materialized-View] support materialized view on vectorized engine (#10792) 2022-08-04 14:07:48 +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
Pxl
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
33053ad1fe [improvement](outfile) support multibyte separator in outfile clause (#11487) 2022-08-04 09:06:06 +08:00
4ba2422039 [improvement](fe) Remove constant keys in aggregation (#11434) 2022-08-03 19:43:35 +08:00
a47eff1e46 [enhancement](Nereids) support all join type in Nereids that could do join by HashJoinNode (#11446)
add and test join type:
1. inner join
2. left outer join
3. right outer join
4. left semi join
5. right semi join
6. left anti join
7. right anti join
2022-08-03 12:14:17 +08:00
30e7f76def [regression](unique-key-merge)add tpch_sf1_p1 test (#11442) 2022-08-03 11:22:50 +08:00
4864a83f04 [regression](unique-key-merge-test) add ssb_sf1_p1 test (#11447) 2022-08-03 11:22:24 +08:00
b892dfdbbd [Improvement](regresstion test) Fix regression test case failure for ASAN build (#11400)
* [improvement](regresstion test) Improve performance of ASAN build by using -O3 and fix mem limit exceed error for nereids test cases

* exclude tpcds_sf1 q72 for ASAN build because this query takes too long time
2022-08-03 11:19:50 +08:00
de4466624d [refactor](schema change)Remove delete from sc (#11441)
* not need call delete handler to filter rows since they are filtered in rowset reader

* need not call delete eval in schema change and remove related code

Co-authored-by: yiguolei <yiguolei@gmail.com>
2022-08-03 03:29:41 +08:00
945256f6a6 [regression](Nereids) add nereids syntax regression suite (#11423)
add a new regression suite for test nereids syntax. It load data only and has no test case now.
2022-08-02 16:45:53 +08:00
e41bfd8149 [Bug] Update Stmt Fail use in predicate query (#11414)
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
2022-08-02 15:14:36 +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
60b5ed16a8 [improvement](test) move correctness and account suites to p0 while tpcds_sf1 t0 p1 (#11350) 2022-08-02 11:23:01 +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
eb778da64a Add ssb sf0.1 test under unique table with zstd (#11348)
Co-authored-by: smallhibiscus <844981280>
2022-08-01 17:04:55 +08:00
8287115ec3 [test]Delete some unnecessary information (#11382) 2022-08-01 14:31:39 +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
547c18d28b [feature](load) support CLEAN LABEL stmt (#11362) 2022-08-01 10:43:33 +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
Pxl
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
8d31745415 [Regression](planner) Add tpch plan check (#11181)
Add plan check for tpch so that we can sense any changes to the final plan opportunely.
2022-07-29 10:45:36 +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
083125812c [testcase] Fix regression test case failure (#11286) 2022-07-28 14:12:56 +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
d9fab77100 [fix](planner)LateralViewRef#toSql throw NPE if it is not analyzed (#11221) 2022-07-27 14:44:27 +08:00
Pxl
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