fb27e3ef31
[fix](planner) let OlapScanNode turn off preaggragation when there is a filter on DELETE_SIGN ( #12118 )
...
We can skip aggregate on replace column, otherwise it would generate
wrong result. e.g. a row in UNIQUE is deleted by delte_sign_column,
then it would be returned.
2022-08-30 15:54:37 +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
c0b56400ed
[feature](nereids)support one expression-rewrite rule: inPredicateToEqualTo ( #12046 )
...
Add one expression rewrite rule:
rewrite InPredicate to an EqualTo Expression, if there exists exactly one element in InPredicate Options.
Examples:
1. where A in (x) ==> where A = x
2. where A not in (x) ==> where not A = x
2022-08-29 15:54:06 +08:00
3ca6f34c87
[fix](view) Fix view not showing specific lengths for varchar type ( #12107 )
2022-08-29 12:09:48 +08:00
7829c21b20
[Bug](lateral-view) fix some conjunct not work on lateral view #12105
2022-08-29 12:08:20 +08:00
44c4a45f72
[fix](array-type) fix the wrong data when use stream load to import '\N' ( #12102 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-08-29 09:53:37 +08:00
2f88dfd7c5
[regression-test](unique) Add tpch sf0.1 test under unique table with zstd ( #12122 )
2022-08-27 21:39:09 +08:00
f3f17eb222
[Bugfix](load) fix be will coredump when parsing malformed json file using simdjson ( #12062 )
...
* [Bugfix](load) fix be will coredump when parsing malformed json file using simdjson
2022-08-26 18:01:19 +08:00
fba2658a1d
[fix](array-type) fix the be core dump when use collect_list result to insert ( #12045 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-08-26 18:00:43 +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
3af0745c8f
[Bug](function) fix aggFnParams set not correct ( #12006 )
2022-08-26 14:29:56 +08:00
7b83308ffc
[fix](planner) fix rewrite subquery error ( #12075 )
2022-08-26 14:29:14 +08:00
89d6f1231f
[fix](projection)join node should always output at least one column ( #12080 )
2022-08-26 12:15:51 +08:00
ccff3f5711
[bugfix](light weight schema change) support delete condition in schema change ( #11869 )
...
* [bugfix](light weight schema change) support delete condition in schema change
Co-authored-by: yiguolei <yiguolei@gmail.com >
2022-08-26 11:45:55 +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
2e216b9359
[fix](ut) fix ctas regression test case ( #12076 )
2022-08-26 08:12:11 +08:00
aec24d4da1
[feature](http) get create table stmt for a given query ( #11979 )
...
This API can help user to get all create table statement of a given SQL.
So that it will be easier to run the case in other Doris cluster.
See document for details
2022-08-25 15:02:05 +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
6e6de1853c
[Bug](ctas): Ctas use default DEFAULT CURRENT_TIMESTAMP insert error ( #12056 )
2022-08-25 09:00:00 +08:00
0a450d96a5
[Fix] fix cast(array<not_null> as array<>) causes be core dump ( #11649 )
2022-08-24 22:51:30 +08:00
ec6400f0dc
[feature-wip](unique-key-merge-on-write) add regression case ( #11731 )
...
Co-authored-by: yixiutt <yixiu@selectdb.com >
2022-08-24 21:27:58 +08:00
5219d2aab0
[fix](union)the result exprs of union node should substitute by child node's smap ( #11933 )
...
union node's result exprs should be substitued by child node's smap first, then the following "computePassthrough" method would have correct information to do its job.
2022-08-24 19:43:40 +08:00
d87ab69ead
[bug](vectorized) fix bug of tuple is null null side do not set ( #12012 )
2022-08-24 16:19:43 +08:00
8b4f693ad5
[fix](grouping)fix grouping function bug ( #11861 )
2022-08-24 15:05:25 +08:00
81b6c8d9f9
[fix](sort)the sort expr nullable info is wrong in some case ( #12003 )
2022-08-24 14:26:09 +08:00
52be50972f
[regression-test](p0) add case for window function at min/max when vectorized ( #11989 )
...
Co-authored-by: xiaojunjie <xiaojunjie@baidu.com >
2022-08-24 14:20:18 +08:00
f737ff742e
[enhancement](Nereids)support max function ( #11795 )
...
- add aggregate function max to Nereids
- add function P0 regression test for Nereids
2022-08-24 10:54:51 +08:00
568f596330
[fix](agg)grouping_id function in having is not correctly substituted ( #11834 )
2022-08-24 08:50:28 +08:00
477899af8e
[fix](having) Fix the with as clause containing having caused a null pointer ( #12007 )
2022-08-24 08:48:49 +08:00
c72a84f7c5
[fix](join)the hash join node would get the wrong nullable if the child node is cross join node ( #11971 )
...
* [fix](join)the hash join node would get the wrong nullable if the child node is cross join node
2022-08-24 08:47:52 +08:00
55fdb555be
[bugfix](dict) fix coredump of dict colum range predicate when there is null value ( #11967 )
2022-08-23 16:07:48 +08:00
caec862d91
[feature](Nereids)add type coercion rule for nereids ( #11802 )
...
- add an interface ExpectsInputTypes to Expression
- add an interface ImplicitCastInputTypes to Expression
- add a Expression rewrite rule for type coercion
- add a Check Analysis Rule to check whether Plan is Semantically correct
if Expression implements ImplicitCastInputTypes, type coercion rule will automatic rewrite its children that casting it to the most suitable type.
If Expression implements ExpectsInputTypes, Check Analysis will check its children's type whether accepted by expects input types.
2022-08-22 23:06:02 +08:00
68e2b3db44
[regression](rollup) Modify test case ( #11960 )
2022-08-22 19:18:35 +08:00
192cdd4d76
[Bug](cast) change binary predicate finally cast to varchar ( #11796 )
2022-08-21 10:13:47 +08:00
25b427d0c6
[Bugfix](inpredicate) fix in predicate in group by clause may cause NPE ( #11886 )
...
* [bug](inpredicate) fix in predicate in group by clause may cause NPE
2022-08-21 10:03:30 +08:00
d83c11a032
[regression](datev2) add schema change cases for datev2/datetimev2 ( #11924 )
2022-08-19 21:29:24 +08:00
ffe7af49c8
[fix](array-type) run 'show create table' return null ( #11912 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-08-19 21:28:15 +08:00
f66e42f848
[optimization](array-type) support the decimal/datetime as the nest type of array in print_value ( #11784 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-08-19 17:59:09 +08:00
1f9eec5462
[Regression](datev2) Add test cases for datev2/datetimev2 ( #11831 )
2022-08-19 10:57:55 +08:00
f1ede2aa9d
[fix](function) Fix semantic analysis error in window function at first_value ( #11855 )
2022-08-19 09:13:29 +08:00
b9dcb60172
[Planner](fix)Fix unexpected index out of bound exception ( #11819 )
2022-08-18 15:52:54 +08:00
cac317430f
[Bug](aggregation) fix core dump on 2nd phase aggregate ( #11843 )
2022-08-18 14:42:34 +08:00
0637c339b1
[fix](array-type) support to insert the largeint in array ( #11868 )
...
Co-authored-by: hucheng01 <hucheng01@baidu.com >
2022-08-18 14:41:07 +08:00
cfb90b39c7
(vec-stream-load-json) simdjson throw execption lead to core dump ( #11880 )
...
when config::enable_simdjson_parser=true in vec streamload, may lead to core dump when json input invalid format string like '{ "a', or all the fields is null like '{}', this may lead to simdjson lib throw some unhandled expection like `Objects and arrays can only be iterated when they are first encountered`.We should take care of these cases
Signed-off-by: eldenmoon <15605149486@163.com >
2022-08-18 10:27:34 +08:00
6c66bdbf30
[fix](orderby)remove useless null literal in order by ( #11821 )
2022-08-18 10:10:25 +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
3a49156e30
[performance] (vectorization)optimize In Expr ( #11826 )
...
Co-authored-by: Wang Bo <wangbo36@meituan.com >
2022-08-17 10:46:37 +08:00
a07e153419
[Feature](nereids)support view and nested view ( #11589 )
...
support view in query
and add a rewrite rule: merge consecutive projects.
the rule can merge relative consecutive projects to one project to improve efficiency
2022-08-16 19:24:01 +08:00
fadc78c6cf
[fix](str_to_date) str_to_date support format without leading zero ( #11817 )
...
Co-authored-by: cambyzju <zhuxiaoli01@baidu.com >
2022-08-16 18:23:16 +08:00
340ee6af6a
(fix)[regression-test] add qt_having1 ( #11800 )
2022-08-16 14:29:37 +08:00