Commit Graph

21668 Commits

Author SHA1 Message Date
7d64a80959 branch-2.1-pick: [Fix](log) correct tablet diff log in TabletInvertedIndex.tabletReport (#49390) (#49445)
pick https://github.com/apache/doris/pull/49390
2025-03-28 11:50:31 +08:00
57f04a7b9b branch-2.1: [fix](Nereids) fix double literal to string literal cast problem #49416 (#49523)
Cherry-picked from #49416

Co-authored-by: LiBinfeng <libinfeng@selectdb.com>
2025-03-28 11:49:02 +08:00
4645084ab1 branch-2.1: [Fix](GA)Remove extra blank lines to avoid parsing failures #49615 (#49616) 2025-03-28 11:45:48 +08:00
92176c46bf branch-2.1: [feat](binlog) filter the async mv binlogs #49028 (#49099)
Cherry-picked from #49028

Co-authored-by: walter <maochuan@selectdb.com>
2025-03-28 10:01:00 +08:00
2fb8e00907 branch-2.1: [chore](task) log the thrift message size if the broken pipe is occurred #49492 (#49509)
Cherry-picked from #49492

Co-authored-by: walter <maochuan@selectdb.com>
2025-03-28 09:57:53 +08:00
63fb74b480 branch-2.1: [Bug](udf) should delete local ref when return error msg #48609 (#49528)
Problem Summary:
cherry-pick from master (#48609)
2025-03-28 09:57:18 +08:00
60f6975850 branch-2.1-pick: [Fix](txn) Remove TabletTxnInfo if version exists when publish version (#49564) (#49590)
pick https://github.com/apache/doris/pull/49564
2025-03-28 09:56:41 +08:00
b16821f018 branch-2.1: [fix](auth)Prohibit other users from modifying the root #48752 (#49585)
Cherry-picked from #48752

Co-authored-by: zhangdong <zhangdong@selectdb.com>
2025-03-28 09:54:32 +08:00
1ff0f70460 branch-2.1: [case](restore) Rename repo name of backup-restore regression cases with suite name (#49535)
### What problem does this PR solve?

pick:https://github.com/apache/doris/pull/49237

1、Rename the repo of backup restore regression cases with a suite name
prefix.
2、Change the maximum length of repo names from 63 to 255

### Release note

None

### Check List (For Author)

- Test <!-- At least one of them must be included. -->
    - [x] 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:
    - [x] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?
    - [x] 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-03-27 20:13:30 +08:00
11f8b53016 [fix](runtime) Avoid merging results into one large result in BufferControlBlock (#49571) 2025-03-27 19:49:58 +08:00
ed56e84b31 branch-2.1: [fix](system) fix alter system modify hostname with valid ip exception #49551 (#49561)
cherry pick from #49551
2025-03-27 19:49:27 +08:00
374b901717 branch-2.1 [fix](nereids)avoid generate Runtime filter whose target is not a base table column #48804 (#49314) 2025-03-27 19:48:37 +08:00
088edffded [fix](column) remove string64 in check_chars_length (#49537) 2025-03-27 19:47:58 +08:00
aa43f84e72 [fix](case)rename case dir to prevent db name too long (#49580)
### 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-03-27 17:02:48 +08:00
3390475e02 2.1.9-rc02 (#49500) 2025-03-26 11:42:49 +08:00
0a6bb54e47 branch-2.1: [opt](metrics) optimize performance of metrics endpoint #49380 (#49455)
Cherry-picked from #49380

Co-authored-by: 924060929 <lanhuajian@selectdb.com>
2025-03-26 11:31:06 +08:00
e2ab9ef46c [regression-test](cases) mv some cases nonConcurrent (#49460) 2025-03-26 11:22:44 +08:00
017e5a42fb [branch-2.1] pick 49325 fix query statistics leak in BE (#49397)
pick #49325
2025-03-24 19:59:15 +08:00
1fb771d526 branch-2.1: [fix](statistics)Fix replace table doesn't remove table stat meta memory leak bug. (#49345) (#49367)
Cherry-picked from https://github.com/apache/doris/pull/49345
2025-03-23 09:55:47 +08:00
c3fad29a4f [fix](webui) add connection context to avoid NPE (#49213) (#49353)
bp #49213
2025-03-22 08:00:49 +08:00
a40a4bbc67 branch-2.1: [fix](Nereids) fold constant for string function process emoji character by mistake #49087 (#49344)
pick: #49087 
Related PR: #40441

Problem Summary:

wrong calculation of emoji character length in some String function when
do constant folding in FE. For example:

select STRLEFT('😊😉👍', 2);

should return 😊😉, but fe return 😊 only when folding constant

fixed functions:
- left
- strleft
- right
- strright
- locate
- character_length
- split_by_string
- overlay
- replace_empty
2025-03-22 07:44:55 +08:00
2eed4f3a65 branch-2.1: [opt](paimon)Add suppressed information display #48947 (#48997)
Cherry-picked from #48947

Co-authored-by: wuwenchi <wuwenchi@selectdb.com>
2025-03-22 07:42:45 +08:00
abc535a9e7 branch-2.1: [fix](hudi) Fix Memory Leak in BitCaskDiskMap Due to Circular Reference #48955 (#49115)
Cherry-picked from #48955

Co-authored-by: Socrates <suyiteng@selectdb.com>
2025-03-21 22:44:35 +08:00
5aa715db03 branch-2.1: [fix](regression) Avoid defined global variables in backup-restore case script (#49331) 2025-03-21 20:13:07 +08:00
71824569a9 [fix](Index)Make column unique ids in index dynamically computed (#48988) (#49300)
bp #48988
2025-03-21 19:51:00 +08:00
3e894994d4 [Fix](branch-2.1) Fix unstable case "test_base_compaction" (#49349) 2025-03-21 18:06:43 +08:00
7b28e33815 [improvement](statistics)Remove read lock when doing db analyze. (#49250) (#49320)
backport: https://github.com/apache/doris/pull/49250
2025-03-21 18:04:38 +08:00
b130500203 [fix](Nereids) initcap constant folding should upper first character in all words (#49061) (#49342) 2025-03-21 18:03:28 +08:00
54b3000de5 [fix](auth)create view check select_priv of table instead of column (#49268) 2025-03-20 23:08:58 +08:00
2560a8ec56 [test](auth)add grant show_view_priv to new user (#49307) 2025-03-20 23:04:43 +08:00
ce49f37a5e branch-2.1: [fix](core) fix subreplace when inputting a large number of empty strings #49241 (#49303)
Cherry-picked from #49241

Co-authored-by: Mryange <yanxuecheng@selectdb.com>
2025-03-20 22:56:44 +08:00
3f9e989d05 branch-2.1: [fix](arrow-flight-sql) Fix fetch_arrow_flight_schema thread pool (#49291) 2025-03-20 17:07:37 +08:00
df26c6fc51 [fix](case)Fix statics case for 2.1 (#49272)
Modify the catalog name to prevent it from being deleted by other cases.

bp: #41346
2025-03-20 17:03:54 +08:00
5ecfee56b5 [cherry-pick](branch-2.1) Pick "[Fix](compaction) Fix nullptr when executing cold compaction (#48329)" (#48886) 2025-03-20 16:49:54 +08:00
7e6adcf765 branch-2.1: [chore](ci) rm unused file #48326 (#49290)
Cherry-picked from #48326

Co-authored-by: Dongyang Li <lidongyang@selectdb.com>
2025-03-20 16:48:17 +08:00
17ffd301fb [fix](mtmv) Fix collecting mv candidates when dml controlled by enable_dml_materialized_view_rewrite switch #48374 (#49263)
### What problem does this PR solve?
pr: https://github.com/apache/doris/pull/48374
commitId: 0c9ce720
2025-03-20 10:01:04 +08:00
8f79742f7d branch-2.1: [fix](arrow) Fix Arrow serialization and deserialization of Date/Datetime/Array/Map/Struct/Bitmap/HLL/Decimal256 types (#49244)
### What problem does this PR solve?

pick #48944 [fix](arrow) Fix UT DataTypeSerDeArrowTest of
Array/Map/Struct/Bitmap/HLL/Decimal256 types
pick #48398  [fix](arrow) Fix UT DataTypeSerDeArrowTest of Date type
2025-03-20 09:57:04 +08:00
f771a422a9 branch-2.1: [fix](column) fix ColumnWithTypeAndName::get_nested use-after-free when input Const(Nullable) column #48288 (#49258) 2025-03-20 09:53:20 +08:00
c67bbe77ef [test](mtmv) Fix regression test not stable and add log for debug (#48483) (#49234) 2025-03-19 17:42:00 +08:00
e4d6460b3c branch-2.1-pick: [Fix](SC) Prevent the values of __DORIS_VERSION_COL__ be wrongly replaced by fake version when merging tmp rowset in sort SC #49193 (#49222)
pick https://github.com/apache/doris/pull/49193
2025-03-19 17:33:25 +08:00
3b61f840f4 [fix](function) Undefined behavior in parse_url (#49149) (#49226) 2025-03-19 17:32:47 +08:00
cc41d61eec [fix](nereids)Fix dlog1, trim, extract_url_parameter and parse_url FE constant calculate bug. (#49074) (#49224)
backport: https://github.com/apache/doris/pull/49074
2025-03-19 10:05:01 +08:00
a32a7ba5eb branch-2.1: [fix](Nereids) deep copy for LogicalWindow is wrong #48861 (#49014)
Cherry-picked from #48861

Co-authored-by: morrySnow <zhangwenxin@selectdb.com>
2025-03-19 09:57:15 +08:00
13c174df4b branch-2.1: [fix](Nereids) fix substring with only one parameter #48957 (#49030)
Cherry-picked from #48957

Co-authored-by: LiBinfeng <libinfeng@selectdb.com>
2025-03-19 09:56:13 +08:00
1822120c13 branch-2.1: [fix](multi table load) error URL does not depend on the value of _number_filtered_rows #49111 (#49131)
Cherry-picked from #49111

Co-authored-by: hui lai <laihui@selectdb.com>
2025-03-19 09:54:36 +08:00
Pxl
7355cfe8b6 [Chore](runtime-filter) remove wrong check and set disable when SyncSizeClosure meet eof status (#49186) 2025-03-18 18:16:51 +08:00
44b868de6b branch-2.1: [fix](nereids) fix to_monday('1970-01-04 23:59:59') #49153 (#49176)
Cherry-picked from #49153

Co-authored-by: yujun <yujun@selectdb.com>
2025-03-18 18:07:26 +08:00
6430ff365d [Bug](partition) should not do reset for the partition_sorts (#49148)
### What problem does this PR solve?
Problem Summary:

the partition_sorts is unique_ptr,could release after destroy.
and when some extreme case like cancel, if source reset the sorter
early, the sink operator will coredump still use it.
2025-03-18 18:03:29 +08:00
16e348b189 [fix](array/map) Fix BE crash in lambda functions (#49139) 2025-03-18 11:51:38 +08:00
bd5d0ca741 branch-2.1: [fix](Nereids) fold str_to_date to wrong result when parameter out of range #49033 (#49150) 2025-03-18 11:01:49 +08:00