Commit Graph

22038 Commits

Author SHA1 Message Date
fa10cd05df branch-2.1: [fix](ci) fix compile error 'Unknown host repo.maven.apache.org' #53900 (#53906)
Cherry-picked from #53900

Co-authored-by: Dongyang Li <lidongyang@selectdb.com>
2025-07-26 23:23:11 +08:00
101ea8434b [Cherry-Pick](branch-2.1) Pick "[Fix](core) Fix null ptr introduced by #42949 (#46074)" (#53865) 2025-07-26 22:48:03 +08:00
a7f3c21983 branch-2.1: [opt](nereids) opt range inference for or expression when out of order #46303 (#53706)
picked from part of #46303
2025-07-25 16:49:06 +08:00
c1fa17af38 branch-2.1: [feature](group by)Support group by with order. (#53037) (#53840)
backport: https://github.com/apache/doris/pull/53037
2025-07-25 14:37:10 +08:00
77ff75b954 branch-2.1: [opt](nereids) use one fragment to execute point query #53541 (#53574)
Cherry-picked from #53541

Co-authored-by: 924060929 <lanhuajian@selectdb.com>
2025-07-25 14:02:06 +08:00
850360c1c4 branch-2.1: [fix](sql_select_limit) sql_select_limit should not affect DML #53379 (#53764)
cherry picked from #53379
2025-07-25 09:50:55 +08:00
ddb3b46fff branch-2.1: [fix](p2) throw Exception if hdfs is not enable (#52761) (#53811)
(cherry picked from PR #52761)
2025-07-25 09:50:10 +08:00
5873aa3083 branch-2.1:[fix](auth)fix when authentication, the permissions of multiple roles should be merged #52349 (#52947)
pick #52349
2025-07-24 17:06:32 +08:00
d316dbb3bd branch-2.1: [fix](catalog) fix deadlock of catalog and database(#53626) (#53629)
bp #53626
2025-07-23 10:00:51 +08:00
Pxl
5216f3bf60 [Bug](datev2) fix wrong result of predicate about cast(cast(datetimev2 as datev2) as datetimev2) #53485 (#53514)
pick fom #53485
2025-07-22 18:11:12 +08:00
Pxl
feae3a57ef [Chore](workflow) change workflow's thirdparty prebuild to 3.0 (#53638)
change workflow's thirdparty prebuild to 3.0
2025-07-22 18:00:10 +08:00
05e0ef1053 branch-2.1: [bugfix](regression) fix regression test result errors (#53458) 2025-07-21 17:07:05 +08:00
a7fef00334 [enhance](compaction) limit time series table max version using maximum of current backend (#53244) (#53561)
pick master #53244
2025-07-21 16:52:22 +08:00
b4df998c39 branch-2.1: [fix](case) fix some group commit case (#53295) 2025-07-21 16:51:32 +08:00
428d2e8a73 branch-2.1: [fix](regress) new thread should connect to cluster.jdbcUrl in docker regression suite #53234 (#53316)
cherry pick from #53234
2025-07-21 12:10:31 +08:00
fac42370c9 [branch-21](upgrate) fix upgrate error of branch-21 (#53353) 2025-07-21 12:08:48 +08:00
e8d18788f6 branch-2.1:[fix](function)fix month=0 of from_iso8601_date function. (#53050) (#53438)
bp #53050
Related PR: #40695
Problem Summary:

pr #40695 introduced the function `from_iso8601_date`, which parses the
string to get year、mouth、 day, and sets the date value through the
`set_time_unit` function.
Since `set_time_unit` lacks some judgment on mouth, it may get an
illegal date in the end, which may cause core in debug mode.

sql : `select from_iso8601_date('2023-00-01');`
```
F20250709 09:50:14.366984 3587796 vdatetime_value.h:1222] Check failed: date_v2_value_.month_ != 0
*** Check failure stack trace: ***
    @     0x559bd7050d96  google::LogMessage::SendToLog()
    @     0x559bd704d7e0  google::LogMessage::Flush()
    @     0x559bd70515d9  google::LogMessageFatal::~LogMessageFatal()
    @     0x559bc725a570  doris::DateV2Value<>::set_time_unit<>()
    @     0x559bc7257380  doris::vectorized::FromIso8601DateV2::execute()
    @     0x559bc7255a88  doris::vectorized::FunctionOtherTypesToDateType<>::execute_impl()
    @     0x559bc09e0781  doris::vectorized::DefaultExecutable::execute_impl()
    @     0x559bc423aa20  doris::vectorized::PreparedFunctionImpl::_execute_skipped_constant_deal()
    @     0x559bc4234938  doris::vectorized::PreparedFunctionImpl::execute_without_low_cardinality_columns()
    @     0x559bc4233f42  doris::vectorized::PreparedFunctionImpl::default_implementation_for_nulls()
    @     0x559bc423a773  doris::vectorized::PreparedFunctionImpl::_execute_skipped_constant_deal()
    @     0x559bc4234938  doris::vectorized::PreparedFunctionImpl::execute_without_low_cardinality_columns()
    @     0x559bc4234a57  doris::vectorized::PreparedFunctionImpl::execute()
```

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-18 14:43:11 +08:00
ac36df29d6 branch-2.1: [fix](p0)Fix prepare stmt case failure. (#53437)
backport: https://github.com/apache/doris/pull/53435
2025-07-17 17:25:15 +08:00
0f1f0cd4ca branch-2.1: [bugfix](load) Fixed import failure caused by the $. symbol (#53337)
Problem Summary:

Of course, master is normal.

1. Routine load task
```
CREATE ROUTINE LOAD kafka_load_task ON test_123
WITH APPEND
COLUMNS(ot,time=from_unixtime(`ot`),id,name,content),
PRECEDING FILTER ((`ot` > 0) AND (`id` != ''))
PROPERTIES
(
"max_error_number" = "0",
"max_filter_ratio" = "1.0",
"max_batch_interval" = "10",
"max_batch_rows" = "300000",
"max_batch_size" = "209715200",
"format" = "json",
"jsonpaths" = "[
        \"$.time\",
        \"$.id\",
        \"$.name\",
        \"$.\"
]",
"strip_outer_array" = "false",
"num_as_string" = "false",
"fuzzy_parse" = "false",
"strict_mode" = "false",
"timezone" = "Asia/Shanghai",
"exec_mem_limit" = "2147483648"
)
FROM KAFKA
(
"kafka_broker_list" = "127.0.0.1:9092",
"kafka_topic" = "test-topic",
"property.kafka_default_offsets" = "OFFSET_BEGINNING",
"property.group.id" = "test-groupid-1"
);
```
`I want to use the $. symbol to put the entire JSON string from Kafka
into the context field. In the version before the fix, an error would
occur: exception=[E-1721] Size of filter doesn't match size of column:
size=0, filter.size=1. The JSON data in Kafka has other fields besides
time, id, and name, but my requirement is only to get time, id, and
name.`

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-17 14:03:58 +08:00
4d59af5aa3 branch-2.1: [fix](job) fix show routine load job result incorrect after alter job property #53038 (#53094)
Cherry-picked from #53038

Co-authored-by: hui lai <laihui@selectdb.com>
2025-07-17 12:16:17 +08:00
982bc81744 branch-2.1: [fix](regression) Spark reads Doris data error #48150 (#53233)
Cherry-picked from #48150

Co-authored-by: caoliang-web <71004656+caoliang-web@users.noreply.github.com>
2025-07-17 12:08:35 +08:00
eb6a5f884e branch-2.1: [fix](Nereids) not process must shuffle when regulate cannot be banned agg #52827 (#53265)
picked from #52827
2025-07-17 11:34:05 +08:00
70b7a0d795 branch-2.1: [fix](regression)Fix test_analyze_mv case. (#53361)
backport: https://github.com/apache/doris/pull/53352
2025-07-17 10:17:48 +08:00
cc387f362f branch-2.1: [opt](identifer) let unicode format as a superset of latin format #48078 (#53264)
cherry-picked from #48078
2025-07-16 19:58:58 +08:00
83cdd44d6b branch-2.1: [fix](catalog) synchronize reset methods in catalog classes and remove Lombok annotations (#53168)
pick (#51787)
2025-07-16 12:28:50 +08:00
d543713ceb [fix & opt](orc) ORC-1525: Fix bad read in RleDecoderV2::readByte and Decompress zlib by libdeflate. (#53078)
### What problem does this PR solve?

Problem Summary:

### Release note

Cherry-pick #51775 

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-16 12:28:12 +08:00
140fb4c6e6 branch-2.1: [fix](iceberg) Fix transaction issues (#52716) (#53238)
bp #52716

Co-authored-by: wuwenchi <wuwenchi@selectdb.com>
Co-authored-by: wuwenchi.wwc <wuwenchi.wwc@oceanbase.com>
2025-07-16 11:46:36 +08:00
e2fb2566dd [fix](nereids)should distinguish hash and other conjuncts for outer join in MultiJoin (#53184)
pick from master https://github.com/apache/doris/pull/50378 and
https://github.com/apache/doris/pull/53051
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-16 09:30:04 +08:00
11142eee3a branch-2.1: [fix](httpserver) Fix lsan check error when stop libevent server #53081 (#53112)
Cherry-picked from #53081

Co-authored-by: Xin Liao <liaoxin@selectdb.com>
2025-07-16 09:28:11 +08:00
1e19a3d852 branch-2.1: [chore](information schema) rename routine_load_job system table to routine_load_jobs (#49515) (#53246)
pick (#49515)

### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-16 09:26:00 +08:00
4b261d43b6 [Enhancement](multi-catalog) Add PredicateFilterTime, DictFilterRewriteTime, LazyReadFilteredRows profile metrics in parquet orc profiles. (#52815)
### What problem does this PR solve?

Problem Summary:

### Release note

Cherry-pick #51248

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-16 09:07:38 +08:00
412e5746a7 [fix](test) Fix the test case results (#53158)
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-16 09:02:35 +08:00
f1b7acd098 branch-2.1: [fix](tvf) support compressed json file for tvf and refactor code (#51983) (#53063)
bp: #51983
2025-07-11 06:36:46 +08:00
2f7c15f38e branch-2.1: [Bug](function) fix bitmap_from_base64 function cause heap-buffer-overflow error #53018 (#53044)
Cherry-picked from #53018

Co-authored-by: zhangstar333 <zhangsida@selectdb.com>
2025-07-11 06:35:40 +08:00
03994b8d93 branch-2.1: [fix](iceberg)Fix the thread pool issue used for commit. #51508 (#51528)
Cherry-picked from #51508

---------

Co-authored-by: wuwenchi <wuwenchi@selectdb.com>
Co-authored-by: Mingyu Chen (Rayner) <yunyou@selectdb.com>
2025-07-11 06:31:40 +08:00
6e24d2c66e [chore](lsan) lsan add dl_find_object_update (#53049) 2025-07-10 16:01:14 +08:00
6e12dc4b06 [opt](auditlog) Use varchar(1024) for column frontend_ip of audit log table #52762 (#52985)
pick #52762
2025-07-10 08:47:30 +08:00
Pxl
1a4e71610c [Chore](ub) fix some ub of vector (#52982)
pick from https://github.com/apache/doris/pull/52820
https://github.com/apache/doris/pull/52901

---------

Co-authored-by: zclllyybb <zhaochangle@selectdb.com>
2025-07-09 17:40:04 +08:00
3c38843e0d [Bug](branch-21) fix the compatibility cause coredump during upgrade (#52720)
### What problem does this PR solve?

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:
the PR https://github.com/apache/doris/pull/50310 introduce,
shouldn't change the be version in branch-21, others before
compatibility code will be error


### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No code files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:
    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2025-07-09 11:00:10 +08:00
560097e491 branch-2.1: [Opt](mow) Move DeleteBitmapAggCache to ExecEnv (#52649) (#52738)
pick https://github.com/apache/doris/pull/52649
2025-07-09 10:59:19 +08:00
6c5ec15e10 branch-2.1: [fix](be) fix parquet file reader not updating page index when processing it #52228 (#52782)
Cherry-picked from #52228

Co-authored-by: SWEI <z_swii@outlook.com>
Co-authored-by: zengsiwei <zengsiwei@kuaishou.com>
Co-authored-by: suxiaogang223 <suxiaogang223@icloud.com>
2025-07-09 10:58:48 +08:00
1775200cba branch-2.1: [fix](coordinator) fix cte with local shuffle throw exception #52870 (#52871)
cherry pick from #52870

---------

Co-authored-by: Gabriel <liwenqiang@selectdb.com>
2025-07-09 10:52:00 +08:00
6f6590936d branch-2.1: [fix](be) fix macos report wrong cpu cores #52726 (#52858)
Cherry-picked from #52726

Co-authored-by: 924060929 <lanhuajian@selectdb.com>
2025-07-09 10:50:01 +08:00
Pxl
26bf3d9318 [Bug](schema-change) pass arena to agg function's add method (#52930)
part of https://github.com/apache/doris/pull/36607
```cpp
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) in /usr/local/service/doris/lib/be/doris_be
1# os::Linux::chained_handler(int, siginfo*, void*) in /usr/local/jdk/jre/lib/amd64/server/libjvm.so
2# JVM_handle_linux_signal in /usr/local/jdk/jre/lib/amd64/server/libjvm.so
3# signalHandler(int, siginfo*, void*) in /usr/local/jdk/jre/lib/amd64/server/libjvm.so
4# 0x00007F4AD7C1A400 in /lib64/libc.so.6
5# doris::vectorized::AggregateFunctionCollectSetData<doris::StringRef, std::integral_constant<bool, false> >::merge(doris::vectorized::AggregateFunctionCollectSetData<doris::StringRef, std::integral_constant<bool, false> > const&, doris::vectorized::Arena*) in /usr/local/service/doris/lib/be/doris_be
6# doris::vectorized::IAggregateFunctionHelper<doris::vectorized::AggregateFunctionNullUnaryInline<doris::vectorized::AggregateFunctionCollect<doris::vectorized::AggregateFunctionCollectSetData<doris::StringRef, std::integral_constant<bool, false> >, std::integral_constant<bool, false>, std::integral_constant<bool, false> >, false> >::deserialize_and_merge_from_column_range(char*, doris::vectorized::IColumn const&, unsigned long, unsigned long, doris::vectorized::Arena*) const in /usr/local/service/doris/lib/be/doris_be
7# doris::MultiBlockMerger::merge(std::vector<std::unique_ptr<doris::vectorized::Block, std::default_delete<doris::vectorized::Block> >, std::allocator<std::unique_ptr<doris::vectorized::Block, std::default_delete<doris::vectorized::Block> > > > const&, doris::RowsetWriter*, unsigned long*) in /usr/local/service/doris/lib/be/doris_be
8# doris::VSchemaChangeWithSorting::_internal_sorting(std::vector<std::unique_ptr<doris::vectorized::Block, std::default_delete<doris::vectorized::Block> >, std::allocator<std::unique_ptr<doris::vectorized::Block, std::default_delete<doris::vectorized::Block> > > > const&, doris::Version const&, long, std::shared_ptr<doris::Tablet>, doris::RowsetTypePB, doris::SegmentsOverlapPB, std::shared_ptr<doris::TabletSchema>) in /usr/local/service/doris/lib/be/doris_be
9# doris::VSchemaChangeWithSorting::_inner_process(std::shared_ptr<doris::RowsetReader>, doris::RowsetWriter*, std::shared_ptr<doris::Tablet>, std::shared_ptr<doris::TabletSchema>, std::shared_ptr<doris::TabletSchema>)::$_1::operator()() const in /usr/local/service/doris/lib/be/doris_be
10# doris::VSchemaChangeWithSorting::_inner_process(std::shared_ptr<doris::RowsetReader>, doris::RowsetWriter*, std::shared_ptr<doris::Tablet>, std::shared_ptr<doris::TabletSchema>, std::shared_ptr<doris::TabletSchema>) in /usr/local/service/doris/lib/be/doris_be
11# doris::SchemaChange::process(std::shared_ptr<doris::RowsetReader>, doris::RowsetWriter*, std::shared_ptr<doris::Tablet>, std::shared_ptr<doris::Tablet>, std::shared_ptr<doris::TabletSchema>, std::shared_ptr<doris::TabletSchema>) in /usr/local/service/doris/lib/be/doris_be
12# doris::SchemaChangeHandler::_convert_historical_rowsets(doris::SchemaChangeHandler::SchemaChangeParams const&, long*) in /usr/local/service/doris/lib/be/doris_be
13# doris::SchemaChangeHandler::_do_process_alter_tablet_v2(doris::TAlterTabletReqV2 const&) in /usr/local/service/doris/lib/be/doris_be
14# doris::SchemaChangeHandler::process_alter_tablet_v2(doris::TAlterTabletReqV2 const&) in /usr/local/service/doris/lib/be/doris_be
15# doris::EngineAlterTabletTask::execute() in /usr/local/service/doris/lib/be/doris_be
16# doris::alter_tablet_callback(doris::StorageEngine&, doris::TAgentTaskRequest const&) in /usr/local/service/doris/lib/be/doris_be
17# std::_Function_handler<void (), doris::TaskWorkerPool::submit_task(doris::TAgentTaskRequest const&)::$_0::operator()<doris::TAgentTaskRequest const&>(doris::TAgentTaskRequest const&) const::
{lambda()#1}

>::_M_invoke(std::_Any_data const&) in /usr/local/service/doris/lib/be/doris_be
18# doris::ThreadPool::dispatch_thread() in /usr/local/service/doris/lib/be/doris_be
19# doris::Thread::supervise_thread(void*) in /usr/local/service/doris/lib/be/doris_be
20# start_thread in /lib64/libpthread.so.0
21# __clone in /lib64/libc.so.6
```
2025-07-09 10:49:08 +08:00
528eaadaf7 [fix](pipeline) premature exit causing core dump during concurrent pr… (#52850)
…epare execution (#51492)

Issue Number: close #51491

Problem Summary:
When the queue of the FragmentMgrAsync thread pool is full, newly
submitted tasks are rejected and return early. However, previously
submitted tasks may still be scheduled for execution later. This can
lead to premature destruction of objects such as PipelineFragmentContext
and TPipelineFragmentParams that are referenced by those tasks,
resulting in null pointer exceptions during task execution and
ultimately causing a coredump.

The pr policy is to wait until all previously submitted tasks are
completed before returning.

```
*** SIGSEGV address not mapped to object (@0x1c8) received by PID 3941201 (TID 2115617 OR 0xfe1685bb97f0) from PID 456; stack trace: ***
 0# doris::signal::(anonymous namespace)::FailureSignalHandler(int, siginfo_t*, void*) at /home/jenkins_agent/workspace/BigDataComponent_doris-unified-arm-release/be/src/common/signal_handler.h:421
 1# os::Linux::chained_handler(int, siginfo_t*, void*) in /usr/jdk64/current/jre/lib/aarch64/server/libjvm.so
 2# JVM_handle_linux_signal in /usr/jdk64/current/jre/lib/aarch64/server/libjvm.so
 3# signalHandler(int, siginfo_t*, void*) in /usr/jdk64/current/jre/lib/aarch64/server/libjvm.so
 4# 0x0000FFFF6B2A07C0 in linux-vdso.so.1
 5# doris::TUniqueId::TUniqueId(doris::TUniqueId const&) at /home/jenkins_agent/workspace/BigDataComponent_doris-unified-arm-release/gensrc/build/gen_cpp/Types_types.cpp:2354
 6# doris::AttachTask::AttachTask(doris::QueryContext*) at /home/jenkins_agent/workspace/BigDataComponent_doris-unified-arm-release/be/src/runtime/thread_context.cpp:60
 7# std::_Function_handler<void (), doris::pipeline::PipelineXFragmentContext::_build_pipeline_x_tasks(doris::TPipelineFragmentParams const&, doris::ThreadPool*)::$_0>::_M_invoke(std::_Any_data const&) at /usr/lib/gcc/aarch64-linux-gnu/13/../../../../include/c++/13/bits/std_function.h:290
 8# doris::ThreadPool::dispatch_thread() at /home/jenkins_agent/workspace/BigDataComponent_doris-unified-arm-release/be/src/util/threadpool.cpp:552
 9# doris::Thread::supervise_thread(void*) at /home/jenkins_agent/workspace/BigDataComponent_doris-unified-arm-release/be/src/util/thread.cpp:499
10# 0x0000FFFF6AF187AC in /lib64/libpthread.so.0
11# 0x0000FFFF6B16548C in /lib64/libc.so.6
```

Co-authored-by: XLPE <crykix@gmail.com>
Co-authored-by: XLPE <weiwh1@chinatelecom.cn>
2025-07-09 10:20:59 +08:00
abb9c88a3f branch-2.1: [improve](hive row count)Log stack info when fetch hive row count fail. (#52795) (#52849)
backport: https://github.com/apache/doris/pull/52795
2025-07-09 09:57:24 +08:00
3dde6775a9 [Fix](case) Fix wg regression test (#52895) 2025-07-09 09:56:43 +08:00
29fe672dbc branch-2.1: [fix](ui) fix ui builds failed error #52711 (#52776)
Cherry-picked from #52711

Co-authored-by: Jeffrey <color.dove@gmail.com>
2025-07-05 09:03:09 +08:00
b2e70e938c branch-2.1: [improve](statistics)Specify column name when insert into stat table.(#52441) (#52633)
backport: https://github.com/apache/doris/pull/52441
2025-07-04 14:21:01 +08:00
0f7f7dd0f6 [Opt](multi-catalog)Disable dict filter in parquet/orc reader if have non-single conjuncts. (#52617)
### What problem does this PR solve?

Problem Summary:

Cherry-pick #44777
2025-07-04 12:21:21 +08:00