Commit Graph

18429 Commits

Author SHA1 Message Date
15a68924f5 Add note for workload group when upgrade Doris (#30457) 2024-01-29 19:02:45 +08:00
bfdc41d37b [fix](ccr) handle large binlog (#30435) 2024-01-28 18:25:31 +08:00
92dc395f9a [fix](nereids)should always call visitBoundFunction first when binding ElementAt function (#30469) 2024-01-28 18:25:31 +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
0433b8730d [Feature](profile)add shuffle send rows/bytes #30456 2024-01-28 18:25:08 +08:00
b1a9370004 [fix](glue)support access glue iceberg with credential list (#30473)
merge from #30292
2024-01-28 18:23:07 +08:00
f988686708 2.1.0-rc07 2024-01-27 10:55:03 +08:00
96c4fcfb20 [improve](node) refactor partition sort node to reduce memory use
pipelineX
2024-01-27 10:54:29 +08:00
e9218861ec fix code format 2024-01-27 10:40:27 +08:00
4f915129a9 [pipelineX](localexchange) Add local exchange before TabletFunction (#30446)
* [pipelineX](localexchange) Add local exchange before TabletFunction

* update
2024-01-27 10:29:41 +08:00
5d7543b30b [feature](ranger) Support Apache ranger for Doris (#27864)
For usage, see:
5d340ce24f/docs/zh-CN/docs/admin-manual/privilege-ldap/ranger.md

For range-doris-plugin, see:
https://github.com/morningman/ranger/tree/doris-plugin

To support ranger, there are several other modification:

1. Support `show resources like "pattern"`
2. Support `show workload group like "pattern"`
3. Support `show schemas like "pattern"`
2024-01-27 10:29:38 +08:00
2284575afa [opt](nereids)set flag to indicate if bloom filter size is calculated by ndv (#30278)
set flag to indicate if bloom filter size is calculated by ndv
2024-01-27 10:07:41 +08:00
5986d5415e [opt](Nereids) make runtime filter target support expression (#30131)
the target expression should be:
1. only one numeric slot, or
2. cast for any data type

example:
select * from T1 join T2 on abs(T1.a) = T2.a
RF T2.a->abs(T1.a)
2024-01-27 10:07:10 +08:00
823c469c5c [fix](rowsetreader) determine merge iterator considering segment num (#29269) 2024-01-27 09:13:21 +08:00
e576412a56 fix iceberg table get split fail when with date type conjuct (#30162) 2024-01-27 09:13:21 +08:00
bedad15f03 [enhancement](scanner) add a lower bound for bytes in scanner queue (#29624) 2024-01-27 09:13:21 +08:00
f571ffe57f (fix)[group commit] Row count is incorrect when enable pipeline load (#30447) 2024-01-27 09:13:21 +08:00
d191809372 [fix](pipeline) Fix non-prepared execute of UnionOperator (#30355) 2024-01-27 09:11:44 +08:00
d51cbf00f4 [minor fix](use_fix_replica) handle set use_fix_replica < 0 (#30358) 2024-01-27 09:11:44 +08:00
46cadc9856 [minor](Prefetch) log slow prefetch io operation #30415 2024-01-27 09:11:02 +08:00
5d2b011a8d [fix](ES catalog) throw exception when ES meta track failed (#30409) 2024-01-27 09:11:02 +08:00
04237f60e0 [feature](Nereids): eager aggreagate support mix agg function (#30400) 2024-01-27 09:11:02 +08:00
cea9cf07a4 [docs](fix) Fix 2.0.4 Release note for master #30434 2024-01-27 09:11:02 +08:00
1fdb323154 [pipeline](load) p0 load failed in pipeline stream load (#30438) 2024-01-27 09:11:02 +08:00
f1a135619c [fix](fe) Fix BackendHbResponse serialization compatibility problem (#30433)
* Similar to https://github.com/apache/doris/pull/30337

* Between branch-1.2-lts and branch-2.1, `FrontendHbResponse` has upgrade
  compatiblity problem, because `arrowFlightSqlPort` field, only metaVerserion
  less than FeMetaVersion.VERSION_121 will call `BackendHbResponse.readField`

* Introduced by https://github.com/apache/doris/pull/24314
2024-01-27 09:10:50 +08:00
22322a3864 [refactor](join) remove unused RowRefListType from join (#30442) 2024-01-27 09:10:41 +08:00
904182685b [debug](move-memtable) enable brpc debug log in regression pipelines (#30389) 2024-01-27 09:10:41 +08:00
fe082e374f [doc](fix) K8s doc modify configmap code (#30420) 2024-01-27 09:10:41 +08:00
713798d549 [feature](nereids)support mark join (#30133)
Co-authored-by: Jerry Hu <mrhhsg@gmail.com>
2024-01-27 09:09:53 +08:00
f25af15842 [Fix](Nereids) Fix lost predicate when query has a filter at the right input of the outer join (#30374)
materialized view def is as following:
>        select l_shipdate, o_orderdate, l_partkey, l_suppkey, o_orderkey  
>        from lineitem 
>        left join (select * from orders where o_orderdate = '2023-12-10' ) t2 
>        on lineitem.l_orderkey = t2.o_orderkey;
    
the query as following, should add filter `o_orderdate = '2023-12-10'` on mv when query rewrite by materialized view
>        select l_shipdate, o_orderdate, l_partkey, l_suppkey, o_orderkey 
>         from lineitem 
>         left join orders 
>        on lineitem.l_orderkey = orders.o_orderkey 
>         where o_orderdate = '2023-12-10' order by 1, 2, 3, 4, 5;
2024-01-27 09:09:02 +08:00
2befa75b9c [Rf](exec) Support build exactly not cal by ndv (#30398) 2024-01-27 09:09:02 +08:00
5e4674ab66 [fix](partial update) mishandling of exceptions in the publish phase may result in data loss (#30366) 2024-01-27 09:09:02 +08:00
4bd97b5094 [docs](update) Update 2.0.4 release (#30416) 2024-01-27 09:09:02 +08:00
8543167195 [Nereids](Variant) Implement variant type and support new sub column access method (#30348)
* [Nereids](Variant) Implement variant type in Variant and support new sub column access method

The query SELECT v["a"]["b"] from simple_var WHERE cast(v["a"]["b"] as int) = 1

1. During the binding stage, the expression element_at(var, "xxx") is transformed into a SlotReference with a specified path. This conversion is tracked in the StatementContext, where the parent slot is the primary key and the paths are secondary keys. This structure, known as subColumnSlotRefMap in the StatementContext, helps to eliminate duplicates of the same slot derived from identical paths.

2. A new rule, BindSlotWithPaths, is introduced in the analysis stage. This rule is responsible for converting slots with paths into their respective slot suppliers. To ensure that slots with paths are correctly associated with the appropriate LogicalOlapScan, an additional mapping, slotToRelation, is added to the StatementContext. This mapping links the top-level slot to its corresponding relation (i.e., LogicalOlapScan). Consequently, subsequent slots with paths can determine the correct LogicalOlapScan to merge with and modify accordingly.
2024-01-27 09:09:02 +08:00
Pxl
1c449d3204 [Improvement](priv) move check priv out of analyze (#30403)
move check priv out of analyze
2024-01-27 09:09:02 +08:00
18b5b72cd9 [improve](stack_trace) avoid print stack trace in group commit (#30399) 2024-01-27 09:08:29 +08:00
9aa3cdfa1b Change auto analyze max table width default value to 100. (#30395) 2024-01-27 09:08:29 +08:00
9aaa6ba351 [Fix](Variant) fix variant lost null info after cast_column (#30153)
This could result incorrect output in hirachinal cases

```
 sql """insert into ${table_name} values (-3, '{"a" : 1, "b" : 1.5, "c" : [1, 2, 3]}')"""
    sql """insert into  ${table_name} select -2, '{"a": 11245, "b" : [123, {"xx" : 1}], "c" : {"c" : 456, "d" : "null", "e" : 7.111}}'  as json_str
            union  all select -1, '{"a": 1123}' as json_str union all select *, '{"a" : 1234, "xxxx" : "kaana"}' as json_str from numbers("number" = "4096") limit 4096 ;"""

mysql> select v["c"] from var_rs where k = -3 or k = -2;
+----------------------+
| element_at(`v`, 'c') |
+----------------------+
| [1,2,3]              |
| []                   |
+----------------------+
2 rows in set (0.04 sec)
```
2024-01-27 09:08:29 +08:00
4bdc2cde2a [chore](Nereids) enable nereids if update from doris 1.x (#30369) 2024-01-27 09:08:29 +08:00
a954bab81a [fix](function) fix error result in time_to_sec and timediff (#30248) 2024-01-27 09:08:29 +08:00
144204fecc [Refactor](Rf) refactor the code of runtime filter (#30268) 2024-01-27 09:08:29 +08:00
09ae37dcc5 [pipelineX](localexchange) Adjust local exchange plan rule (#30393) 2024-01-27 09:08:29 +08:00
6f8c133a37 [chore] Remove unused test_show_create_catalog.out (#30290) 2024-01-27 09:07:13 +08:00
25c71e386b [minor](Cooldown) Log the old rowset id when uploading rowset to S3 #30339 2024-01-27 09:07:02 +08:00
584d73e3f9 change to rc06 2024-01-27 08:56:22 +08:00
9857a38b63 [fix](fe) Fix BackendHbResponse serialization compatibility problem (#30441)
* Similar to https://github.com/apache/doris/pull/30337

* Between branch-1.2-lts and branch-2.1, `FrontendHbResponse` has upgrade
  compatiblity problem, because `arrowFlightSqlPort` field, only metaVerserion
  less than FeMetaVersion.VERSION_121 will call `BackendHbResponse.readField`

* Introduced by https://github.com/apache/doris/pull/24314
2024-01-26 17:58:14 +08:00
64f7a5f395 [fix](fe)add from_unixtime to null_result_with_one_null_param_functions set (#30388) 2024-01-25 23:56:39 +08:00
2ae02efd46 [BugFix](MutilCatalog) fix local file system unavailable in iceberg hadoop catalog (#26769)
create catalog in local test/dev env like below:
create catalog iceberg PROPERTIES ('type'='iceberg','iceberg.catalog.type' = 'hadoop', 'warehouse' = '/export/workspace/warehouse');

we will get error: "Unrecognized 'warehouse' location format because name service is required."
2024-01-25 23:56:39 +08:00
6734fb10f9 Revert "[temporary](log) Add temporary log for debug insert into lost result (#30140)" (#30382)
This reverts commit f137d4ea4c2bb7037cad23d033df72d5765b74a7.
2024-01-25 21:39:15 +08:00
75ba0aa90a [fix](group_commit) Fix commit txn problem when replaying wal (#30361) 2024-01-25 21:37:33 +08:00