Commit Graph

9437 Commits

Author SHA1 Message Date
4c7e495392 [cherry-pick](branch-2.1) fix wrong property of S3 resource (#43413) 2024-11-10 18:17:51 +08:00
5ac3aee460 branch-2.1: [opt](max-compute) avoid repeated location path creation (#43383)
Cherry-picked from #43355

Co-authored-by: Mingyu Chen (Rayner) <morningman@163.com>
2024-11-10 10:11:37 +08:00
182f37f837 [fix](planner) NullLiteral should always having a correct Type and set to be analyzed (#43371) 2024-11-10 10:10:40 +08:00
1d740ff825 [fix](auditlog) set isQuery to true when query is short circuited (#42647) (#43345)
(#42647)
2024-11-10 10:08:56 +08:00
ea67e3a6b4 branch-2.1: [enhance](mtmv)MTMV interface optimization (#43329)
Cherry-picked from #43086

Co-authored-by: zhangdong <493738387@qq.com>
2024-11-10 10:07:35 +08:00
80fd76677e branch-2.1: [Improvement](LDAP Auth)Enhance LDAP authentication with a configurable group filter (#43293)
Cherry-picked from #42038

Co-authored-by: nsivarajan <117266407+nsivarajan@users.noreply.github.com>
Co-authored-by: Sivarajan Narayanan <narayanan_sivarajan@apple.com>
2024-11-10 10:06:13 +08:00
fe1b8d44fd branch-2.1: [fix](mtmv)Fix the problem where the job does not exist, which prevents the deletion of MTMV (#43325)
Cherry-picked from #43080

Co-authored-by: zhangdong <493738387@qq.com>
2024-11-10 01:11:26 +08:00
fba06b33b9 [cherry-pick](branch-2.1)add SessionVariable for enableCooldownReplicaAffinity (#42675)
pick from master:https://github.com/apache/doris/pull/41741
2024-11-10 00:46:26 +08:00
486dfe9f42 branch-2.1: [fix](auth)Fix concurrency issue during role manager upgrade (#43194)
Cherry-picked from #42419

Co-authored-by: zhangdong <493738387@qq.com>
2024-11-10 00:45:07 +08:00
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