Skip to content

Commit

Permalink
chore: Release v0.11.0 (#501)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpschorr authored Oct 3, 2024
1 parent 9298a15 commit 010602f
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 60 deletions.
24 changes: 21 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [Unreleased]
### Changed
- partiql-ast: fixed pretty-printing of `PIVOT`
- partiql-ast: improved pretty-printing of `CASE` and various clauses

### Added

### Removed

## [0.11.0]
### Changed
- *BREAKING* partiql-catalog: refactored structure of crate; module paths have changes

### Added
Expand All @@ -26,6 +32,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- *BREAKING* Removed `const` PartiQL types under `partiql-types` in favor of `PartiqlShapeBuilder`.
- *BREAKING* Removed `StaticType`'s `new`, `new_non_nullable`, and `as_non-nullable` APIs in favor of `PartiqlShapeBuilder`.


## [0.10.1]
### Changed
- partiql-ast: fixed pretty-printing of `PIVOT`
- partiql-ast: improved pretty-printing of `CASE` and various clauses

### Added

### Fixed

## [0.10.0]
### Changed
- *BREAKING:* partiql-ast: added modeling of `EXCLUDE`
Expand Down Expand Up @@ -292,7 +308,9 @@ 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.10.0...HEAD
[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.11.0...HEAD
[0.11.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.11.0
[0.10.1]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.10.1
[0.10.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.10.0
[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
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.10.0"
version = "0.11.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.10.*" }
partiql-types = { path = "../../partiql-types", version = "0.11.*" }

thiserror = "1.0"
miette = { version = "7", features = ["fancy"] }
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.10.*" }
partiql-value = { path = "../../partiql-value", version = "0.10.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }
partiql-extension-ion = { path = "../partiql-extension-ion", version = "0.11.*" }
partiql-value = { path = "../../partiql-value", version = "0.11.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.11.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.11.*" }

ordered-float = "4"
itertools = "0.13"
Expand All @@ -43,10 +43,10 @@ flate2 = "1.0"

[dev-dependencies]
criterion = "0.5"
partiql-parser = { path = "../../partiql-parser", version = "0.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.10.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.10.*" }
partiql-parser = { path = "../../partiql-parser", version = "0.11.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.11.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.11.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.11.*" }

[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.10.*" }
partiql-value = { path = "../../partiql-value", version = "0.11.*" }
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"
Expand Down
6 changes: 3 additions & 3 deletions extension/partiql-extension-value-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ edition.workspace = true
bench = false

[dependencies]
partiql-value = { path = "../../partiql-value", version = "0.10.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }
partiql-value = { path = "../../partiql-value", version = "0.11.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.11.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.11.*" }

ordered-float = "4"
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.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }
partiql-ast = { path = "../../partiql-ast", version = "0.11.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.11.*" }

dot-writer = { version = "0.1", optional = true }
itertools = { version = "0.13", 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 @@ -20,18 +20,18 @@ path = "src/lib.rs"
bench = false

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.10.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.10.*" }
partiql-types = { path = "../partiql-types", version = "0.10.*" }
partiql-ast = { path = "../partiql-ast", version = "0.11.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }
partiql-types = { path = "../partiql-types", version = "0.11.*" }

assert_matches = "1"
fnv = "1"
indexmap = "2.5"
thiserror = "1.0"

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

[features]
default = []
4 changes: 2 additions & 2 deletions partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ path = "src/lib.rs"
bench = false

[dependencies]
partiql-common = { path = "../partiql-common", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }
indexmap = "2.5"
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
serde = { version = "1", features = ["derive"], optional = true }
Expand All @@ -39,4 +39,4 @@ serde = [

[dependencies.partiql-ast-macros]
path = "partiql-ast-macros"
version = "0.10.*"
version = "0.11.*"
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-common = { path = "../partiql-common", version = "0.10.*" }
partiql-value = { path = "../partiql-value", version = "0.10.*" }
partiql-logical = { path = "../partiql-logical", version = "0.10.*" }
partiql-types = { path = "../partiql-types", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }
partiql-value = { path = "../partiql-value", version = "0.11.*" }
partiql-logical = { path = "../partiql-logical", version = "0.11.*" }
partiql-types = { path = "../partiql-types", version = "0.11.*" }

thiserror = "1.0"
ordered-float = "4"
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 = "7", features = ["fancy"] }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.10.*" }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.11.*" }

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

ion-rs_old = { version = "0.18", package = "ion-rs" }

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.10.*" }
partiql-value = { path = "../partiql-value", version = "0.10.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" }
partiql-types = { path = "../partiql-types", version = "0.10.*" }
partiql-logical = { path = "../partiql-logical", version = "0.11.*" }
partiql-value = { path = "../partiql-value", version = "0.11.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.11.*" }
partiql-types = { path = "../partiql-types", version = "0.11.*" }
petgraph = "0.6"
ordered-float = "4"
itertools = "0.13"
Expand Down
22 changes: 11 additions & 11 deletions partiql-logical-planner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ edition.workspace = true
bench = false

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

ion-rs_old = { version = "0.18", package = "ion-rs" }
ordered-float = "4"
Expand All @@ -44,5 +44,5 @@ once_cell = "1"
thiserror = "1"

[dev-dependencies]
partiql-eval = { path = "../partiql-eval", version = "0.10.*" }
partiql-types = { path = "../partiql-types", version = "0.10.*" }
partiql-eval = { path = "../partiql-eval", version = "0.11.*" }
partiql-types = { path = "../partiql-types", version = "0.11.*" }
4 changes: 2 additions & 2 deletions partiql-logical/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-value = { path = "../partiql-value", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.10.*" }
partiql-value = { path = "../partiql-value", version = "0.11.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"
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.21"

[dependencies]
partiql-ast = { path = "../partiql-ast", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.10.*" }
partiql-ast = { path = "../partiql-ast", version = "0.11.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }

thiserror = "1.0"

Expand Down
2 changes: 1 addition & 1 deletion partiql-types/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-common = { path = "../partiql-common", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.11.*" }
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"
Expand Down

1 comment on commit 010602f

@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: 010602f Previous: 9298a15 Ratio
arith_agg-avg 772643 ns/iter (± 10671) 767860 ns/iter (± 5048) 1.01
arith_agg-avg_distinct 862425 ns/iter (± 11947) 851808 ns/iter (± 11370) 1.01
arith_agg-count 825442 ns/iter (± 17609) 818214 ns/iter (± 18997) 1.01
arith_agg-count_distinct 859663 ns/iter (± 4161) 842799 ns/iter (± 4117) 1.02
arith_agg-min 830355 ns/iter (± 3355) 821240 ns/iter (± 5643) 1.01
arith_agg-min_distinct 864502 ns/iter (± 4879) 853724 ns/iter (± 3871) 1.01
arith_agg-max 833467 ns/iter (± 5425) 827470 ns/iter (± 3550) 1.01
arith_agg-max_distinct 869713 ns/iter (± 4344) 861879 ns/iter (± 2520) 1.01
arith_agg-sum 827695 ns/iter (± 3084) 823023 ns/iter (± 2467) 1.01
arith_agg-sum_distinct 864752 ns/iter (± 9317) 853254 ns/iter (± 2893) 1.01
arith_agg-avg-count-min-max-sum 976093 ns/iter (± 3970) 977420 ns/iter (± 9951) 1.00
arith_agg-avg-count-min-max-sum-group_by 1246191 ns/iter (± 16318) 1242492 ns/iter (± 16902) 1.00
arith_agg-avg-count-min-max-sum-group_by-group_as 1861769 ns/iter (± 23192) 1848263 ns/iter (± 17574) 1.01
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct 1236558 ns/iter (± 12999) 1285995 ns/iter (± 11375) 0.96
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by 1548479 ns/iter (± 12188) 1559719 ns/iter (± 11495) 0.99
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by-group_as 2168209 ns/iter (± 14688) 2169716 ns/iter (± 9905) 1.00
parse-1 5962 ns/iter (± 15) 6359 ns/iter (± 10) 0.94
parse-15 50695 ns/iter (± 82) 51722 ns/iter (± 154) 0.98
parse-30 98934 ns/iter (± 534) 98688 ns/iter (± 442) 1.00
compile-1 4375 ns/iter (± 22) 4400 ns/iter (± 27) 0.99
compile-15 33993 ns/iter (± 134) 32652 ns/iter (± 464) 1.04
compile-30 69493 ns/iter (± 330) 67029 ns/iter (± 542) 1.04
plan-1 70211 ns/iter (± 529) 67723 ns/iter (± 314) 1.04
plan-15 1091456 ns/iter (± 21025) 1054214 ns/iter (± 9079) 1.04
plan-30 2182836 ns/iter (± 12737) 2113592 ns/iter (± 5842) 1.03
eval-1 13461740 ns/iter (± 154819) 13174407 ns/iter (± 231240) 1.02
eval-15 90893714 ns/iter (± 444501) 90338340 ns/iter (± 875171) 1.01
eval-30 174500670 ns/iter (± 499618) 172849363 ns/iter (± 370968) 1.01
join 9924 ns/iter (± 78) 9925 ns/iter (± 225) 1.00
simple 2509 ns/iter (± 15) 2518 ns/iter (± 9) 1.00
simple-no 450 ns/iter (± 0) 447 ns/iter (± 7) 1.01
numbers 48 ns/iter (± 0) 48 ns/iter (± 0) 1
parse-simple 923 ns/iter (± 6) 964 ns/iter (± 7) 0.96
parse-ion 2787 ns/iter (± 32) 2681 ns/iter (± 32) 1.04
parse-group 8032 ns/iter (± 19) 7864 ns/iter (± 66) 1.02
parse-complex 21034 ns/iter (± 47) 20868 ns/iter (± 64) 1.01
parse-complex-fexpr 28762 ns/iter (± 164) 28705 ns/iter (± 322) 1.00

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

Please sign in to comment.