Commit Graph

14500 Commits

Author SHA1 Message Date
aafd53766b [chore](file-reader) rm unused interface from generic reader (#26205) 2023-11-01 18:43:14 +08:00
f0f9c3a160 [improvement](drop tablet) impr gc shutdown tablet lock (#26151) 2023-11-01 18:42:21 +08:00
be7a10162a [enhance](S3) Add timeout for s3 buffer allocation and corresponding observability (#26125) 2023-11-01 17:55:11 +08:00
49439175a0 [fix](move-memtable) init delta writer pool in sink prepare (#26108) 2023-11-01 17:52:10 +08:00
ec85e22506 [enhance](scanner) pass the tablet in NewOlapScanner's ctor (#26167) 2023-11-01 17:50:14 +08:00
67e556af59 [regression](fe) Add more regression test for FE (#26206)
* add add/drop node test
* add metrics test
* add meta_action test
2023-11-01 17:48:58 +08:00
eb9ba59996 [improvement](show trash) Fix be restart slow when too many trash files (#26147) 2023-11-01 17:43:24 +08:00
1c2831e06f [fix](spill) disable spill of sort and agg for now to avoid diisk overflow (#26209) 2023-11-01 17:20:26 +08:00
bfca1bf206 [Enhancement] Implement format methods for Status (#26133) 2023-11-01 16:55:25 +08:00
387e33fa34 [enhancement](group commit)Add group commit block queues memory back pressure (#26045) 2023-11-01 16:29:45 +08:00
683832230c [Performance](Nereids): pass ConnectContext to avoid ThreadLocal.get() (#26165) 2023-11-01 16:16:42 +08:00
1770224322 [fix](planner) Fix decimal precision and scale wrong when create table like (#25802)
Use field datatype such as decimal(10, 0) to create table like. Because the scale is 0, the precision and scale will lost when create table like done. this will fix the bug.

**Before fix, create table with following SQL**:
CREATE TABLE IF NOT EXISTS db_test.table_test
(
    `name` varchar COMMENT "1m size",
    `id` SMALLINT COMMENT "[-32768, 32767]",
    `timestamp0` decimal null comment "c0",
    `timestamp1` decimal(38, 0) null comment "c1"
)
DISTRIBUTED BY HASH(`id`) BUCKETS 1
PROPERTIES ('replication_num' = '1');

**and Then run**
CREATE TABLE db_test.table_test_like LIKE db_test.table_test
SHOW CREATE TABLE db_test.table_test_like;

the field `timestamp1` will be decimal(9, 0), it's wrong. this will fix it.
2023-11-01 03:11:43 -05:00
4644191fd0 [fix](broker-read) refactor broker reading process to avoid null broker connection (#26050) 2023-11-01 15:58:30 +08:00
f2874b9452 [bug](shared scan) Fix use-after-free when enable pipeline shared scanning (#26199)
When enable shared scan, all scanners will be created by one instance. When the main instance reach eos and quit, all states of it will be released. But other instances are still possible to get block from those scanners. So we must assure scanners will not be dependent on any states of the main instance after it quit.
2023-11-01 15:51:20 +08:00
5efc6c4233 [fix](auth)Fix can not insert overwrite who have load priv (#25711)
Fix can not insert overwrite who have load priv
2023-11-01 15:21:16 +08:00
HB
6de1cc7a0a [fix](udf)java udf does not support overloaded evaluate method (#22681)
Co-authored-by: morningman <morningman@163.com>
2023-11-01 15:05:37 +08:00
268c69971d [fix](stats) Store max/min by base64 2023-11-01 14:31:35 +08:00
7ba4f91258 [fix](log) avoid redundent log printing (#26188)
Co-authored-by: yiguolei <676222867@qq.com>
2023-11-01 13:49:08 +08:00
8f15f9adf6 [test](case) add test case to improve code coverage (#25516)
[test](case) add test case to improve code coverage (#25516)
2023-11-01 12:51:12 +08:00
b94e6d6c05 [doc](fix) update doc for rename column (#25832) 2023-11-01 11:30:03 +08:00
7914b7b19e [fix](seek) add SeekCount and SeekTime profile (#26009) 2023-11-01 11:29:29 +08:00
eaed0dea5e [refactor](executor)Add % suffix for cpu_hard_limit #26174 2023-11-01 10:27:48 +08:00
fef520c617 [regression](catalog)Add test case of paimon complex type (#25834)
Add Paimon complex nested type regression case.
Related pr:#25364
2023-11-01 09:59:55 +08:00
18dabe7386 [fix](compile) fe compile failed when generate doc and FE UT failed (#26164)
1. FE could not compile because below error. Intro by PR #25933
```
[INFO] --- exec:3.1.0:java (doc) @ fe-core ---
...
Failed to generate doc for ignoreRuntimeFilterIds
```

2. fix UT bugs intro by below PRs
> - #25951
> - #26031

3. because fe could not compile, FE UT CI do not work well. So, some UT failed be introduced by the PRs merged after PR #25933 merged. So this PR revert them to fix FE UT

> - Revert "[Bug](materialized-view) SelectMaterializedIndexWithAggregate do not change plan > when match ba… (#26145)"
> This reverts commit 8d7abf60f94d2d1208b71e96b9290ea02122b8d8.

> - Revert "[enhancement](Nereids): optimize GroupExpressionMatching (#26130)"
> This reverts commit 19122b55cd95af097b4ef7b6eb809f37db29765f.

> - Revert "[Performance](Nereids): optimize GroupExpressionMatching (#26084)"
> This reverts commit 0d956e90cf920039b8baa79c170a298be56a128d.
2023-10-31 20:50:44 -05:00
d3c475b06a disable branch-2.0 protection temporarily (#26186)
disable branch-2.0 protection temporarily for merge pr faster.
2023-10-31 20:37:49 -05:00
4eb9a52ace [regression](s3load) Add regression testing and modify description text for s3load (#25947) 2023-11-01 07:39:16 +08:00
Pxl
696ecc8c83 [Chore](log) adjust error code on too many filtered rows (#26168) 2023-11-01 00:15:56 +08:00
9d83948987 [feature](pipelineX) Use dependency instead of block queue in the runtime filter (#26078) 2023-10-31 22:44:18 +08:00
6f4570d3af [cases](regression-test) Add backup restore operation test (#26169)
1. restore overwrites an exists table
2. backup & restore with exclude table
3. restore to a new table
4. restore mix exists and new tables
5. restore with alias
2023-10-31 22:36:45 +08:00
8c454a3287 [bug](scanner) Fix scanner core dump (#26156) 2023-10-31 22:23:32 +08:00
ac7678926f [improvement](tablet clone) add config for decommission tablet wait time (#26000) 2023-10-31 20:36:26 +08:00
08c78a1135 [Feature](Job)Support manual and refactor some execution logic (#26082)
Supports manually triggered JOBs and Tasks
Optimize JOB&TASK display logic
Refactor the executor to support context passing
2023-10-31 20:35:55 +08:00
b87b09bb04 [Enhance](regression)enhance case test_broker_load_func (#26118) 2023-10-31 19:22:25 +08:00
2c4fa2d5b0 improve workload group regression stress test script (#26104) 2023-10-31 19:05:08 +08:00
aadd220eff [FIX](decimalv3) fix large int cast to decimalv3 #26159
fix large int cast to decimalv3 , before if we make data more than max int64 cast to decimalv3 will make result overflow and incorrect
such as

mysql> select CAST(12345678901234567890123456789012345678 AS DECIMALV3(38, 0));
+------------------------------------------------------------------+
| CAST(12345678901234567890123456789012345678 AS DECIMALV3(38, 0)) |
+------------------------------------------------------------------+
|                                             -4302749291975740594 |
+------------------------------------------------------------------+
2023-10-31 18:24:09 +08:00
b98744ae90 [Bug](iceberg)fix read partitioned iceberg without partition path (#25503)
Iceberg does not require partition values to exist on file paths, so we should get the partition value from `PartitionScanTask.partition`.
2023-10-31 18:09:53 +08:00
b137f03921 [feature](profile) add MaxActiveTime and add exectime in pipelineX (#26148) 2023-10-31 17:53:52 +08:00
973657d163 [fix](compile) be cannot compile on MacOS (#26155)
build on MacOS meet error: reference to 'detail' is ambiguous.
Because there is a detail namespace under std
2023-10-31 17:36:00 +08:00
Pxl
271b074f42 Bug](view) make forbiddenMVRewrite work on InlineViewRef (#26162)
make forbiddenMVRewrite work on InlineViewRef
2023-10-31 17:30:59 +08:00
b619982c3a [Enhancement](metrics) Avoid update_process_fd_num reporting no such file error indiscriminately. (#26013)
Avoid `update_process_fd_num` reporting `no such file error `indiscriminately.
2023-10-31 17:28:43 +08:00
3eac2a75cb [fix](docs) modify docs abort outfile and export (#26033) 2023-10-31 17:25:44 +08:00
6f316b117f [Fix](Checkpoint)AnalysisMgrV2 does not implement the corresponding read and write interface (#26161) 2023-10-31 17:24:35 +08:00
9633d0a83b [case](iceberg)add test case (#26107) 2023-10-31 17:23:22 +08:00
994db8b400 [fix](multi-catalog)add the FAQ for Aliyun DLF and add the fs.xx.impl check (#25594)
1. add the FAQ for Aliyun DLF,include the DLF configuration and Jindo SDK locations
2. add the fs.xx.impl check when load cache files
2023-10-31 17:09:52 +08:00
a698e14fb2 [cases](regression-test) Add backup & restore with multi tables test (#26040) 2023-10-31 17:08:55 +08:00
958c7fdfd9 [fix](planner)should keep at least one slot materialized in agg node (#26116) 2023-10-31 16:52:45 +08:00
a6e010f722 [opt](nereids) use rowcount to compute runtime filter size if ndv is not available (#26022) 2023-10-31 16:52:17 +08:00
97646b098e [compile](submodule) move submodule update to BE compile (#26109)
orc and clucene is only used by BE, thus move the update to BE compile part
2023-10-31 16:51:36 +08:00
d698fb9225 [regression-test](fix) fix two regression test case bug (#26071) 2023-10-31 03:48:29 -05:00
ea1554374c [fix](multicast) fix DCHECK failure of block mem reuse for multicast (#26127)
* [fix](multicast) fix DCHECK failure of block mem reuse for multicast
2023-10-31 16:35:26 +08:00