Skip to content

Commit 5ac7dd0

Browse files
committed
Merge remote-tracking branch 'upstream/main' into feature_update
2 parents 51caf0c + 72bde50 commit 5ac7dd0

File tree

241 files changed

+5703
-3826
lines changed

Some content is hidden

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

241 files changed

+5703
-3826
lines changed

.github/actions/artifact_failure/action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,15 @@ runs:
1010
- name: pack failure artifacts
1111
shell: bash
1212
run: |
13-
tar --warning=no-file-changed \
14-
--exclude='target' \
13+
tar --exclude='target' \
1514
--exclude='website' \
1615
--exclude='docs' \
1716
--exclude='docker' \
1817
--exclude='bins' \
1918
--exclude='.git' \
2019
--exclude='tests/suites/0_stateless/13_tpch/data' \
21-
--exclude='failure-*' \
22-
-zcf failure-${{ inputs.name }}.tar.gz .
20+
-zcf target/failure-${{ inputs.name }}.tar.gz .
2321
- uses: actions/upload-artifact@v3
2422
with:
2523
name: ${{ inputs.name }}
26-
path: failure-${{ inputs.name }}.tar.gz
24+
path: target/failure-${{ inputs.name }}.tar.gz

.github/actions/test_sqllogic_cluster_linux/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,3 @@ runs:
3131
env:
3232
TEST_HANDLERS: ${{ inputs.handlers }}
3333
run: bash ./scripts/ci/ci-run-sqllogic-tests-cluster.sh ${{ inputs.dirs }}
34-
- name: Upload failure
35-
if: failure() || cancelled()
36-
uses: ./.github/actions/artifact_failure
37-
with:
38-
name: test-sqllogic-cluster-${{ inputs.handlers }}-${{ inputs.dirs }}

.github/actions/test_sqllogic_standalone_linux/action.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,3 @@ runs:
3131
env:
3232
TEST_HANDLERS: ${{ inputs.handlers }}
3333
run: bash ./scripts/ci/ci-run-sqllogic-tests.sh ${{ inputs.dirs }}
34-
- name: Upload failure
35-
if: failure() || cancelled()
36-
uses: ./.github/actions/artifact_failure
37-
with:
38-
name: test-sqllogic-standalone-${{ inputs.handlers }}-${{ inputs.dirs }}

.github/workflows/dev-linux.yml

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ env:
2222

2323
jobs:
2424
check:
25-
timeout-minutes: 30
2625
runs-on: [self-hosted, X64, Linux, dev]
2726
steps:
2827
- uses: actions/checkout@v3
2928
with:
3029
# fetch all tags, metasrv and metaclient need tag as its version.
3130
fetch-depth: 0
3231
- uses: ./.github/actions/check
32+
timeout-minutes: 30
3333
with:
3434
github_token: ${{ secrets.GITHUB_TOKEN }}
3535

@@ -81,59 +81,58 @@ jobs:
8181
profile: debug
8282

8383
test_unit:
84-
timeout-minutes: 30
8584
runs-on: [self-hosted, X64, Linux, dev]
8685
steps:
8786
- uses: actions/checkout@v3
8887
with:
8988
# fetch all tags, metasrv and metaclient need tag as its version.
9089
fetch-depth: 0
9190
- uses: ./.github/actions/test_unit
91+
timeout-minutes: 30
9292
with:
9393
codecov_token: ${{ secrets.CODECOV_TOKEN }}
9494

9595
test_metactl:
96-
timeout-minutes: 10
9796
runs-on: [self-hosted, X64, Linux, dev]
9897
needs: build_gnu
9998
steps:
10099
- uses: actions/checkout@v3
101100
- uses: ./.github/actions/test_metactl
101+
timeout-minutes: 10
102102

103103
test_meta-upgrade-09:
104-
timeout-minutes: 10
105104
runs-on: [self-hosted, X64, Linux, dev]
106105
needs: build_gnu
107106
steps:
108107
- uses: actions/checkout@v3
109108
- uses: ./.github/actions/test_meta-upgrade-09
109+
timeout-minutes: 10
110110

111111
test_compat:
112-
timeout-minutes: 10
113112
runs-on: [self-hosted, X64, Linux, dev]
114113
needs: build_gnu
115114
steps:
116115
- uses: actions/checkout@v3
117116
- uses: ./.github/actions/test_compat
117+
timeout-minutes: 10
118118

119119
fuse_compat:
120-
timeout-minutes: 10
121120
runs-on: [self-hosted, X64, Linux, dev]
122121
needs: build_gnu
123122
steps:
124123
- uses: actions/checkout@v3
125124
- uses: ./.github/actions/fuse_compat
125+
timeout-minutes: 10
126126

127127
test_meta_cluster:
128-
timeout-minutes: 10
129128
runs-on: [self-hosted, X64, Linux, dev]
130129
needs: build_gnu
131130
steps:
132131
- uses: actions/checkout@v3
133132
- uses: ./.github/actions/test_meta_cluster
133+
timeout-minutes: 10
134134

