Skip to content

Commit f6c8771

Browse files
authored
Merge branch 'master' into dh-cloud-patch-3
2 parents f219ed5 + 2f77051 commit f6c8771

File tree

23,643 files changed

+3918446
-626281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

23,643 files changed

+3918446
-626281
lines changed

.asf.yaml

Lines changed: 59 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -16,129 +16,149 @@
1616
#
1717

1818
github:
19-
description: Apache Doris is an easy-to-use, high performance and unified analytics database.
19+
description: Apache Doris is an easy-to-use, high performance and unified analytics database.
2020
homepage: https://doris.apache.org
2121
labels:
2222
- real-time
2323
- query-engine
2424
- olap
2525
- lakehouse
26-
- etl
26+
- ai
27+
- agent
2728
- elt
2829
- sql
2930
- snowflake
3031
- redshift
3132
- bigquery
32-
- hive
3333
- iceberg
3434
- hudi
3535
- delta-lake
36+
- paimon
3637
- spark
37-
- hadoop
3838
- dbt
3939
- database
40-
4140
enabled_merge_buttons:
4241
squash: true
4342
merge: false
4443
rebase: false
4544
protected_branches:
4645
master:
4746
required_status_checks:
48-
# if strict is true, means "Require branches to be up to date before merging".
4947
strict: false
5048
contexts:
5149
- License Check
5250
- Clang Formatter
5351
- CheckStyle
5452
- P0 Regression (Doris Regression)
55-
- P1 Regression (Doris Regression)
53+
- NonConcurrent Regression (Doris Regression)
5654
- External Regression (Doris External Regression)
57-
- cloud_p1 (Doris Cloud Regression)
55+
- cloud_p0 (Doris Cloud Regression)
56+
- vault_p0 (Doris Cloud Regression)
5857
- FE UT (Doris FE UT)
5958
- BE UT (Doris BE UT)
6059
- Build Broker
61-
- ShellCheck
6260
- Build Third Party Libraries (Linux)
6361
- Build Third Party Libraries (macOS)
6462
- Build Third Party Libraries (macOS-arm64)
6563
- COMPILE (DORIS_COMPILE)
6664
- Need_2_Approval
6765
- Cloud UT (Doris Cloud UT)
6866
- performance (Doris Performance)
69-
67+
- check_coverage (Coverage)
7068
required_pull_request_reviews:
7169
dismiss_stale_reviews: true
7270
require_code_owner_reviews: true
7371
required_approving_review_count: 1
74-
branch-1.1-lts:
72+
branch-3.1:
7573
required_status_checks:
76-
# if strict is true, means "Require branches to be up to date before merging".
7774
strict: false
7875
contexts:
7976
- License Check
80-
77+
- Clang Formatter
78+
- CheckStyle
79+
- Build Broker
80+
- Build Third Party Libraries (Linux)
81+
- FE UT (Doris FE UT)
82+
- BE UT (Doris BE UT)
83+
- Cloud UT (Doris Cloud UT)
84+
- COMPILE (DORIS_COMPILE)
85+
- P0 Regression (Doris Regression)
86+
- NonConcurrent Regression (Doris Regression)
87+
- External Regression (Doris External Regression)
88+
- cloud_p0 (Doris Cloud Regression)
89+
- vault_p0 (Doris Cloud Regression)
90+
- performance (Doris Performance)
8191
required_pull_request_reviews:
92+
require_code_owner_reviews: true
93+
required_approving_review_count: 1
8294
dismiss_stale_reviews: true
95+
branch-3.0:
96+
required_status_checks:
97+
strict: false
98+
contexts:
99+
- License Check
100+
- Clang Formatter
101+
- CheckStyle
102+
- Build Broker
103+
- Build Third Party Libraries (Linux)
104+
- FE UT (Doris FE UT)
105+
- BE UT (Doris BE UT)
106+
- Cloud UT (Doris Cloud UT)
107+
- COMPILE (DORIS_COMPILE)
108+
- P0 Regression (Doris Regression)
109+
- NonConcurrent Regression (Doris Regression)
110+
- External Regression (Doris External Regression)
111+
- cloud_p0 (Doris Cloud Regression)
112+
- vault_p0 (Doris Cloud Regression)
113+
required_pull_request_reviews:
114+
require_code_owner_reviews: true
83115
required_approving_review_count: 1
84-
116+
dismiss_stale_reviews: true
85117
branch-2.1:
86118
required_status_checks:
87-
# strict means "Require branches to be up to date before merging".
88119
strict: false
89120
contexts:
90121
- License Check
91122
- Clang Formatter
92123
- CheckStyle
93124
- Build Broker
94-
- ShellCheck
95125
- Build Third Party Libraries (Linux)
96-
- Build Third Party Libraries (macOS)
97126
- COMPILE (DORIS_COMPILE)
98127
- External Regression (Doris External Regression)
99128
- FE UT (Doris FE UT)
100129
- BE UT (Doris BE UT)
101130
- P0 Regression (Doris Regression)
102-
103-
required_pull_request_reviews:
104-
dismiss_stale_reviews: true
105-
required_approving_review_count: 1
106-
131+
required_pull_request_reviews:
132+
require_code_owner_reviews: true
133+
required_approving_review_count: 1
134+
dismiss_stale_reviews: true
107135
branch-2.0:
108136
required_status_checks:
109-
# if strict is true, means "Require branches to be up to date before merging".
110137
strict: false
111138
contexts:
112139
- License Check
113-
- Clang Formatter
114140
- CheckStyle
115141
- P0 Regression (Doris Regression)
116-
- P1 Regression (Doris Regression)
117142
- External Regression (Doris External Regression)
118143
- FE UT (Doris FE UT)
119144
- BE UT (Doris BE UT)
120145
- Build Broker
121-
- ShellCheck
122146
- Build Third Party Libraries (Linux)
123147
- Build Third Party Libraries (macOS)
124148
- COMPILE (DORIS_COMPILE)
125-
126-
required_pull_request_reviews:
127-
dismiss_stale_reviews: true
128-
required_approving_review_count: 1
129-
149+
required_pull_request_reviews:
150+
dismiss_stale_reviews: true
151+
required_approving_review_count: 1
130152
collaborators:
131-
- LemonLiTree
132153
- Yukang-Lian
133154
- TangSiyang2001
134-
- Lchangliang
135155
- freemandealer
136156
- shuke987
137157
- wm1581066
138-
- KassieZ
139-
- yujun777
140-
- gavinchou
141-
158+
- doris-robot
159+
- echo-hhj
160+
- yuanyuan8983
161+
- yz-jayhua
162+
- ixzc
142163
notifications:
143-
pullrequests_status: commits@doris.apache.org
144-
164+
pullrequests_status: commits@doris.apache.org

