Skip to content

Commit 5a1713c

Browse files
committed
Merge branch 'main' into in-improve
2 parents 7971ecf + 75273b0 commit 5a1713c

File tree

277 files changed

+8197
-1773
lines changed

Some content is hidden

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

277 files changed

+8197
-1773
lines changed

.github/workflows/databend-release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,13 @@ jobs:
306306
id: get_image_tags
307307
shell: bash
308308
run: |
309-
dockerhub_base=${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}
310-
ecr_base=${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}
311-
_tags="${dockerhub_base}-${{ matrix.distro }},${ecr_base}-${{ matrix.distro }}"
309+
_tags="${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}-${{ matrix.distro }}"
310+
_tags="${_tags},${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}-${{ matrix.distro }}"
312311
if [[ "${{ matrix.distro }}" == "debian" ]]; then
313-
_tags="${_tags},${dockerhub_base},${ecr_base}"
312+
_tags="${_tags},${{ steps.login.outputs.dockerhub_repo }}:${{ needs.create_release.outputs.version }}"
313+
_tags="${_tags},${{ steps.login.outputs.ecr_repo }}:${{ needs.create_release.outputs.version }}"
314+
_tags="${_tags},${{ steps.login.outputs.dockerhub_repo }}:latest"
315+
_tags="${_tags},${{ steps.login.outputs.ecr_repo }}:latest"
314316
fi
315317
echo ::set-output name=IMAGE_TAGS::${_tags}
316318

Cargo.lock

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

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ Databend is licensed under [Apache 2.0](LICENSE).
200200

201201
## Acknowledgement
202202

203-
- Databend is inspired by [ClickHouse](https://github.com/clickhouse/clickhouse) and [Snowflake](https://docs.snowflake.com/en/user-guide/intro-key-concepts.html#snowflake-architecture), its computing model is based on [apache-arrow](https://arrow.apache.org/).
203+
- Databend is inspired by [ClickHouse](https://github.com/clickhouse/clickhouse) and [Snowflake](https://docs.snowflake.com/en/user-guide/intro-key-concepts.html#snowflake-architecture).
204+
- Databend's computing model is based on [Arrow2](https://github.com/jorgecarleitao/arrow2), Arrow2 is a faster and safer implementation of the Apache Arrow Columnar Format.
204205
- The [documentation website](https://databend.rs) is hosted by [Vercel](https://vercel.com/?utm_source=databend&utm_campaign=oss).
205206
- Thanks to [Mergify](https://mergify.com/) for sponsoring advanced features like Batch Merge.
206207
- Thanks to [QingCloud](https://qingcloud.com) for sponsoring CI resources.

docs/doc/30-reference/10-data-types/60-data-type-nullable-types.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Using `Nullable` will almost always have a negative impact on performance. If th
3333
Check whether the value is `NULL` or `NOT NULL`.
3434

3535
[IS NULL](/doc/reference/functions/conditional-functions/isnull)
36+
3637
[IS NOT NULL](/doc/reference/functions/conditional-functions/isnotnull)
3738

3839
### Example
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: FUSE_BLOCK
3+
---
4+
5+
Returns the block information of a snapshot of table.
6+
7+
## Syntax
8+
9+
```sql
10+
FUSE_BLOCK('<database_name>', '<table_name>'[, '<snapshot_id>'])
11+
```
12+
13+
## Examples
14+
15+
```sql
16+
CREATE TABLE mytable(c int);
17+
INSERT INTO mytable values(1);
18+
INSERT INTO mytable values(2);
19+
20+
SELECT * FROM FUSE_BLOCK('default', 'mytable');
21+
22+
---
23+
+----------------------------------+----------------------------+----------------------------------------------------+------------+----------------------------------------------------+-------------------+
24+
| snapshot_id | timestamp | block_location | block_size | bloom_filter_location | bloom_filter_size |
25+
+----------------------------------+----------------------------+----------------------------------------------------+------------+----------------------------------------------------+-------------------+
26+
| 51e84b56458f44269b05a059b364a659 | 2022-09-15 07:14:14.137268 | 1/7/_b/39a6dbbfd9b44ad5a8ec8ab264c93cf5_v0.parquet | 4 | 1/7/_i/39a6dbbfd9b44ad5a8ec8ab264c93cf5_v1.parquet | 221 |
27+
| 51e84b56458f44269b05a059b364a659 | 2022-09-15 07:14:14.137268 | 1/7/_b/d0ee9688c4d24d6da86acd8b0d6f4fad_v0.parquet | 4 | 1/7/_i/d0ee9688c4d24d6da86acd8b0d6f4fad_v1.parquet | 219 |
28+
+----------------------------------+----------------------------+----------------------------------------------------+------------+----------------------------------------------------+-------------------+
29+
```

scripts/kubernetes/meta-standalone.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ spec:
3636
- "meta-service.databend-system.svc.cluster.local"
3737
containers:
3838
- name: databend-meta
39-
image: datafuselabs/databend-meta:v0.6.100-nightly
39+
image: datafuselabs/databend-meta:latest
4040
command:
4141
- /databend-meta
4242
args:

scripts/kubernetes/query-cluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ spec:
164164
envFrom:
165165
- secretRef:
166166
name: query-secrets
167-
image: datafuselabs/databend-query:v0.6.100-nightly
167+
image: datafuselabs/databend-query:latest
168168
name: query
169169
ports:
170170
- name: http

src/common/base/src/containers/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
mod array;
1615
mod pool;
1716
mod ttlhmap;
1817

19-
pub use array::concat;
2018
pub use pool::ItemManager;
2119
pub use pool::Pool;
2220
pub use ttlhmap::CleanPolicy;

src/common/base/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@
1515
#![feature(backtrace)]
1616
#![feature(thread_local)]
1717
#![allow(incomplete_features)]
18-
#![feature(generic_const_exprs)]
19-
#![feature(const_maybe_uninit_as_mut_ptr)]
20-
#![feature(const_mut_refs)]
2118

2219
pub mod base;
2320
pub mod containers;

src/common/hashtable/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ common-base = { path = "../base" }
1616

1717
# Crates.io dependencies
1818
ahash = "0.7.6"
19-
ordered-float = "3.0.0"
19+
ordered-float = { git = "https://github.com/andylokandy/rust-ordered-float.git", branch = "as", features = ["serde"] }
2020
primitive-types = "0.11.1"
2121

2222
[dev-dependencies]

0 commit comments

Comments
 (0)