135135
test_sqllogic_standalone_linux:
136-
timeout-minutes: 30
137136
name: test_sqllogic_${{ matrix.dirs }}_standalone_linux
138137
runs-on: [self-hosted, X64, Linux, dev]
139138
needs: build_gnu
@@ -151,9 +150,16 @@ jobs:
151150
steps:
152151
- uses: actions/checkout@v3
153152
- uses: ./.github/actions/test_sqllogic_standalone_linux
153+
timeout-minutes: 30
154154
with:
155155
dirs: ${{ matrix.dirs }}
156156
handlers: ${{ matrix.handlers }}
157+
- name: Upload failure
158+
if: failure() || cancelled()
159+
uses: ./.github/actions/artifact_failure
160+
with:
161+
name: test-sqllogic-standalone-${{ matrix.handlers }}-${{ matrix.dirs }}
162+
157163

158164
test_sqllogic_management_mode_linux:
159165
timeout-minutes: 30
@@ -174,7 +180,6 @@ jobs:
174180
handlers: ${{ matrix.handlers }}
175181

176182
test_sqllogic_cluster_linux:
177-
timeout-minutes: 30
178183
name: test_sqllogic_${{ matrix.dirs }}_cluster_linux
179184
runs-on: [self-hosted, X64, Linux, dev]
180185
needs: build_gnu
@@ -192,9 +197,16 @@ jobs:
192197
steps:
193198
- uses: actions/checkout@v3
194199
- uses: ./.github/actions/test_sqllogic_cluster_linux
200+
timeout-minutes: 30
195201
with:
196202
dirs: ${{ matrix.dirs }}
197203
handlers: ${{ matrix.handlers }}
204+
- name: Upload failure
205+
if: failure() || cancelled()
206+
uses: ./.github/actions/artifact_failure
207+
with:
208+
name: test-sqllogic-cluster-${{ matrix.handlers }}-${{ matrix.dirs }}
209+
198210

199211
test_stateless_standalone_linux:
200212
timeout-minutes: 20

Cargo.lock

Lines changed: 17 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ rpath = false
170170
# For example:
171171
# arrow-format = { git = "https://github.com/datafuse-extras/arrow-format", rev = "78dacc1" }
172172

173-
arrow2 = { git = "https://github.com/jorgecarleitao/arrow2", rev = "211be21" }
173+
arrow2 = { git = "https://github.com/jorgecarleitao/arrow2", rev = "ac28bc9" }
174174
parquet2 = { git = "https://github.com/jorgecarleitao/parquet2", rev = "ed0e1ff" }
175175
limits-rs = { git = "https://github.com/datafuse-extras/limits-rs", rev = "abfcf7b" }
176176
metrics = { git = "https://github.com/datafuse-extras/metrics.git", rev = "bc49d03" }

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center">The Future of Cloud Data Analysis</h1>
1+
<h1 align="center">The Future of Cloud Data Analytics</h1>
22

33
<div align="center">
44

@@ -42,7 +42,7 @@
4242
</div>
4343
</div>
4444

45-
<img src="https://user-images.githubusercontent.com/172204/218997620-2bbdbbfe-9351-421e-bf6e-6cc5e0f3881b.svg" alt="databend" />
45+
<img src="https://user-images.githubusercontent.com/172204/219559279-ab7a11a4-9437-4a0a-85e8-cedf9ba0e24b.svg" alt="databend" />
4646

4747
## What is Databend?
4848

@@ -162,6 +162,7 @@ docker run --net=host datafuselabs/databend
162162
- [How to Drop a Table](https://databend.rs/doc/sql-commands/ddl/table/ddl-drop-table)
163163
- [How to Rename a Table](https://databend.rs/doc/sql-commands/ddl/table/ddl-rename-table)
164164
- [How to Truncate a Table](https://databend.rs/doc/sql-commands/ddl/table/ddl-truncate-table)
165+
- [How to Add/Drop Table Column](https://databend.rs/doc/sql-commands/ddl/table/alter-table-column)
165166

166167
### Managing Views
167168

@@ -209,7 +210,6 @@ For general help in using Databend, please refer to the official documentation.
209210
- [Slack](https://link.databend.rs/join-slack) (For live discussion with the Community)
210211
- [GitHub](https://github.com/datafuselabs/databend) (Feature/Bug reports, Contributions)
211212
- [Twitter](https://twitter.com/Datafuse_Labs) (Get the news fast)
212-
- [Weekly](https://weekly.databend.rs/) (A weekly newsletter about Databend)
213213
- [I'm feeling lucky](https://link.databend.rs/i-m-feeling-lucky) (Pick up a good first issue now!)
214214

215215
## Roadmap

0 commit comments

Comments
 (0)