forked from apache/datafusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'apache/main' into private_make_scalar_f…
…unction
- Loading branch information
Showing
143 changed files
with
6,500 additions
and
2,415 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
[package] | ||
name = "datafusion-benchmarks" | ||
description = "DataFusion Benchmarks" | ||
version = "34.0.0" | ||
version = "35.0.0" | ||
edition = { workspace = true } | ||
authors = ["Apache Arrow <[email protected]>"] | ||
homepage = "https://github.com/apache/arrow-datafusion" | ||
|
@@ -33,8 +33,8 @@ snmalloc = ["snmalloc-rs"] | |
|
||
[dependencies] | ||
arrow = { workspace = true } | ||
datafusion = { path = "../datafusion/core", version = "34.0.0" } | ||
datafusion-common = { path = "../datafusion/common", version = "34.0.0" } | ||
datafusion = { path = "../datafusion/core", version = "35.0.0" } | ||
datafusion-common = { path = "../datafusion/common", version = "35.0.0" } | ||
env_logger = { workspace = true } | ||
futures = { workspace = true } | ||
log = { workspace = true } | ||
|
@@ -49,4 +49,4 @@ test-utils = { path = "../test-utils/", version = "0.1.0" } | |
tokio = { version = "^1.0", features = ["macros", "rt", "rt-multi-thread", "parking_lot"] } | ||
|
||
[dev-dependencies] | ||
datafusion-proto = { path = "../datafusion/proto", version = "34.0.0" } | ||
datafusion-proto = { path = "../datafusion/proto", version = "35.0.0" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# ClickBench queries | ||
|
||
This directory contains queries for the ClickBench benchmark https://benchmark.clickhouse.com/ | ||
|
||
ClickBench is focused on aggregation and filtering performance (though it has no Joins) | ||
|
||
## Files: | ||
* `queries.sql` - Actual ClickBench queries, downloaded from the [ClickBench repository] | ||
* `extended.sql` - "Extended" DataFusion specific queries. | ||
|
||
[ClickBench repository]: https://github.com/ClickHouse/ClickBench/blob/main/datafusion/queries.sql | ||
|
||
## "Extended" Queries | ||
The "extended" queries are not part of the official ClickBench benchmark. | ||
Instead they are used to test other DataFusion features that are not | ||
covered by the standard benchmark | ||
|
||
Each description below is for the corresponding line in `extended.sql` (line 1 | ||
is `Q0`, line 2 is `Q1`, etc.) | ||
|
||
### Q0 | ||
Models initial Data exploration, to understand some statistics of data. | ||
Import Query Properties: multiple `COUNT DISTINCT` on strings | ||
|
||
```sql | ||
SELECT | ||
COUNT(DISTINCT "SearchPhrase"), COUNT(DISTINCT "MobilePhone"), COUNT(DISTINCT "MobilePhoneModel") | ||
FROM hits; | ||
``` | ||
|
||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
SELECT COUNT(DISTINCT "SearchPhrase"), COUNT(DISTINCT "MobilePhone"), COUNT(DISTINCT "MobilePhoneModel") FROM hits; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.