.clang-format-ignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ be/src/util/sse2neon.h
99
be/src/util/mustache/mustache.h
1010
be/src/util/mustache/mustache.cc
1111
be/src/util/utf8_check.cpp
12+
cloud/src/common/defer.h

.clang-tidy

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ Checks: |
1616
misc-unused-*,
1717
-misc-unused-parameters,
1818
readability-*,
19+
-readability-simplify-boolean-expr,
20+
-readability-math-missing-parentheses,
21+
-readability-redundant-inline-specifier,
1922
-readability-identifier-length,
2023
-readability-implicit-bool-conversion,
2124
-readability-magic-numbers,
@@ -25,7 +28,6 @@ Checks: |
2528
-readability-named-parameter,
2629
-readability-avoid-const-params-in-decls,
2730
-readability-convert-member-functions-to-static,
28-
portability-simd-intrinsics,
2931
performance-type-promotion-in-math-fn,
3032
performance-faster-string-find,
3133
performance-inefficient-algorithm,

.dlc.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@
1515
*.proto text eol=lf
1616
*.conf text eol=lf
1717
*.out text eol=lf -diff
18+
*.groovy -linguist-detectable
19+
regression-test/ export-ignore

.github/CODEOWNERS

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,26 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17-
be/src/io/* @platoneko @gavinchou @dataroaring
17+
18+
# for more syntax help and usage example
19+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#codeowners-syntax
20+
21+
be/src/io/ @gavinchou @dataroaring
22+
be/src/agent/be_exec_version_manager.cpp @BiteTheDDDDt
1823
fe/fe-core/src/main/java/org/apache/doris/catalog/Env.java @dataroaring @CalvinKirs @morningman
24+
**/pom.xml @CalvinKirs @morningman
25+
fe/fe-common/src/main/java/org/apache/doris/common/FeMetaVersion.java @dataroaring @morningman @yiguolei @xiaokang
26+
fe/fe-core/src/main/java/org/apache/doris/cloud/ @luwei16 @gavinchou @dearding @dataroaring
27+
cloud/src/meta-service/*job* @luwei16 @gavinchou @dataroaring
28+
cloud/src/meta-service/*meta_service_txn* @swjtu-zhanglei @gavinchou @dataroaring
29+
cloud/src/meta-service/*resource* @deardeng @gavinchou @dataroaring
30+
cloud/src/resource-manager/* @deardeng @gavinchou @dataroaring
31+
cloud/src/recycler/* @swjtu-zhanglei @gavinchou @dataroaring
32+
be/src/cloud/*compact* @luwei16 @gavinchou @dataroaring
33+
be/src/cloud/*schema* @luwei16 @gavinchou @dataroaring
34+
cloud/ @gavinchou @dataroaring @w41ter
35+
be/src/cloud/ @gavinchou @dataroaring
36+
gensrc/proto/olap_file.proto @gavinchou @dataroaring @yiguolei
37+
gensrc/proto/cloud.proto @gavinchou @dataroaring @w41ter
38+
fe/fe-core/src/main/java/org/apache/doris/fs @CalvinKirs
39+
fe/fe-core/src/main/java/org/apache/doris/fsv2 @CalvinKirs

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,39 @@
1-
## Proposed changes
1+
### What problem does this PR solve?
22

33
Issue Number: close #xxx
44

5-
<!--Describe your changes.-->
5+
Related PR: #xxx
6+
7+
Problem Summary:
8+
9+
### Release note
10+
11+
None
12+
13+
### Check List (For Author)
14+
15+
- Test <!-- At least one of them must be included. -->
16+
- [ ] Regression test
17+
- [ ] Unit Test
18+
- [ ] Manual test (add detailed scripts or steps below)
19+
- [ ] No need to test or manual test. Explain why:
20+
- [ ] This is a refactor/code format and no logic has been changed.
21+
- [ ] Previous test can cover this change.
22+
- [ ] No code files have been changed.
23+
- [ ] Other reason <!-- Add your reason? -->
24+
25+
- Behavior changed:
26+
- [ ] No.
27+
- [ ] Yes. <!-- Explain the behavior change -->
28+
29+
- Does this need documentation?
30+
- [ ] No.
31+
- [ ] Yes. <!-- Add document PR link here. eg: https://github.com/apache/doris-website/pull/1214 -->
32+
33+
### Check List (For Reviewer who merge this PR)
34+
35+
- [ ] Confirm the release note
36+
- [ ] Confirm test cases
37+
- [ ] Confirm document
38+
- [ ] Add branch pick label <!-- Add branch pick label that this PR should merge into -->
639

.github/actions/setup-maven

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
#
18+
name: Auto Cherry-Pick to Branch
19+
20+
on:
21+
pull_request_target:
22+
types:
23+
- closed
24+
- labeled
25+
branches:
26+
- master
27+
permissions:
28+
checks: write
29+
contents: write
30+
pull-requests: write
31+
jobs:
32+
auto_cherry_pick:
33+
runs-on: ubuntu-latest
34+
if: ${{(contains(github.event.pull_request.labels.*.name, 'dev/3.0.x') || contains(github.event.pull_request.labels.*.name, 'dev/2.1.x') || contains(github.event.pull_request.labels.*.name, 'dev/3.1.x') || github.event.label.name == 'dev/3.0.x' || github.event.label.name == 'dev/2.1.x' || github.event.label.name == 'dev/3.1.x') && github.event.pull_request.merged == true }}
35+
steps:
36+
- name: Checkout repository
37+
uses: actions/checkout@v3
38+
39+
- name: Set up Python
40+
uses: actions/setup-python@v4
41+
with:
42+
python-version: '3.x'
43+
44+
- name: Install dependencies
45+
run: |
46+
pip install PyGithub
47+
- name: Check SHA
48+
run: |
49+
expected_sha="5439ca6304c986a5b26e8f48d528253909b417597088fe98969afee5c2eccbe6d60c5cd1eb03d452eb8082ce2a8ff4ea18854770375487a30bd4af7af9afd322"
50+
calculated_sha=$(sha512sum tools/auto-pick-script.py | awk '{ print $1 }')
51+
if [ "$calculated_sha" != "$expected_sha" ]; then
52+
echo "SHA mismatch! Expected: $expected_sha, but got: $calculated_sha"
53+
exit 1
54+
else
55+
echo "SHA matches: $calculated_sha"
56+
fi
57+
- name: Auto cherry-pick to branch-3.0
58+
if: ${{ ((github.event.action == 'labeled' && github.event.label.name == 'dev/3.0.x'))|| ((github.event_name == 'pull_request_target' && github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'dev/3.0.x')) }}
59+
env:
60+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61+
REPO_NAME: ${{ github.repository }}
62+
CONFLICT_LABEL: dev/3.0.x-conflict
63+
run: |
64+
python tools/auto-pick-script.py ${{ github.event.pull_request.number }} branch-3.0
65+
- name: Auto cherry-pick to branch-2.1
66+
if: ${{ ((github.event.action == 'labeled' && github.event.label.name == 'dev/2.1.x'))|| ((github.event_name == 'pull_request_target' && github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'dev/2.1.x')) }}
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
69+
REPO_NAME: ${{ github.repository }}
70+
CONFLICT_LABEL: dev/2.1.x-conflict
71+
run: |
72+
python tools/auto-pick-script.py ${{ github.event.pull_request.number }} branch-2.1
73+
- name: Auto cherry-pick to branch-3.1
74+
if: ${{ ((github.event.action == 'labeled' && github.event.label.name == 'dev/3.1.x'))|| ((github.event_name == 'pull_request_target' && github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'dev/3.1.x')) }}
75+
env:
76+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
REPO_NAME: ${{ github.repository }}
78+
CONFLICT_LABEL: dev/3.1.x-conflict
79+
run: |
80+
python tools/auto-pick-script.py ${{ github.event.pull_request.number }} branch-3.1

0 commit comments

Comments
 (0)