Commit Graph

21300 Commits

Author SHA1 Message Date
f4b5327ec7 branch-2.1: [fix](session var) add need forward for batch_size #46871 (#46894)
Cherry-picked from #46871

Co-authored-by: qiye <luen@selectdb.com>
2025-01-13 21:41:42 +08:00
60ea8ed58d branch-2.1: [regression-test](framework) fix sql_return_maparray not use alias bug #46674 (#46891)
Cherry-picked from #46674

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-13 19:33:07 +08:00
6c72bfe082 branch-2.1: [fix](test) fix unstable test after some test migration #46834 (#46852)
Cherry-picked from #46834

Co-authored-by: Mingyu Chen (Rayner) <morningman@163.com>
2025-01-13 18:01:03 +08:00
cd37e98a93 [opt](nereids) cache hash code for expression (#46763) (#46883)
cherry pick from #46763
2025-01-13 17:48:57 +08:00
09411c050b branch-2.1: [Fix](partial update) Forbid partial update when table is in SCHEMA_CHANGE/ROLLUP in FE (#46866)
### What problem does this PR solve?

Related PR: https://github.com/apache/doris/pull/22133

Problem Summary:

https://github.com/apache/doris/pull/22133 forbid doing partial update
during schema change on BE, but this may failed to work when some of
replicas finished alter process on BE and some of them don't. This PR
forbids partial update during schema change on FE to avoid this
situation.

### Release note
2025-01-13 16:00:00 +08:00
13fa4ea2ee branch-2.1 [Opt](docker) kerberos docker healthy check (#46662) (#46858)
#46662

Co-authored-by: zgxme <zhenggaoxiong@selectdb.com>
2025-01-13 15:38:17 +08:00
bce0cc81ba [regression-test](fix) fix case, pick #46885 (#46888) 2025-01-13 15:34:09 +08:00
ff00fe3e5c [regression-test](fix) enlarge compaction_width_array_column.groovy's… (#46889) 2025-01-13 15:34:00 +08:00
1b1a26ee8d [regression-test](fix) test_bloom_filter_hit.groovy can only run on 1 be cluster(#46890) 2025-01-13 15:33:32 +08:00
7d35838f4f [branch-2.1]Refactor workload group metric (#46640) (#46875)
pick #46640
2025-01-13 15:16:53 +08:00
fa60c60b42 [fix](pipelien) should not finalize probe when wake up early in SetProbeSinkOperatorX (#46706) (#46832)
```
*** Query id: 80819fcc223e4a45-b46155de6e0c4eee ***
*** is nereids: 1 ***
*** tablet id: 0 ***
*** Aborted at 1736352810 (unix time) try "date -d @1736352810" if you are using GNU date ***
*** Current BE git commitID: 08683cbaf5 ***
*** SIGSEGV address not mapped to object (@0x38) received by PID 8736 (TID 11549 OR 0x7f8dd0922640) from PID 56; stack trace: ***
 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /root/doris_branch-3.0/doris/be/src/common/signal_handler.h:421
 1# PosixSignals::chained_handler(int, siginfo*, void*) [clone .part.0] in /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
 2# JVM_handle_linux_signal in /usr/lib/jvm/java-17-openjdk-amd64/lib/server/libjvm.so
 3# 0x00007F92019CA520 in /lib/x86_64-linux-gnu/libc.so.6
 4# auto doris::pipeline::SetProbeSinkOperatorX::_refresh_hash_table(doris::pipeline::SetProbeSinkLocalState&)::{lambda(auto:1&&)#1}::operator(), HashTableNoState>, DefaultHash, HashTableGrower<10ul>, Allocator > >&>(doris::vectorized::MethodSerialized, HashTableNoState>, DefaultHash, HashTableGrower<10ul>, Allocator > >&) const at /root/doris_branch-3.0/doris/be/src/pipeline/exec/set_probe_sink_operator.cpp:213
 5# doris::pipeline::SetProbeSinkOperatorX::_finalize_probe(doris::pipeline::SetProbeSinkLocalState&) at /root/doris_branch-3.0/doris/be/src/pipeline/exec/set_probe_sink_operator.cpp:184
 6# doris::pipeline::SetProbeSinkOperatorX::sink(doris::RuntimeState*, doris::vectorized::Block*, bool) at /root/doris_branch-3.0/doris/be/src/pipeline/exec/set_probe_sink_operator.cpp:98
 7# doris::pipeline::PipelineTask::execute(bool*) at /root/doris_branch-3.0/doris/be/src/pipeline/pipeline_task.cpp:387
 8# doris::pipeline::TaskScheduler::_do_work(unsigned long) at /root/doris_branch-3.0/doris/be/src/pipeline/task_scheduler.cpp:138
 9# doris::ThreadPool::dispatch_thread() in /mnt/ssd01/doris-branch40preview/NEREIDS_ASAN/be/lib/doris_be
10# doris::Thread::supervise_thread(void*) at /root/doris_branch-3.0/doris/be/src/util/thread.cpp:499
11# start_thread at ./nptl/pthread_create.c:442
12# 0x00007F9201AAE850 at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:83
```
2025-01-13 14:21:43 +08:00
7260638c2b branch-2.1: [Fix](session variable) Forward use_fix_replica to master #46836 (#46857)
Cherry-picked from #46836

Co-authored-by: zclllyybb <zhaochangle@selectdb.com>
2025-01-13 14:04:44 +08:00
eb7fdd5714 [regression-test](fix) fix schema_change_modify_mv_column_type2 case bug (#46878) 2025-01-13 14:02:13 +08:00
2ac0f147ad branch-2.1: [regression-test](framework)fix master_sql action bug in framwork #46874 (#46877)
Cherry-picked from #46874

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-13 12:54:36 +08:00
d36f2170e3 branch-2.1: [regression-test](fix) remove unused features in manager test #46786 (#46828)
Cherry-picked from #46786

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-13 12:14:47 +08:00
d7e3aeda16 [regression-test](case) move tpcds_sf100 to nonConcurrent (#46868) 2025-01-13 11:56:28 +08:00
7f9ea1a231 [fix](parser) Syntax error in column with agg_state (#46829)
### What problem does this PR solve?

the problem only exists in the old optimizer

```
mysql> CREATE TABLE t (
    ->   `k1` int NULL,
    ->   `k2` agg_state<sum(int null)> GENERIC NOT NULL,
    ->   `k3` agg_state<group_concat(text null)> GENERIC NOT NULL
    -> ) ENGINE=OLAP
    -> AGGREGATE KEY(`k1`)
    -> DISTRIBUTED BY HASH(`k1`) BUCKETS 3
    -> PROPERTIES (
    -> "replication_allocation" = "tag.location.default: 1"
    -> );
ERROR 1105 (HY000): errCode = 2, detailMessage = Syntax error in line 3:
  `k2` agg_state<sum(int null)> GENERIC NOT NULL,
                 ^
Encountered: SUM
Expected: SUM is keyword, maybe `SUM`
```
2025-01-13 11:36:49 +08:00
2f32ed2bcc [regression-test](fix) fix test_show_tablet.groovy bug running on mul… (#46860) 2025-01-13 11:20:10 +08:00
060dc7c967 branch-2.1: [fix](regression case) Fix test_dynamic_partition_with_update regre… #43077 (#46835)
cherry pick from #43077
2025-01-13 10:44:27 +08:00
9ccfff12ab [pick](branch-2.1) pick #46266 (#46840)
### What problem does this PR solve?

```
[fix](cancel) Fix BufferControlBlock cancel msg #46266
```
2025-01-13 10:37:11 +08:00
842196ace3 branch-2.1: [regression-test](fix) schema change case bug #46782 (#46811)
Cherry-picked from #46782

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-12 08:58:14 +08:00
94856b19a2 [fix](hive)fix select count(*) hive full acid tb opt error. (#46732) (#46804)
bp #46732
2025-01-12 08:55:10 +08:00
40f3e9bb77 branch-2.1: [regression-test](fix) fix 'desc table' to follower assertion failure #46788 (#46819)
Cherry-picked from #46788

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-11 22:12:20 +08:00
c61060935a [regression-test](fix) fix case bug (#46825) 2025-01-11 21:20:21 +08:00
637ecaf3ad branch-2.1: [fix](suite) Fix qt_master_sql arg type #46772 (#46777)
Cherry-picked from #46772

Co-authored-by: walter <maochuan@selectdb.com>
2025-01-11 15:40:50 +08:00
9087e818bc [regression](framework) support sql cases as nonConcurrent (#46817) 2025-01-11 11:25:06 +08:00
e8cff852e0 [fix](case) fix some failed cases (#46816) 2025-01-11 11:23:16 +08:00
1618b84046 [regression-test](fix) fix variant case bug (#46813) 2025-01-11 11:04:42 +08:00
30367c5300 [regression-test](fix) fix global var (#46808) 2025-01-11 11:00:54 +08:00
f618578e9b [regression-test](fix) fix nonConcurrent case bug (#46799) 2025-01-10 22:35:59 +08:00
cf06c64a6c [regression-test](fix) fix inverted index cross varint cases (#46801) 2025-01-10 22:28:33 +08:00
4cfcb6576e [regression-test](fix) fix opensky case (#46797) 2025-01-10 21:10:27 +08:00
ed3727b352 branch-2.1:[Fix](insert-job)Fix Issue with Missing StatementContext in StmtExecutor, Leading to Incorrect SQL_BLOCK Handling (#46715) (#46757)
#46715
2025-01-10 20:15:50 +08:00
bd64566afa [regression-test](fix) fix variant case can not load (#46793) 2025-01-10 20:14:30 +08:00
42808a02dc [Fix](func) fix group_array_intersect result error in all arr contain null (#46590) 2025-01-10 20:14:23 +08:00
f7eb3bd12b [regression-test](fix) fix case bug (#46795) 2025-01-10 20:00:19 +08:00
d857deb50f branch-2.1: [fix](case) add nonConcurrent to out file path #46679 (#46792)
Cherry-picked from #46679

Co-authored-by: Dongyang Li <lidongyang@selectdb.com>
2025-01-10 19:01:41 +08:00
53f5845c5a branch-2.1: [fix](iceberg)Different catalogs should use different client pools #46694 (#46756)
Cherry-picked from #46694

Co-authored-by: wuwenchi <wuwenchi@selectdb.com>
2025-01-10 18:58:00 +08:00
eb312d7160 branch-2.1: [chore](persist) Save old index schema map in TableAddOrDropColumnsInfo #46606 (#46741)
Cherry-picked from #46606

Co-authored-by: walter <maochuan@selectdb.com>
2025-01-10 17:06:59 +08:00
6c47898a6e [fix](hive) Incorrect location conversion for 2.1 (#46362) (#46754)
bp: #46362
2025-01-10 16:14:37 +08:00
9958eb91a3 branch-2.1: [fix](compaction) fix compaction producer hold for permits leak #45664 (#46753)
Cherry-picked from #45664

Co-authored-by: shee <13843187+qzsee@users.noreply.github.com>
Co-authored-by: garenshi <garenshi@tencent.com>
Co-authored-by: camby <cambyzhu@tencent.com>
2025-01-10 15:53:01 +08:00
1a3eb051f5 branch-2.1: [improve](routine load) improve routine load observability #46238 (#46568)
Cherry-picked from #46238

Co-authored-by: hui lai <laihui@selectdb.com>
2025-01-10 13:46:28 +08:00
fca72eb818 branch-2.1: [fix](regression test) fix test simplify comparison predicate #46688 (#46744) 2025-01-10 13:25:48 +08:00
ae3e47632d [fix](test) fix unstable jdbc ddl case (#46697) (#46745)
cherry-pick #46697
2025-01-10 13:21:52 +08:00
177752ff67 branch-2.1: [Fix](regression) Fix define global var in regression case #46531 (#46735)
Cherry-picked from #46531

Co-authored-by: bobhan1 <baohan@selectdb.com>
2025-01-10 12:44:18 +08:00
62ad145982 branch-2.1: [fix] Add initialization list to the copy constructor of ScanPredicate in jni_connect.h #46666 (#46725)
Cherry-picked from #46666

Co-authored-by: 神技圈子 <songguangfan@gmail.com>
2025-01-10 10:48:26 +08:00
eeabf7c508 branch-2.1: [chore](regression) Normalize external case labels #46622 (#46705)
Cherry-picked from #46622

Co-authored-by: zgxme <zhenggaoxiong@selectdb.com>
2025-01-10 10:47:12 +08:00
e5000c21ef branch-2.1: [regression-test](fix) test_audit_log_behavior.groovy case bug #46588 (#46702)
Cherry-picked from #46588

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-10 10:46:43 +08:00
c016eb49c5 [enhance](mtmv)When obtaining the partition list fails, treat the pai… (#46708)
…mon table as an unpartitioned table  (#46641)

pick: https://github.com/apache/doris/pull/46641
2025-01-10 10:46:09 +08:00
3fc14c5071 branch-2.1: [regression-test](fix) fix test_default_current_timestamp.groovy #46700 (#46729)
Cherry-picked from #46700

Co-authored-by: shuke <shuke@selectdb.com>
2025-01-10 10:44:12 +08:00