c715facafa
[fix](window_function) window function first_value/last_value should be always nullable ( #26014 )
2023-10-27 20:53:48 +08:00
d953e5c8f4
[feature](Nereids): Convert topn(x, 1) to max(x) ( #26004 )
2023-10-27 18:45:21 +08:00
3beba1764c
[Test](multi-catalog) Add tpcds sf100 hive shape. ( #25639 )
...
Add tpcds sf100 hive shapes.
Disable query64 temporarily because it is not same with emr cluster after collecting metadata by analyze table xxx.
And the root cause need to analyze, will enable in future PR.
2023-10-27 18:39:29 +08:00
ae8e6fbe59
[Fix](inverted index) fix empty array index writer bug ( #25984 )
2023-10-27 11:27:44 +08:00
a3ac8b98b8
[fix](planner)nvl should match function signature in the same way as ifnull ( #25849 )
2023-10-27 11:13:30 +08:00
7a69bdd1cd
[regression](fe) Add more regression test for FE ( #25976 )
2023-10-27 10:27:22 +08:00
d0eaf95977
[cases](regression-test) Add alter table properties and alter/rename view test ( #25971 )
2023-10-27 10:27:06 +08:00
f737ba815d
[fix](nereids) push down subquery exprs in non-distinct agg functions ( #25955 )
2023-10-26 20:36:10 -05:00
c86fad7cbd
[Fix](orc-reader) Fix orc decimal128 scale issue. ( #25977 )
2023-10-26 08:50:18 -05:00
36be7dcc13
[enhancement](regression) add normal query before date convert for debug ( #25970 )
...
Signed-off-by: freemandealer <freeman.zhang1992@gmail.com >
2023-10-26 21:37:28 +08:00
c1d64a7128
[Feature](datatype) Add IPv4/v6 data type for doris ( #24965 )
2023-10-26 17:33:28 +08:00
de06a2f8b7
[minor](test) remove useless date case ( #25941 )
...
remove case
```sql
select datediff('10000-10-31', '2010-10-15')
```
because Nereids throw exception when cast '10000-10-31' to date,
but legacy planner return null on it
2023-10-26 03:16:11 -05:00
bc606859c7
[enhancement](regression-test) add test for test_avg ( #25892 )
2023-10-26 14:33:49 +08:00
6e1a4dbda2
[Fix](predicate pushdown) Common expression not acting on any slot should not be pushed down ( #25901 )
2023-10-26 11:20:12 +08:00
d7d284b4f8
[fix](Nereids) fix '' and "" in string literal ( #25752 )
...
'' represents ' in sql standard
"" represents " in sql standard
2023-10-26 11:18:21 +08:00
31d2a9a4f5
[Enhancement](function) support fractions for convert_tz(datetimev2) ( #25915 )
...
mysql> select convert_tz('2019-08-01 01:01:02.123' , '+00:00', '+07:00');
+----------------------------------------------------------------------------------+
| convert_tz(cast('2019-08-01 01:01:02.123' as DATETIMEV2(3)), '+00:00', '+07:00') |
+----------------------------------------------------------------------------------+
| 2019-08-01 08:01:02.123 |
+----------------------------------------------------------------------------------+
1 row in set (0.18 sec)
2023-10-26 10:46:47 +08:00
77bea97d40
[test](sync)add sync after insert in test case ( #25911 )
2023-10-26 09:11:25 +08:00
5c191e5b08
[fix](case) fix out file for test_struct_functions ( #25910 )
2023-10-25 23:29:18 +08:00
7f66be84d5
[fix](Outfile) Infer the column name if the column is expression in select into outfile ( #25854 )
...
This pr do two things:
1. Infer the column name if the column is expression in `select into outfile`. The rule for column name generation can be refered in pr: #24990
2. fix bug that it will core dump if the `_schema` fails to build in the open phase in vorc_transformer.cpp
TODO:
1. Support infer the column name if the column is expression in `select into outfile` in new optimizer(Nereids).
2023-10-25 22:49:04 +08:00
e783ef716f
[fix](multi-table) fix unknown source slot descriptor when load multi table ( #25762 )
2023-10-25 21:52:01 +08:00
8a8ae44eee
[Fix](regression)Fix statistics related regression test ( #25888 )
2023-10-25 05:59:13 -05:00
01d5901356
[fix](Nereids) cte should support nested name reuse ( #25858 )
...
for example:
```sql
with a as (with a as (select * from t) select * from a) select * from a;
with a as (select * from t1), b as (with a as (select * from a) select * from a) select * from b;
```
2023-10-25 18:52:14 +08:00
8a436d8ecc
[FIX](collectiontype) fix shrink char column in map/struct ( #25725 )
...
fix shrink char column in map/struct
before we has char with specific length defined in map or struct field
we select map or struct , the char column in which one has been padding if we just insert less than specific length chars
but in mysql here just show inserted chars not padding specific length chars
---------
Co-authored-by: yiguolei <676222867@qq.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-25 17:16:13 +08:00
8a03a07339
[feature](Nereids): pull up Project under Limit/TopN ( #25866 )
...
If project contains expression-eval, we need pull up through limit, it can improve performance.
2023-10-25 16:44:32 +08:00
693982fd1a
[feature](decimal) support decimal256 ( #25386 )
2023-10-25 15:47:51 +08:00
49b73483fd
[fix](field) fix coredump of field function when the first argument is const ( #25859 )
2023-10-25 14:14:32 +08:00
3b9ae91910
[Fix](Nereids) fix test leading suite and add tpch shape checking base on leading ( #25842 )
...
- fix test leading suite caused by sessionvariable setting error
- add tpch shape checking base on leading
2023-10-25 01:10:14 -05:00
a979d5a1f0
[improve](regression test) Add case for if function ( #25780 )
2023-10-25 14:03:28 +08:00
7ca3f7100f
[testcases](datetime) temporarily remove str_to_date related case ( #25877 )
2023-10-25 12:54:38 +08:00
d94ae20d4a
[improvement](nereids) support insert into doris_internal_table_id(xxx) ( #25722 )
2023-10-25 11:12:00 +08:00
40e430ca55
[regression](multi-catalog) add aliyun dlf hive on oss and huawei obs test case ( #25650 )
...
add aliyun dlf hive on oss and huawei obs test case
now obs cases have some problem, will not fix this at this PR, just add comment.
2023-10-24 20:52:50 +08:00
0147561c88
[Update](clucene) sync clucene version to latest ( #25821 )
2023-10-24 18:22:42 +08:00
ade475a52b
[regression](outfile)add regression for select outfile with underscore prefix #25797
2023-10-24 17:58:38 +08:00
091cb0ce37
[Bug](materialized-view) add limit for group by with float/double on create mv ( #25823 )
...
doris do not support float/double key type on storage engine.
2023-10-24 17:06:45 +08:00
c0f8c0af39
[FIX](collectiontype) fix collection type with char which without length ( #25703 )
...
fix create complex type like array/map/struct with char which without length
2023-10-24 02:16:37 -05:00
0c8bce4292
[fix](partial update) fix some bugs about delete sign ( #25712 )
2023-10-24 14:33:33 +08:00
1c144d440d
[regression](nereids)tpcds 1T plan shape check ( #25599 )
...
ds64 is not stable, it will be fixed in other pr
2023-10-24 14:26:40 +08:00
267c11207b
[feature](paimon)paimon catalog supports complex types ( #25364 )
2023-10-23 17:32:13 +08:00
b8452812df
[bug](function) fix regexp_extract_all can't handle empty str ( #25717 )
2023-10-23 15:47:12 +08:00
57340a4187
[feature](nereids) add function array_agg ( #25630 )
2023-10-23 02:05:54 -05:00
cbc5c91aec
[fix](datetime) fix unstable str_to_date function result ( #25707 )
...
fix unstable str_to_date function result
2023-10-23 11:52:08 +08:00
7de3d9882c
[regresstion-test](jdbc catalog)Mariadb compatible test ( #25664 )
2023-10-23 11:51:03 +08:00
e69b8abb86
[Feature](materialized-view) support delete stmt on materialized-view ( #25710 )
...
support delete stmt on materialized-view
2023-10-23 10:44:55 +08:00
e159bdc479
[fix](nereids) Set to use nereids planner in select aggregation expr without from scene when regression-test ( #25665 )
2023-10-20 17:32:58 +08:00
5d7e804a61
[fix](Nereids) check avg in correctness_p0 ( #25533 )
2023-10-20 14:12:06 +08:00
d0cd535cb9
[improvement](insert) refactor group commit stream load ( #25560 )
2023-10-20 13:27:30 +08:00
dc47087560
[fix](function) fix str_to_date default return type scale for nereids ( #24932 )
...
fix str_to_date default return type scale for nereids
2023-10-20 12:55:49 +08:00
7385602b19
[bug](rf) fix only min/max rf return error when has remote target ( #25588 )
2023-10-19 19:26:29 +08:00
e77b98be88
[fix](months_diff) fix wrong result of months_diff ( #25577 )
2023-10-19 14:29:47 +08:00
b45f501e51
[improvement](nereids) Support aggregate functions without from clause ( #25500 )
...
Support aggregate functions in select without from clause, here are some examples as following:
SELECT 1,
'a',
COUNT(),
SUM(1) + 1,
AVG(2) / COUNT(),
MAX(3),
MIN(4),
RANK() OVER() AS w_rank,
DENSE_RANK() OVER() AS w_dense_rank,
ROW_NUMBER() OVER() AS w_row_number,
SUM(5) OVER() AS w_sum,
AVG(6) OVER() AS w_avg,
COUNT() OVER() AS w_count,
MAX(7) OVER() AS w_max,
MIN(8) OVER() AS w_min;
2023-10-18 23:07:37 -05:00