Skip to content

Commit

Permalink
chore: Release v0.9.0 (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpschorr authored Jul 24, 2024
1 parent 1fc44de commit 3ca67b7
Show file tree
Hide file tree
Showing 37 changed files with 65 additions and 59 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Changed

### Added

### Fixed


## [0.9.0]
### Changed
- *BREAKING:* partiql-ast: changed modeling of `BagOpExpr` `setq` field to be an `Option`
- *BREAKING:* partiql-ast: changed modeling of `GroupByExpr` `strategy` field to be an `Option`
- *BREAKING:* partiql-ast: changed modeling of `PathStep` to split `PathExpr` to `PathIndex` (e.g., `[2]`) and `PathProject` (e.g., `.a`)
Expand Down Expand Up @@ -256,7 +264,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- PartiQL Playground proof of concept (POC)
- PartiQL CLI with REPL and query visualization features

[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.8.0...HEAD
[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.9.0...HEAD
[0.9.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.9.0
[0.8.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.8.0
[0.7.2]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.7.2
[0.7.1]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.7.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["PartiQL Team <[email protected]>"]
homepage = "https://github.com/partiql/partiql-lang-rust"
repository = "https://github.com/partiql/partiql-lang-rust"
version = "0.8.0"
version = "0.9.0"
edition = "2021"

[workspace]
Expand Down
2 changes: 1 addition & 1 deletion extension/partiql-extension-ddl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-types = { path = "../../partiql-types", version = "0.8.*" }
partiql-types = { path = "../../partiql-types", version = "0.9.*" }

ion-rs = "0.18.1"
thiserror = "1.0"
Expand Down
16 changes: 8 additions & 8 deletions extension/partiql-extension-ion-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ edition.workspace = true
bench = false

[dependencies]
partiql-extension-ion = {path = "../partiql-extension-ion", version = "0.8.*" }
partiql-value = { path = "../../partiql-value", version = "0.8.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.8.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.8.*" }
partiql-extension-ion = {path = "../partiql-extension-ion", version = "0.9.*" }
partiql-value = { path = "../../partiql-value", version = "0.9.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.9.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.9.*" }

ordered-float = "3.*"
itertools = "0.10.*"
Expand All @@ -42,10 +42,10 @@ flate2 = "1.0"

[dev-dependencies]
criterion = "0.4"
partiql-parser = { path = "../../partiql-parser", version = "0.8.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.8.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.8.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.8.*" }
partiql-parser = { path = "../../partiql-parser", version = "0.9.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.9.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.9.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.9.*" }

[features]
default = []
2 changes: 1 addition & 1 deletion extension/partiql-extension-ion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../../partiql-value", version = "0.8.*" }
partiql-value = { path = "../../partiql-value", version = "0.9.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
Expand Down
4 changes: 2 additions & 2 deletions extension/partiql-extension-visualize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ edition.workspace = true
bench = false

[dependencies]
partiql-ast = { path = "../../partiql-ast", version = "0.8.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.8.*" }
partiql-ast = { path = "../../partiql-ast", version = "0.9.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.9.*" }

dot-writer = { version = "0.1.*", optional = true }
itertools = { version = "0.10.*", optional = true }
Expand Down
10 changes: 5 additions & 5 deletions partiql-ast-passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository.workspace = true
license = "Apache-2.0"
readme = "../README.md"
keywords = ["sql", "ast", "compilers", "visitors", "passes"]
categories = ["database", "compilers", "ast-implementations"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
Expand All @@ -20,17 +20,17 @@ path = "src/lib.rs"
bench = false

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.8.*" }
partiql-types = { path = "../partiql-types", version = "0.8.*" }
partiql-ast = { path = "../partiql-ast", version = "0.9.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.9.*" }
partiql-types = { path = "../partiql-types", version = "0.9.*" }

assert_matches = "1.5.*"
fnv = "1"
indexmap = "2.2"
thiserror = "1.0"

[dev-dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.8.*" }
partiql-parser = { path = "../partiql-parser", version = "0.9.*" }

[features]
default = []
9 changes: 2 additions & 7 deletions partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository.workspace = true
license = "Apache-2.0"
readme = "../README.md"
keywords = ["sql", "ast", "query", "compilers", "interpreters"]
categories = ["database", "compilers", "ast-implementations"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
Expand All @@ -26,11 +26,6 @@ serde = { version = "1.*", features = ["derive"], optional = true }
pretty = "0.12"
thiserror = "1.0"

[dev-dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.8" }
itertools = "0.13"
insta = "1.38.0"

[features]
default = []
serde = [
Expand All @@ -42,4 +37,4 @@ serde = [

[dependencies.partiql-ast-macros]
path = "partiql-ast-macros"
version = "0.8.*"
version = "0.9.*"
2 changes: 1 addition & 1 deletion partiql-ast/partiql-ast-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository.workspace = true
license = "Apache-2.0"
readme = "../../README.md"
keywords = ["sql", "ast", "query", "compilers", "interpreters"]
categories = ["database", "compilers", "ast-implementations"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
Expand Down
8 changes: 4 additions & 4 deletions partiql-catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.8.*" }
partiql-parser = { path = "../partiql-parser", version = "0.8.*" }
partiql-logical = { path = "../partiql-logical", version = "0.8.*" }
partiql-types = { path = "../partiql-types", version = "0.8.*" }
partiql-value = { path = "../partiql-value", version = "0.9.*" }
partiql-parser = { path = "../partiql-parser", version = "0.9.*" }
partiql-logical = { path = "../partiql-logical", version = "0.9.*" }
partiql-types = { path = "../partiql-types", version = "0.9.*" }

thiserror = "1.0"
ordered-float = "3.*"
Expand Down
20 changes: 10 additions & 10 deletions partiql-conformance-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@ bench = false

[build-dependencies]
miette = { version = "5.*", features = ["fancy"] }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.8.*" }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.9.*" }

[dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.8.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.8.*" }
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.8.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.8.*" }
partiql-logical = { path = "../partiql-logical", version = "0.8.*" }
partiql-value = { path = "../partiql-value", version = "0.8.*" }
partiql-eval = { path = "../partiql-eval", version = "0.8.*" }
partiql-extension-ion = { path = "../extension/partiql-extension-ion", version = "0.8.*" }
partiql-parser = { path = "../partiql-parser", version = "0.9.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.9.*" }
partiql-ast = { path = "../partiql-ast", version = "0.9.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.9.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.9.*" }
partiql-logical = { path = "../partiql-logical", version = "0.9.*" }
partiql-value = { path = "../partiql-value", version = "0.9.*" }
partiql-eval = { path = "../partiql-eval", version = "0.9.*" }
partiql-extension-ion = { path = "../extension/partiql-extension-ion", version = "0.9.*" }

ion-rs = "0.18"

Expand Down
8 changes: 4 additions & 4 deletions partiql-eval/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ edition.workspace = true
bench = false

[dependencies]
partiql-logical = { path = "../partiql-logical", version = "0.8.*" }
partiql-value = { path = "../partiql-value", version = "0.8.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.8.*" }
partiql-types = { path = "../partiql-types", version = "0.8.*" }
partiql-logical = { path = "../partiql-logical", version = "0.9.*" }
partiql-value = { path = "../partiql-value", version = "0.9.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.9.*" }
partiql-types = { path = "../partiql-types", version = "0.9.*" }
petgraph = "0.6.*"
ordered-float = "3.*"
itertools = "0.10.*"
Expand Down
20 changes: 10 additions & 10 deletions partiql-logical-planner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.8.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.8.*" }
partiql-logical = { path = "../partiql-logical", version = "0.8.*" }
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }
partiql-parser = { path = "../partiql-parser", version = "0.8.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.8.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.8.*" }
partiql-types = { path = "../partiql-types", version = "0.8.*" }
partiql-value = { path = "../partiql-value", version = "0.9.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.9.*" }
partiql-logical = { path = "../partiql-logical", version = "0.9.*" }
partiql-ast = { path = "../partiql-ast", version = "0.9.*" }
partiql-parser = { path = "../partiql-parser", version = "0.9.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.9.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.9.*" }
partiql-types = { path = "../partiql-types", version = "0.9.*" }

ion-rs = "0.18"
ordered-float = "3.*"
Expand All @@ -43,5 +43,5 @@ once_cell = "1"
thiserror = "1.0"

[dev-dependencies]
partiql-eval = { path = "../partiql-eval", version = "0.8.*" }
partiql-types = { path = "../partiql-types", version = "0.8.*" }
partiql-eval = { path = "../partiql-eval", version = "0.9.*" }
partiql-types = { path = "../partiql-types", version = "0.9.*" }
2 changes: 1 addition & 1 deletion partiql-logical/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../partiql-value", version = "0.8.*" }
partiql-value = { path = "../partiql-value", version = "0.9.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
Expand Down
4 changes: 2 additions & 2 deletions partiql-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ bench = false
lalrpop = "0.20"

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.8.*" }
partiql-ast = { path = "../partiql-ast", version = "0.9.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.9.*" }

thiserror = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion partiql-source-map/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ edition.workspace = true
bench = false

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }
partiql-ast = { path = "../partiql-ast", version = "0.9.*" }

smallvec = { version = "1.*" }
serde = { version = "1.*", features = ["derive"], optional = true }
Expand Down
2 changes: 2 additions & 0 deletions partiql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ partiql-logical = { path = "../partiql-logical" }
partiql-logical-planner = { path = "../partiql-logical-planner" }
partiql-eval = { path = "../partiql-eval" }

insta = "1.38.0"


thiserror = "1.0"

Expand Down
File renamed without changes.
File renamed without changes.

1 comment on commit 3ca67b7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PartiQL (rust) Benchmark

Benchmark suite Current: 3ca67b7 Previous: 1fc44de Ratio
arith_agg-avg 775927 ns/iter (± 3468) 762740 ns/iter (± 5063) 1.02
arith_agg-avg_distinct 856683 ns/iter (± 2372) 864605 ns/iter (± 1933) 0.99
arith_agg-count 818625 ns/iter (± 15375) 814011 ns/iter (± 18439) 1.01
arith_agg-count_distinct 851347 ns/iter (± 4987) 851936 ns/iter (± 28629) 1.00
arith_agg-min 825917 ns/iter (± 2576) 817382 ns/iter (± 16574) 1.01
arith_agg-min_distinct 850563 ns/iter (± 7003) 867643 ns/iter (± 44075) 0.98
arith_agg-max 827990 ns/iter (± 34600) 826160 ns/iter (± 13760) 1.00
arith_agg-max_distinct 864413 ns/iter (± 11462) 878777 ns/iter (± 4361) 0.98
arith_agg-sum 829453 ns/iter (± 16364) 821429 ns/iter (± 3778) 1.01
arith_agg-sum_distinct 857194 ns/iter (± 2443) 862825 ns/iter (± 1761) 0.99
arith_agg-avg-count-min-max-sum 968022 ns/iter (± 3875) 972378 ns/iter (± 37693) 1.00
arith_agg-avg-count-min-max-sum-group_by 1207285 ns/iter (± 18484) 1201379 ns/iter (± 10628) 1.00
arith_agg-avg-count-min-max-sum-group_by-group_as 1825661 ns/iter (± 17209) 1801572 ns/iter (± 15198) 1.01
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct 1240635 ns/iter (± 74432) 1289977 ns/iter (± 32602) 0.96
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by 1520707 ns/iter (± 16588) 1551901 ns/iter (± 17671) 0.98
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by-group_as 2139065 ns/iter (± 10755) 2134103 ns/iter (± 6462) 1.00
parse-1 4221 ns/iter (± 74) 4280 ns/iter (± 20) 0.99
parse-15 40063 ns/iter (± 732) 39341 ns/iter (± 77) 1.02
parse-30 81388 ns/iter (± 712) 77553 ns/iter (± 184) 1.05
compile-1 4344 ns/iter (± 62) 4242 ns/iter (± 52) 1.02
compile-15 33761 ns/iter (± 218) 32969 ns/iter (± 129) 1.02
compile-30 70343 ns/iter (± 191) 69354 ns/iter (± 272) 1.01
plan-1 67749 ns/iter (± 363) 67342 ns/iter (± 2862) 1.01
plan-15 1050246 ns/iter (± 23555) 1049343 ns/iter (± 15624) 1.00
plan-30 2103307 ns/iter (± 10523) 2112313 ns/iter (± 5548) 1.00
eval-1 12792235 ns/iter (± 113115) 12624353 ns/iter (± 153243) 1.01
eval-15 86096723 ns/iter (± 982386) 85081863 ns/iter (± 827855) 1.01
eval-30 165076640 ns/iter (± 2722727) 163570222 ns/iter (± 968951) 1.01
join 9756 ns/iter (± 531) 9919 ns/iter (± 38) 0.98
simple 2477 ns/iter (± 18) 2474 ns/iter (± 5) 1.00
simple-no 425 ns/iter (± 3) 428 ns/iter (± 6) 0.99
numbers 57 ns/iter (± 0) 57 ns/iter (± 0) 1
parse-simple 566 ns/iter (± 1) 586 ns/iter (± 6) 0.97
parse-ion 1729 ns/iter (± 3) 1781 ns/iter (± 4) 0.97
parse-group 5812 ns/iter (± 14) 5724 ns/iter (± 22) 1.02
parse-complex 14670 ns/iter (± 164) 14771 ns/iter (± 189) 0.99
parse-complex-fexpr 21437 ns/iter (± 119) 22309 ns/iter (± 139) 0.96

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.