Commit Graph

9428 Commits

Author SHA1 Message Date
2ba88ed2a8 [improve](report) split agent batch tasks automaticlly #43257 (#43365)
cherry pick from #43257
2024-11-08 18:59:53 +08:00
8f2f4e9394 [feature](binlog) Wrap rename table/column binlog in BarrierLog #43033 (#43168)
cherry pick from #43033
2024-11-08 18:59:25 +08:00
57c794ba77 [fix](backup) Fix compressed backup job #43197 (#43484)
cherry pick from #43197
2024-11-08 16:16:09 +08:00
2e8753b0cd [fix](restore) Add synchronized to avoid concurrent modification #43172 (#43486)
cherry pick from #43172
2024-11-08 15:51:17 +08:00
31480d11d7 [improve](task) Support splitting agent batch tasks automatically #42703 (#43483)
cherry pick from #42703
2024-11-08 15:51:04 +08:00
80de533b7c [improve](backup) Only compress the running backup/restore job #43177 #43278 (#43487)
cherry pick from #43278
2024-11-08 14:10:53 +08:00
69eb02b96f [chore](restore) Save restore stmt to the resp if RestoreSnapshot failed #42933 (#42985)
cherry pick from #42933
2024-11-08 14:05:50 +08:00
031ee992e7 [feature](binlog) Allow BarrierLog to wrap another binlog #42993 (#43485)
cherry pick from #42993
2024-11-08 14:04:54 +08:00
1b6d47d351 [fix](task) Abort creating replica task if sending RPC failed #42276 (#42963)
cherry pick from #42276
2024-11-08 10:44:27 +08:00
6006907c79 [improve](restore) Compress backup/restore job log size by compress (#42463)
ref #42459
2024-11-08 10:43:14 +08:00
f6ddd818cd [tests](inverted index)Add and improve add/drop index cases (#36811) (#43463)
bp #36811
2024-11-08 09:38:54 +08:00
7de7541ec6 branch-2.1: [fix](ES Catalog)Only like on keyword can be applied to wildcard query (#43400)
Cherry-picked from #41176

Co-authored-by: qiye <jianliang5669@gmail.com>
2024-11-07 22:43:42 +08:00
12bb38eab3 [fix](build index)Fix build index failed on renamed column (#42882)(#43246)(#43336) (#43266)
bp #42882 #43246 #43336
We pick these PRs together because they all fix one problem and if not
do so, the regression test won't be passed.

---------

Co-authored-by: Sun Chenyang <csun5285@gmail.com>
Co-authored-by: qidaye <luen@selectdb.com>
2024-11-07 21:32:02 +08:00
bbfed507da [fix](schema-change) Make sc job state updated after the table state is changed (#42670) (#43186)
pick: #42670
2024-11-07 14:07:24 +08:00
8fedb03fdc branch-2.1: [fix](auth)Fix after fe restarting, external permissions are lost (#43307)
Cherry-picked from #43275

Co-authored-by: zhangdong <493738387@qq.com>
2024-11-06 14:54:59 +08:00
9d5ebd6f34 [fix](export) make sure the export task being executed after writing "create export job" edit log #43250 (#43291)
cherry-pick #43250
2024-11-06 09:47:14 +08:00
71e33d9208 [feat](nereids)disable join reorder if any table row count is not available #43000 (branch-2.1) (#43247)
### What problem does this PR solve?
pick #43000 

<!--
You need to clearly describe your PR in this part:

1. What problem was fixed (it's best to include specific error reporting
information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what
is it now, why was it modified, and what possible impacts might there
be.
3. What features were added. Why this function was added.
4. Which codes were refactored and why this part of the code was
refactored.
5. Which functions were optimized and what is the difference before and
after the optimization.

The description of the PR needs to enable reviewers to quickly and
clearly understand the logic of the code modification.
-->

<!--
If there are related issues, please fill in the issue number.
- If you want the issue to be closed after the PR is merged, please use
"close #12345". Otherwise, use "ref #12345"
-->
Issue Number: close #xxx

<!--
If this PR is followup a preivous PR, for example, fix the bug that
introduced by a related PR,
link the PR here
-->
Related PR: #xxx

Problem Summary:

### Check List (For Committer)

- 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 colde 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 -->

- Release note

    <!-- bugfix, feat, behavior changed need a release note -->
    <!-- Add one line release note for this PR. -->
    None

### 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 -->
2024-11-05 18:29:50 +08:00
2e00fa475b [fix](persist) Fix the generated dropping tmp partition sql #43079 (#43170)
cherry pick from #43079
2024-11-05 17:44:31 +08:00
8eb6a2a7c1 [enhancement](Nereids) boost characterLiteralTypeCoercion (#42941) (#43092)
cherry pick from #42941
2024-11-04 11:50:44 +08:00
d1e63c5201 [improvement](external)add some improvements for external scan (#38946) (#43156)
bp #38946

Co-authored-by: wuwenchi <wuwenchihdu@hotmail.com>
2024-11-04 09:40:08 +08:00
e3170d6319 [bugfix](hive)fix after insert overwrite hive table, data error for 2.1 (#43049) (#43127)
bp: #43049
2024-11-03 23:38:47 +08:00
9e7a1c9ae8 [fix](export) fix potential export concurrency issue #43109 (#43117)
bp #43109
2024-11-02 08:53:43 +08:00
c5374be1bc [cherry-pick](branch-2.1) Pick "[Feature](schema change) Support add column bitmap with default value bitmap_empty (#42331)" (#42702)
Pick #42331
2024-11-01 21:46:38 +08:00
03a614f945 [fix](Export) fix dead lock of parallel Exporting (#43084)
### What problem does this PR solve?
bp: #43083
2024-11-01 21:27:25 +08:00
6c3a273d46 [fix](Nereids) replay create function npe since connect context not exists (#43075)
nereids will parse function statement when replay create alias function,
when do parse, need to get sql mode and other variable. because replay
thread do not have connect context, NPE be thrown when parsing
2024-11-01 21:01:24 +08:00
47fa76e0f6 [2.1][fix](jdbc catalog) Optimize JDBC Connection Closing to Ensure Proper Resource Release (#43074)
bp #43059
2024-11-01 20:34:18 +08:00
cb25c40ddf [fix](export) fix concurrent modification issue with export job #43051 (#43052)
bp #43051
2024-11-01 17:19:29 +08:00
355170a921 [cherry-pick](branch2.1) impl scalar functions trim_in、ltrim_in and rtrim_in (#42641)
pick https://github.com/apache/doris/pull/41681
2024-11-01 09:55:50 +08:00
e85e6c89ba [fix](auditlog) add missing audit log fields and duplicate audit log error #42262 (#43015)
bp #42262
2024-11-01 08:24:55 +08:00
df2bd6d525 [improvement](statistics)Improve statisitcs insert into audit log. (#42983) (#43032)
backport: https://github.com/apache/doris/pull/42983
2024-11-01 07:47:40 +08:00
a5efe1c66e [improve](restore) Log create replica task progress #42350 (#42967)
cherry pick from #42350
2024-10-31 14:36:34 +08:00
c573351e4e [fix](tvf) fix FE cannot start when replay alter view from tvf (#42866)
bp: #40872
2024-10-31 14:15:48 +08:00
6c3d42e09a [cherry-pick](branch-21) cherry-pick pr about (#42488) (#42099) (#42055) (#42916)
## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
2024-10-31 14:14:19 +08:00
cc30a7e78e [fix](test) fix some unstable external p0 test cases (#42685) (#42943)
cherry-pick #42685

Co-authored-by: daidai <2017501503@qq.com>
2024-10-31 12:36:03 +08:00
597bcb112b [fix](Nerieds) fix FoldConstantRuleOnFE too slow when CaseWhen clause nesting multiple layers (#42897) (#42907)
cherry pick from master #42897
2024-10-31 11:15:34 +08:00
cdd32d9582 [enhance](hive) support reading hive table with OpenCSVSerde #42257 (#42940)
cherry pick from #42257

Co-authored-by: Socrates <suxiaogang223@icloud.com>
2024-10-31 11:12:07 +08:00
d67007c72d [improvement](statistics)Add log for estimating hive table row count logic. (#42921) (#42931)
backport: https://github.com/apache/doris/pull/42921
2024-10-31 10:30:41 +08:00
0f9c2c2f0a [fix](export) remove export task executor in TransientTaskExecutor (#42880)
### What problem does this PR solve?

Problem Summary:

There is a memory leak on FE side when continue running `export`
command.
The `ExportTaskExecutor` instances will be added to
`TransientTaskManager` and never be removed.

This PR mainly changes:
1. Remove unused `ExportTaskRegister` in `Env`.
2. Remove `ExportTaskExecutor` from `TransientTaskManager` once export
job is finished or cancelled.

### Release note

Fix FE memory leak by removing `ExportTaskExecutor` from
`TransientTaskManager` once export job is finished or cancelled.
2024-10-31 09:57:40 +08:00
ae88d032db [chore](ddl) support force_enable_feature_binlog #41796 (#42926)
cherry pick from #41796
2024-10-31 09:53:45 +08:00
fce4695f37 [Configuration](transactional-hive) Add skip_checking_acid_version_file session var to skip checking acid version file in some hive envs. (#42111)(#42225) (#42939)
cherry-pick (#42111)(#42225)

---------

Co-authored-by: Qi Chen <kaka11.chen@gmail.com>
2024-10-31 09:52:20 +08:00
0d008b5a43 [feat](nereids)disable join reorder if column stats is invalid #41790 (branch-2.1) (#42902)
## Proposed changes
pick #41790
Issue Number: close #xxx

<!--Describe your changes.-->
2024-10-30 23:47:03 +08:00
2a6d6c15c5 [enhance](hive)hive event code optimization #42637 (#42876)
cherry pick from #42637

Co-authored-by: zhangdong <493738387@qq.com>
2024-10-30 12:52:21 +08:00
17d84dc88f [enhance](paimon)paimon scanner code optimization #42606 (#42875)
cherry pick from #42606

Co-authored-by: zhangdong <493738387@qq.com>
2024-10-30 12:51:59 +08:00
ba4d01d93c [branch-2.1](hint) add detail for replica missing msg (#42546) 2024-10-29 22:47:41 +08:00
233fad4815 [opt](variable) force update some variable by variable version (#41607) (#42643)
pick from master #41607

variable version:
000-100: doris-2.0.x
100-200: doris-2.1.x
200-300: doris-3.0.x

update variables

000:
nereids_timeout_second = 30 if original value is 5

100:
enable_nereids_dml = true
enable_nereids_dml_with_pipeline = true
enable_nereids_planner = true
enable_fallback_to_original_planner = true
enable_pipeline_x_engine = true
2024-10-29 15:57:14 +08:00
1538b82221 [Impl](Nereids) add nereids gc cost time and be fold const cost time to profile (#42007) (#42516)
pick:#42007
add Nereids GarbageCollect Time and Nereids BeFoldConst Time to profile

## Proposed changes

Issue Number: close #xxx

<!--Describe your changes.-->
2024-10-29 15:16:40 +08:00
d5c43c51b5 [branch-2.1](fe) Avoid interrupt daemon thread and use proper polling interval (#42210) (#42646)
pick https://github.com/apache/doris/pull/42210
2024-10-29 10:10:26 +08:00
73621c480a [fix](log) fix group commit warn log (#42403) (#42575)
pick https://github.com/apache/doris/pull/42403
2024-10-28 21:04:29 +08:00
0baca54200 [fix](Nereids) offset do more than once when have shuffle after limit (#42576) (#42577)
pick from master #42576

intro by #39316. it want to fix a problem intro by #36699. but forgot to
remove all wrong code in #36699.

after #39316, we should not set offset on exchange, when the exchange is
on the top of a limit with offset.
2024-10-28 19:48:13 +08:00
85674814eb [fix](query-forward) Fix forward query exception or stuck or potential query result loss (#41303) (#42369)
## Proposed changes

1. Fix forward query exception if no status code is set in master
execution. EOF may result in this status.

2. Fix forward query stuck due to no result packet sent to mysql
channel. Should use result packets from master.

3. Fix potential forward query result loss if follower can read status
change during query process. Should judge by the status once before
execution.

4. Add assertion for regression test.
2024-10-28 17:39:57 +08:00