6d5251af78
[fix](subquery)fix bug of using constexpr as subquery's output ( #15119 )
2022-12-16 21:58:58 +08:00
4dbe30d37b
[regression](vectorized) delete vectorized config in regression tests ( #15126 )
2022-12-16 17:08:29 +08:00
6b5e10c8be
[fix](agg)having clause should use alias if there is no group by clause ( #14831 )
2022-12-07 14:13:17 +08:00
3e911a05b1
[fix](fe)fix select from temporary partition bug ( #14809 )
2022-12-06 14:32:35 +08:00
9dd1d989e8
[test](decimalv3) add regression test cases for decimalv3 ( #14672 )
2022-12-01 15:18:40 +08:00
3a362fab76
[fix](fe)table function node use wrong info for projection ( #14667 )
2022-11-30 10:41:32 +08:00
ae4f4b9bf1
[fix](agg)having clause should use column name first then alias ( #14408 )
...
* [fix](agg)having clause should use column name first then alias
* fix fe ut
2022-11-24 10:31:58 +08:00
d36b561520
[fix](in)fix in predicate datatype mismatch after union ( #14497 )
2022-11-23 09:57:03 +08:00
1ec7f45fb6
[Bug](avg) Fix avg for bigint ( #14433 )
2022-11-22 10:29:59 +08:00
68da6bccb7
[fix](type) fix DECIMAL scale when cast function on fe ( #12877 )
...
before:
MySQL [test]> select cast('135.759999999' as DECIMAL(10,3));
+----------------------------------------+
| CAST('135.759999999' AS DECIMAL(10,3)) |
+----------------------------------------+
| 135.759999999 |
+----------------------------------------+
1 row in set (0.00 sec)
now:
MySQL [stage]> select cast('135.759999999' as DECIMAL(10,3));
+----------------------------------------+
| CAST('135.759999999' AS DECIMAL(10,3)) |
+----------------------------------------+
| 135.759 |
+----------------------------------------+
1 row in set (0.01 sec)
2022-11-18 19:36:14 +08:00
a1d02f36ac
[feature](table-valued-function) support hdfs() tvf ( #14213 )
...
This pr does two things:
1. support `hdfs()` table valued function.
2. add regression test
2022-11-18 14:17:02 +08:00
215a4c6e02
[Bug](BHJ) Fix wrong result when use broadcast hash join for naaj ( #14253 )
2022-11-15 09:40:00 +08:00
84b969a25c
[fix](grouping)the grouping expr should check col name from base table first, then alias ( #14077 )
...
* [fix](grouping)the grouping expr should check col name from base table first, then alias
* fix fe ut, the behavior would be same as mysql
2022-11-10 11:10:42 +08:00
bb9182d602
[fix](repeat)remove unmaterialized expr from repeat node ( #13953 )
2022-11-07 14:13:05 +08:00
bfba058ecf
[Feature](join) Support null aware left anti join ( #13871 )
2022-11-03 12:11:25 +08:00
0ea7f85986
[fix](keyword) add BIN as keyword ( #13907 )
2022-11-02 22:30:43 +08:00
374303186c
[Vectorized](function) support topn_array function ( #13869 )
2022-11-02 19:49:23 +08:00
277025b046
[fix](join)ColumnNullable need handle const column with nullable const value ( #13866 )
2022-11-02 08:52:49 +08:00
53e5f3939e
[fix](plan)result exprs should be substituted in the same way as agg exprs ( #13744 )
...
* [fix](cast)ignore implicit cast when comparing two exprs
* fix fe ut
2022-10-31 10:19:32 +08:00
98cc32aa0e
[BugFix](regression-test) add order by in left/right join test case ( #13774 )
...
The result of right join is unordered, so we need add order by to guarantee results consistent.
2022-10-30 18:00:08 +08:00
5805011629
[Feature](string-function) Add function mask/mask_first_n/mask_last_n ( #13694 )
...
Implementation of mask function from hive.
2022-10-28 10:43:56 +08:00
c874931ac8
[fix](join)output all value from no-null side of outer join ( #13655 )
...
* [fix](joinoutput all value from no-null side of outer join
* add regression test
2022-10-27 10:48:36 +08:00
7faad9f004
[FIX](agg)fix group by constant child expr bug ( #13485 )
2022-10-24 16:32:36 +08:00
40e122e5ef
[fix](join)the build and probe expr should be calculated before converting input block to nullable ( #13436 )
...
* [fix](join)the build and probe expr should be calculated before converting input block to nullable
* remove_nullable can be called on const column
2022-10-24 14:50:06 +08:00
ac037e57f5
[fix](sort)the sort expr's nullability property may not be right ( #13328 )
2022-10-18 22:09:02 +08:00
bf2e20c4c4
[fix](agg) reset the content of grouping exprs instead of replace it with original exprs ( #13376 )
...
* [fix](agg)the reseet the content of grouping exprs instead of replace it with original exprs
* keep old behavior if the grouping type is not GROUP_BY
2022-10-15 11:07:35 +08:00
8218cfed40
[Bug](function) Fix constant predicate evaluation ( #13346 )
2022-10-15 01:05:29 +08:00
71f167ac51
[fix](sort) fix nullable column sorting incorrectly ( #13125 )
2022-10-14 12:45:04 +08:00
9b590ac4cb
[improvement](olap) cache value of has_null in ColumnNullable ( #13289 )
2022-10-13 09:12:02 +08:00
e20921fa87
[function](datev2) Complements for datev2 functions ( #13276 )
2022-10-11 15:52:00 +08:00
606b514329
[fix](olap) fix core dump caused by LikeColumnPredicate with nullable column ( #13250 )
2022-10-11 15:38:55 +08:00
ca3e52a0bb
[fix](agg)the output of window function's nullability should be consistent with output slot ( #12607 )
...
FE may force window function to output a nullable value in some case, be should follow this and change the nullability accordingly.
2022-09-20 09:29:44 +08:00
4f27692898
[fix](inlineview)the inlineview's slots' nullability property is not set correctly ( #12681 )
...
The output slots of inline view may come from an outer join nullable side table. So it's should be nullable.
2022-09-20 09:29:15 +08:00
beeb0ef3eb
[Bug](lead) fix wrong child expression of lead function ( #12587 )
2022-09-15 08:44:18 +08:00
6b52e47805
[fix](agg)the intermediate slots should be materialized as output slots ( #12441 )
...
in some case, the output slots of agg info may be materialized by call SlotDescriptor's materializeSrcExpr method, but not the intermediate slots. This pr set intermediate slots materialized info to keep consistent with output slots.
2022-09-13 11:28:27 +08:00
772e5907f2
[enhancement](test) add some p0 cases ( #12240 )
2022-09-07 09:10:42 +08:00
f8eb480bec
[fix](emptynode)fix empty node bug in vec engine ( #12258 )
...
* [fix](emptynode)fix empty node bug in vec engine
* update fe ut
2022-09-01 18:52:10 +08:00
d7e02a9514
[fix](join)join reorder by mistake ( #12113 )
2022-09-01 09:46:01 +08:00
3cdd19821d
[fix](sort)the slot in sort node should be nullable if it's outer joined ( #12193 )
...
The sort node's output expr should be nullable if it is outer joined.
2022-08-31 14:34:14 +08:00
89d6f1231f
[fix](projection)join node should always output at least one column ( #12080 )
2022-08-26 12:15:51 +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
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
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
60b5ed16a8
[improvement](test) move correctness and account suites to p0 while tpcds_sf1 t0 p1 ( #11350 )
2022-08-02 11:23:01 +08:00