Skip to content

Commit

Permalink
Merge branch 'main' into fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Sep 20, 2022
2 parents c54e6f4 + 3a38218 commit a830076
Show file tree
Hide file tree
Showing 363 changed files with 5,250 additions and 2,135 deletions.
88 changes: 47 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ members = [
"src/query/functions-v2",
"src/query/legacy-parser",
"src/query/management",
"src/query/planner",
"src/query/pipeline/core",
"src/query/pipeline/sinks",
"src/query/pipeline/sources",
Expand Down
2 changes: 1 addition & 1 deletion docs/doc/100-faq/40-how-to-write-scalar-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ It's really simple, `S: AsPrimitive<f64>` means we can accept a primitive value
```rust
impl Function for SqrtFunction {
fn name(&self) -> &str {
&*self.display_name
&self.display_name
}

fn return_type(&self) -> DataTypeImpl {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
title: FUSE_BLOCK
---

Returns the block information of a snapshot of table.
Returns the block information for the latest or a specifed snapshot of a table.

The command returns the location information of each parquet file related to a snapshot. This enables downstream applications to access and consume the data stored in the files.

## Syntax

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ INSERT INTO mytable VALUES(4,4);
SELECT * FROM FUSE_SNAPSHOT('default','mytable');

---
| snapshot_id | snapshot_location | format_version | previous_snapshot_id | segment_count | block_count | row_count | bytes_uncompressed | bytes_compressed | timestamp |
|----------------------------------|------------------------------------------------------------|----------------|----------------------------------|---------------|-------------|-----------|--------------------|------------------|----------------------------|
| dd98266f968f4817b470255592d04fda | 670655/670675/_ss/dd98266f968f4817b470255592d04fda_v1.json | 1 | \N | 1 | 1 | 2 | 16 | 290 | 2022-09-07 01:58:55.204997 |
| 2f2d004ff6f842cdb25f5631b2bbb703 | 670655/670675/_ss/2f2d004ff6f842cdb25f5631b2bbb703_v1.json | 1 | dd98266f968f4817b470255592d04fda | 2 | 2 | 4 | 32 | 580 | 2022-09-07 01:59:09.742999 |
| 0aa6dfd5d5364bde80f21161ba48c96e | 670655/670675/_ss/0aa6dfd5d5364bde80f21161ba48c96e_v1.json | 1 | 2f2d004ff6f842cdb25f5631b2bbb703 | 3 | 3 | 5 | 40 | 862 | 2022-09-07 01:59:16.858454 |
| snapshot_id | snapshot_location | format_version | previous_snapshot_id | segment_count | block_count | row_count | bytes_uncompressed | bytes_compressed | index_size | timestamp |
|----------------------------------|------------------------------------------------------------|----------------|----------------------------------|---------------|-------------|-----------|--------------------|------------------|------------|----------------------------|
| a13d211b7421432898a3786848b8ced3 | 670655/783287/_ss/a13d211b7421432898a3786848b8ced3_v1.json | 1 | \N | 1 | 1 | 2 | 16 | 290 | 363 | 2022-09-19 14:51:52.860425 |
| cf08e6af6c134642aeb76bc81e6e7580 | 670655/783287/_ss/cf08e6af6c134642aeb76bc81e6e7580_v1.json | 1 | a13d211b7421432898a3786848b8ced3 | 2 | 2 | 4 | 32 | 580 | 726 | 2022-09-19 14:52:15.282943 |
| 1bd4f68b831a402e8c42084476461aa1 | 670655/783287/_ss/1bd4f68b831a402e8c42084476461aa1_v1.json | 1 | cf08e6af6c134642aeb76bc81e6e7580 | 3 | 3 | 5 | 40 | 862 | 1085 | 2022-09-19 14:52:20.284347 |
```
Loading

0 comments on commit a830076

Please sign in to comment.