7248420cfd
[chore](session_variable) Add 'data_queue_max_blocks' to prevent the DataQueue from occupying too much memory. ( #34017 ) ( #34395 )
2024-05-05 21:20:33 +08:00
20bd0c2987
[FIX](cases )fix ipv6 value for regress case
2024-04-29 13:37:29 +08:00
1fda68f738
[feature](planner) Support select constant from dual syntax sugar ( #34200 ) ( #34232 )
...
In MySQL, it's common to use a simplified syntax like `SELECT constant FROM dual`
which is equivalent to just `SELECT constant`.
This syntax is often used by BI tools when utilizing MySQL connectors to verify connection validity.
To enhance compatibility and ensure seamless integration with such tools,
we have now implemented this feature in Doris.
### Key Changes:
- Doris now interprets `SELECT constant FROM dual` as `SELECT constant`, aligning with MySQL's behavior.
- This update ensures that BI tools can use standard MySQL connectors without modifications or errors when connecting to Doris.
2024-04-28 15:56:16 +08:00
9083bf7e14
revert "[Improvementation](join) empty_block shall be set true when build blo… ( #33977 )"
...
This reverts commit e3ed861e4b6a602ea874b6501998578952291f38.
2024-04-25 23:33:11 +08:00
e3ed861e4b
[Improvementation](join) empty_block shall be set true when build blo… ( #33977 )
...
empty_block shall be set true when build block only one row
2024-04-25 15:07:56 +08:00
8d98c71079
[FIX]fix cidr func with const param ( #33968 )
2024-04-24 17:13:50 +08:00
2f60dcf890
[test](hll) fix unstable case without order by clause ( #33947 )
2024-04-24 17:13:50 +08:00
175e85d616
[Bug](runtime-filter) fix coredump on no null string type rf ( #33869 )
...
fix coredump on no null string type rf
2024-04-19 15:03:06 +08:00
22a6b1d3f5
[feature](function) support hll functions hll_from_base64, hll_to_base64 ( #32089 )
...
Issue Number: #31320
Support two hll functions:
- hll_from_base64
Convert a base64 string(result of function hll_to_base64) into a hll.
- hll_to_base64
Convert an input hll to a base64 string.
2024-04-17 23:42:13 +08:00
3096150d1b
[feature](agg) support aggregate function group_array_intersect ( #33265 )
2024-04-17 23:42:13 +08:00
b07e0a2f06
[FIX](cast)fix full/right out join for cast array ( #33475 )
...
in some case, we has code
```
if (_join_op == TJoinOp::RIGHT_OUTER_JOIN || _join_op == TJoinOp::FULL_OUTER_JOIN) {
_probe_column_convert_to_null = _convert_block_to_null(*input_block);
}
```
then do next function like cast , but in function cast we assume block column is same with from_type.which will make status error
2024-04-17 23:42:13 +08:00
bf022f9d8d
[enhancement](function truncate) truncate can use column as scale argument ( #32746 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 14:53:56 +08:00
1f1932c6b7
[enhancement](nereids)add some date functions for constant fold ( #32772 )
2024-04-10 11:34:30 +08:00
2a0644f442
[Fix](function) Fix unix_timestamp core for string input ( #32871 )
2024-04-09 12:48:35 +08:00
ebbfb06162
[Bug](array) fix array column core dump in get_shrinked_column as not check type ( #33295 )
...
* [Bug](array) fix array column core dump in get_shrinked_column as not check type
* add function could_shrinked_column
2024-04-08 07:27:40 +08:00
23c12fd68f
[fix](join) core caused by null-safe-equal join ( #32623 )
2024-03-22 08:53:47 +08:00
7a0b591b8f
[FIX](array_agg) fix array agg with other agg function ( #32387 )
...
fix array agg with other agg function
2024-03-21 14:07:23 +08:00
590e1d52ec
[pipelineX](streaming agg) Fix wrong columns produced by streaming agg ( #32411 )
...
* [pipelineX](streaming agg) Fix wrong columns produced by streaming agg
* update
2024-03-21 14:07:23 +08:00
ccd21a6ea4
[Improve](InPredict) enhance in predict with array type ( #31828 )
2024-03-12 14:19:14 +08:00
93d298d34a
[fix](agg) wrong result of two or more map_agg functions in query ( #31928 )
2024-03-09 19:45:03 +08:00
e91d16854b
[fix](function) fix date_format function execution error on fe ( #31645 )
2024-03-07 16:53:19 +08:00
2d6e975d5a
[fix](cast) fix wrong result while cast string to float ( #31781 )
...
Issue Number: close #31518
2024-03-06 13:07:59 +08:00
7998da4691
[fix](cast) wrong result while cast const to double then to string ( #31657 )
...
Issue Number: close #31514
2024-03-06 13:06:27 +08:00
cca0773261
[feature](function) round function defaults to rounding normally
2024-03-06 13:06:26 +08:00
231768db0d
[Performance](exec) Support runtime filter in <=> join ( #31754 )
2024-03-06 13:06:26 +08:00
ff3c7765d6
[Bug](Func) Fix negative number in bitmap return error result ( #31563 )
2024-02-29 12:38:03 +08:00
481d94c3fc
[feature](nereids) deal the slots that appear both in agg func and grouping sets ( #31318 )
...
this PR support slot appearing both in agg func and grouping sets.
sql like below:
select sum(a) from t group by grouping sets ((a));
Before this PR, Nereids throw exception like below:
col_int_undef_signed cannot both in select list and aggregate functions when using GROUPING SETS/CUBE/ROLLUP, please use union instead.
This PR removes the restriction and supports this situation.
2024-02-27 10:12:33 +08:00
f163d56a98
[feature](function) support sequence function(alias of array_range), enhance both to handle datetimev2 ( #30823 )
2024-02-27 10:12:19 +08:00
8f77e6363a
[Feature](function) Support xxhash function like murmur hash function ( #31193 )
2024-02-23 19:03:28 +08:00
1456785aa1
[fix](join) incorrect result of mark join in nested loop join ( #31280 )
2024-02-23 19:03:28 +08:00
8d889e434b
[fix](topn) Fix key topn block reverse is missed in some cases ( #31199 )
...
* move reverse block row order operation after _next_batch_internal
* add testcase
2024-02-21 19:18:45 +08:00
6cf7468073
[enhancement](function) change some function nullable mode ( #30991 )
...
change some function nullable mode
2024-02-18 14:45:25 +08:00
e68019c10a
[Function](Exec) Support windows function cume_dist ( #30997 )
2024-02-16 10:16:40 +08:00
40e1326bc9
[feature](window-func) support percent_rank window function ( #30926 )
2024-02-16 10:12:25 +08:00
d60ecdba6f
[fix](regex) fix wrong escape of function LIKE ( #30557 )
...
fix wrong escape of function LIKE
2024-02-16 10:12:25 +08:00
8ff8d94697
[fix](ip) change IPv6 to little-endian byte order storage (like IPv4) ( #30730 )
2024-02-05 21:56:57 +08:00
d749fc3d27
[improvement](binlog) Change BinlogConfig default TTL_SECONDS to 86400 (1day) ( #30771 )
...
* Change BinlogConfig default TTL_SECONDS to 86400 (1day)
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com >
* Fix binlog.ttl_seconds in regression test
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com >
---------
Signed-off-by: Jack Drogon <jack.xsuperman@gmail.com >
2024-02-04 14:28:38 +08:00
d99bb51d36
[fix](legacy-planner) fixed loss of BetweenPredicate rewrite on reanalyze in legacy planner (29798) ( #30328 )
2024-02-03 20:26:04 +08:00
fd2d9ae63e
[improve](test) fix regression test case report error when run times ( #30531 )
2024-02-01 19:01:08 +08:00
7e19224a6c
[fix](function) fix ipv4 funcs get failed error, improve an ipv6 func and exception message ( #30269 )
2024-01-28 18:25:31 +08:00
6f8c133a37
[chore] Remove unused test_show_create_catalog.out ( #30290 )
2024-01-27 09:07:13 +08:00
ca5a314765
[fix](function) make STRLEFT and STRRIGHT and SUBSTR function DEPEND_ON_ARGUMENT ( #28352 )
...
make STRLEFT and STRRIGHT function DEPEND_ON_ARGUMENT
2024-01-25 13:23:59 +08:00
c7360fd014
[feature](function) support ip function named ipv4_cidr_to_range(addr, cidr) ( #29819 )
...
* support ip function ipv4_cidr_to_range
* fix ipv4_cidr_to_range function only support ipv4 type
2024-01-24 10:02:03 +08:00
d5d0e5e611
[feature](function) support ip functions named to_ipv4[or_default, or_null](string) and to_ipv6[or_default, or_null](string) ( #29838 )
2024-01-23 10:09:54 +08:00
dfde10d4c8
[improvement](function) switch inet(6)_aton alias origin function ( #30196 )
2024-01-23 10:09:54 +08:00
ead3b4ac1d
[feature](function) support ip function is_ipv4_compat, is_ipv4_mapped ( #29954 )
2024-01-23 10:07:51 +08:00
97b2a3b993
[improvement](ip function) refactor some ip functions and remove dirty codes ( #30080 )
2024-01-19 15:48:56 +08:00
e894911cda
[function](char) change char function behaviour same with mysql ( #30034 )
...
select char(0) = '\0';
should return true;
2024-01-18 10:04:21 +08:00
66513d57f9
[feature](function) support ip function named ipv6_cidr_to_range(addr, cidr) ( #29812 )
2024-01-16 18:42:09 +08:00
e417128fb9
[bug](bitmap) should return error status when execute failed ( #29841 )
2024-01-16 18:30:23 +08:00