Commit Graph

18263 Commits

Author SHA1 Message Date
a7c8abe58c [feature](nereids) support common sub expression by multi-layer projections (fe part) (#33087)
* cse fe part
2024-04-10 14:53:56 +08:00
1b3a11a02b [Enhancement](merge-on-write) Support dynamic delete bitmap cache (#32991)
* The default delete bitmap cache is set to 100MB, which can be insufficient and cause performance issues when the amount of user data is large. To mitigate the problem of an inadequate cache, we will take the larger of 5% of the total memory and 100MB as the delete bitmap cache size.
2024-04-10 14:53:56 +08:00
3b42dc73af [improvement](spill) avoid spill if memory is enough (#33075) 2024-04-10 14:53:27 +08:00
517c12478f [improvement](spill) spill trigger improvement (#32641) 2024-04-10 14:52:46 +08:00
b0b5f84e40 [feature](load) support compressed JSON format data for broker load (#30809) 2024-04-10 14:20:53 +08:00
1a2177adb9 [Fix](test) add sync to ensure data synchronization in test_set_operater (#32993) 2024-04-10 12:01:02 +08:00
Pxl
09db427eed [Feature](materialized-view) support ignore not slot is null when count(slot) not has key in mv (#32912)
support ignore not slot is null when count(slot) not has key in mv
2024-04-10 11:59:36 +08:00
1d0908e80d [feature](profile) make WaitForLocalExchangeBuffer timer merge (#32946)
make WaitForLocalExchangeBuffer timer merge
2024-04-10 11:57:57 +08:00
Pxl
e4993a19e5 [Chore](column) remove ColumnVectorHelper (#33036)
remove ColumnVectorHelper
2024-04-10 11:56:41 +08:00
8e19cdd745 [featrue](expr) support common subexpression elimination be part (#32673) 2024-04-10 11:56:21 +08:00
61e214c327 [Fix](Hive-Metastore) fix that if JDBC reads the NULL value, it will cause NPE (#32831) 2024-04-10 11:55:17 +08:00
5116724494 [Fix](hive-writer) Fix the issue of block was not copied to do filtering when hive partition writer write block to file. (#32775) (#33447)
backport #32775
2024-04-10 11:42:23 +08:00
4963d60a07 [Fix](multi-catalog)Fix the issue of not initializing the writer caused by refactoring and add hive writing regression test. (#32721) (#33446)
backport #32721.
2024-04-10 11:42:22 +08:00
caea45586f fix compile 2024-04-10 11:42:22 +08:00
cf7595d423 [opt](memory) Optimize mem tracker accuracy (#32039) (#33140) 2024-04-10 11:42:19 +08:00
39fba884fb [fix](typo) typo fix for 'delete bimap' changing to 'delete bitmap' (#32341) 2024-04-10 11:34:30 +08:00
3243053fcd [fix](memory) Fix MemTableWriter flush_async attach task in thread context (#33071) 2024-04-10 11:34:30 +08:00
285e2fcb5a [fix] (vectorization) regexp all_pass string (#32515) 2024-04-10 11:34:30 +08:00
fb910e5304 [fix](planner) retain groupingSlotIds as materialized for aggregate (#33060) 2024-04-10 11:34:30 +08:00
c5a3af5c27 [partitionsort](fix) Fix DCHECK failure (#33035) 2024-04-10 11:34:30 +08:00
c5ab7ca573 [fix](planner) remove and retain input slot for aggregate slot which is not materialized (#33033)
Signed-off-by: nextdreamblue <zxw520blue1@163.com>
2024-04-10 11:34:30 +08:00
Pxl
5b162a80f2 [Improvement](materialized-view) The materialized view can not involved auto increment column (#32885)
The materialized view can not involved auto increment column
2024-04-10 11:34:30 +08:00
35fa9f98e9 1 Add running query num/waiting query num (#33024)
1 Add running query num/waiting query num
2 Fix auth regression test
2024-04-10 11:34:30 +08:00
d7c1c7dcd4 [fix](mtmv)partition limit #32978 2024-04-10 11:34:30 +08:00
59aa923bce [bug](function) fix milliseconds_diff function return wrong result (#32897)
* [bug](function) fix milliseconds_diff function return wrong result
2024-04-10 11:34:30 +08:00
3b7d75fb4b [fix](inverted index) Clear the index cache corresponding to the table after deleting the table. (#32921) 2024-04-10 11:34:30 +08:00
193600ad9d [Performance](sink) opt mysql result writer (#31816) 2024-04-10 11:34:30 +08:00
fdb9500023 [fix](nereids) null-safe-eq runtime filter denies outer join #32927 2024-04-10 11:34:30 +08:00
1f1932c6b7 [enhancement](nereids)add some date functions for constant fold (#32772) 2024-04-10 11:34:30 +08:00
814e4ed3ec [fix](nereids)partition prune should consider <=> operator (#32965) 2024-04-10 11:34:30 +08:00
2ee6f28cec [fix](nereids)column name should be case insensitive when selecting mv (#33002) 2024-04-10 11:34:30 +08:00
a7be070021 [chore](session_variable) change parallel_scan_min_rows_per_scanner' default value to 16384 (#32939) 2024-04-10 11:34:30 +08:00
7b26feb6de [fix](invert index) Fix the issue of high memory usage. (#31739) 2024-04-10 11:34:30 +08:00
53309e32a9 [Improvement](execution) Use single phase execution commit if only 1 BE is used (#32937) 2024-04-10 11:34:30 +08:00
e214eb1ea7 [chore](ci) fix ci check (#32992)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-04-10 11:34:30 +08:00
3ee14a80ab [chore](ci) adjust ckb expect result (#32856)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-04-10 11:34:30 +08:00
7e802c9127 [fix](variant)group name optimization (#32598)
1. Change the group name stars to repo_name
2024-04-10 11:34:30 +08:00
a6fc2ae176 [fix](test) replace 'null' to null for date/datetime column (#32972) 2024-04-10 11:34:30 +08:00
528a889077 [Fix](hive-writer) Fix correct num when hive writing data to an unpartitioned table if size large than hive_sink_max_file_size. (#32959) 2024-04-10 11:34:29 +08:00
97a2977f2a [improvement](executor)Add tag property for workload group #32874 2024-04-10 11:34:29 +08:00
f1ee7f5767 [fix](merge-iterator) fix NOT_IMPLEMENTED_ERROR when read next block view (#32961) 2024-04-10 11:34:29 +08:00
dcddd88e01 Limit the max string length to 1024 while collecting column stats to control BE memory usage. (#32470) 2024-04-10 11:34:29 +08:00
0499d4013e Support identical column name in different index. (#32792) 2024-04-10 11:34:29 +08:00
121a0901c8 [chore](test) let suite compatible with Nereids (#32964) 2024-04-10 11:34:29 +08:00
407f8642da [Enhancement](data skew) extends show data skew (#32732) 2024-04-10 11:34:29 +08:00
3a6c37c6d5 [exec](column) change some complex column move to noexcept (#32954) 2024-04-10 11:34:29 +08:00
ed0949f6c5 [fix](compile) fe cannot compile in idea (#32955) 2024-04-10 11:34:29 +08:00
e980cd3e7f [feature](Nereids): add ColumnPruningPostProcessor. (#32800) 2024-04-10 11:34:29 +08:00
26e86d53a4 [enhance](mtmv)support olap table partition column is null (#32698) 2024-04-10 11:34:29 +08:00
22a7fc3c55 [improvement](mtmv) Support to get tables in materialized view when collecting table in plan (#32797)
Support to get tables in materialized view when collecting table in plan

table scehma as fllowing:

create materialized view mv1
BUILD IMMEDIATE REFRESH COMPLETE ON MANUAL
DISTRIBUTED BY RANDOM BUCKETS 1 
PROPERTIES ('replication_num' = '1')
 as 
select 
  t1.c1, 
  t3.c2 
from 
  table1 t1 
  inner join table3 t3 on t1.c1 = t3.c2

if get table from the plan as follwoing, we can get [table1, table3, table2], the mv1 is expanded to get base tables;

SELECT 
  mv1.*, 
  uuid() 
FROM 
  mv1 LEFT SEMI 
  JOIN table2 ON mv1.c1 = table2.c1 
WHERE 
  mv1.c1 IN (
    SELECT 
      c1 
    FROM 
      table2
  ) 
  OR mv1.c1 < 10
2024-04-10 11:34:29 +08:00