Skip to content

Commit

Permalink
chore: Release v0.8.0 (#470)
Browse files Browse the repository at this point in the history
* chore: Release v0.8.0
  • Loading branch information
am357 committed Jun 24, 2024
1 parent 6aacf26 commit 93622bd
Show file tree
Hide file tree
Showing 15 changed files with 63 additions and 53 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Changed

### Added

### Fixed

## [0.8.0]
### Changed
- *BREAKING:* Adds `optionality` to `StructField` in `partiql-types`
- *BREAKING:* Removed `NULL` and `MISSING` types from `partiql_types::PartiQLType`
- *BREAKING:* Removed `partiql_ast_passes::partiql_type`

### Added
- *BREAKING:* Introduces `PartiqlShape` and removes `PartiqlType`
- Adds `partiql-extension-ddl` that allows generation of PartiQL Basic DDL Syntax for a PartiQL Shape.

### Fixed


## [0.7.2] - 2024-04-12
### Changed

Expand Down Expand Up @@ -238,7 +247,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.7.2...HEAD
[Unreleased]: https://github.com/partiql/partiql-lang-rust/compare/v0.8.0...HEAD
[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
[0.7.0]: https://github.com/partiql/partiql-lang-rust/releases/tag/v0.7.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 <partiql-team@amazon.com>"]
homepage = "https://github.com/partiql/partiql-lang-rust"
repository = "https://github.com/partiql/partiql-lang-rust"
version = "0.7.2"
version = "0.8.0"
edition = "2021"

[workspace]
Expand Down
4 changes: 2 additions & 2 deletions 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.7.*" }
partiql-types = { path = "../../partiql-types", version = "0.8.*" }

ion-rs = "0.18.1"
thiserror = "1.0"
Expand All @@ -32,4 +32,4 @@ time = { version = "0.3", features = ["formatting", "parsing", "serde"] }
criterion = "0.4"

[features]
default = []
default = []
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.7.*" }
partiql-value = { path = "../../partiql-value", version = "0.7.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.7.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.7.*" }
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.*" }

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.7.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.7.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.7.*" }
partiql-eval = { path = "../../partiql-eval", version = "0.7.*" }
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.*" }

[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.7.*" }
partiql-value = { path = "../../partiql-value", version = "0.8.*" }
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.7.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.7.*" }
partiql-ast = { path = "../../partiql-ast", version = "0.8.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.8.*" }

dot-writer = { version = "0.1.*", optional = true }
itertools = { version = "0.10.*", optional = true }
Expand Down
8 changes: 4 additions & 4 deletions partiql-ast-passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ path = "src/lib.rs"
bench = false

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

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

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

[features]
default = []
2 changes: 1 addition & 1 deletion partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ serde = [

[dependencies.partiql-ast-macros]
path = "partiql-ast-macros"
version = "0.7.*"
version = "0.8.*"
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.7.*" }
partiql-parser = { path = "../partiql-parser", version = "0.7.*" }
partiql-logical = { path = "../partiql-logical", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }
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.*" }

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.7.*" }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.8.*" }

[dependencies]
partiql-parser = { path = "../partiql-parser", version = "0.7.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.7.*" }
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.7.*" }
partiql-logical-planner = { path = "../partiql-logical-planner", version = "0.7.*" }
partiql-logical = { path = "../partiql-logical", version = "0.7.*" }
partiql-value = { path = "../partiql-value", version = "0.7.*" }
partiql-eval = { path = "../partiql-eval", version = "0.7.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.7.*" }
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.*" }

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.7.*" }
partiql-value = { path = "../partiql-value", version = "0.7.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }
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.*" }
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.7.*" }
partiql-extension-ion = {path = "../extension/partiql-extension-ion", version = "0.7.*" }
partiql-logical = { path = "../partiql-logical", version = "0.7.*" }
partiql-ast = { path = "../partiql-ast", version = "0.7.*" }
partiql-parser = { path = "../partiql-parser", version = "0.7.*" }
partiql-catalog = { path = "../partiql-catalog", version = "0.7.*" }
partiql-ast-passes = { path = "../partiql-ast-passes", version = "0.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }
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.*" }

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.7.*" }
partiql-types = { path = "../partiql-types", version = "0.7.*" }
partiql-eval = { path = "../partiql-eval", version = "0.8.*" }
partiql-types = { path = "../partiql-types", version = "0.8.*" }
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.7.*" }
partiql-value = { path = "../partiql-value", version = "0.8.*" }
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.7.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.7.*" }
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }
partiql-source-map = { path = "../partiql-source-map", version = "0.8.*" }

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.7.*" }
partiql-ast = { path = "../partiql-ast", version = "0.8.*" }

smallvec = { version = "1.*" }
serde = { version = "1.*", features = ["derive"], optional = true }
Expand Down

1 comment on commit 93622bd

@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: 93622bd Previous: 6aacf26 Ratio
arith_agg-avg 767550 ns/iter (± 25529) 763871 ns/iter (± 16021) 1.00
arith_agg-avg_distinct 853211 ns/iter (± 3789) 852943 ns/iter (± 3449) 1.00
arith_agg-count 811172 ns/iter (± 12702) 814660 ns/iter (± 33937) 1.00
arith_agg-count_distinct 848275 ns/iter (± 8242) 849958 ns/iter (± 19612) 1.00
arith_agg-min 815662 ns/iter (± 4178) 824840 ns/iter (± 9846) 0.99
arith_agg-min_distinct 850462 ns/iter (± 18696) 850504 ns/iter (± 2210) 1.00
arith_agg-max 821044 ns/iter (± 2913) 823622 ns/iter (± 4384) 1.00
arith_agg-max_distinct 859104 ns/iter (± 3372) 858951 ns/iter (± 43476) 1.00
arith_agg-sum 820101 ns/iter (± 15137) 819811 ns/iter (± 2761) 1.00
arith_agg-sum_distinct 854531 ns/iter (± 3329) 851693 ns/iter (± 1550) 1.00
arith_agg-avg-count-min-max-sum 966254 ns/iter (± 5223) 957278 ns/iter (± 2662) 1.01
arith_agg-avg-count-min-max-sum-group_by 1236532 ns/iter (± 9954) 1248673 ns/iter (± 36672) 0.99
arith_agg-avg-count-min-max-sum-group_by-group_as 1814702 ns/iter (± 85856) 1806472 ns/iter (± 8763) 1.00
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct 1227968 ns/iter (± 4560) 1185526 ns/iter (± 19073) 1.04
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by 1582041 ns/iter (± 4251) 1550045 ns/iter (± 22776) 1.02
arith_agg-avg_distinct-count_distinct-min_distinct-max_distinct-sum_distinct-group_by-group_as 2170637 ns/iter (± 14894) 2135610 ns/iter (± 8933) 1.02
parse-1 4329 ns/iter (± 20) 4291 ns/iter (± 28) 1.01
parse-15 38661 ns/iter (± 519) 39114 ns/iter (± 116) 0.99
parse-30 76090 ns/iter (± 138) 76826 ns/iter (± 685) 0.99
compile-1 4319 ns/iter (± 14) 4348 ns/iter (± 41) 0.99
compile-15 32940 ns/iter (± 127) 32854 ns/iter (± 158) 1.00
compile-30 68083 ns/iter (± 285) 68294 ns/iter (± 384) 1.00
plan-1 67448 ns/iter (± 2332) 67609 ns/iter (± 318) 1.00
plan-15 1059015 ns/iter (± 22871) 1052784 ns/iter (± 24201) 1.01
plan-30 2114208 ns/iter (± 9437) 2112743 ns/iter (± 10868) 1.00
eval-1 13323166 ns/iter (± 626795) 13547112 ns/iter (± 413645) 0.98
eval-15 89188292 ns/iter (± 342895) 88002637 ns/iter (± 810315) 1.01
eval-30 169856980 ns/iter (± 1103692) 168873333 ns/iter (± 1558481) 1.01
join 9820 ns/iter (± 138) 9770 ns/iter (± 22) 1.01
simple 2542 ns/iter (± 5) 2457 ns/iter (± 7) 1.03
simple-no 427 ns/iter (± 1) 435 ns/iter (± 1) 0.98
numbers 57 ns/iter (± 0) 57 ns/iter (± 0) 1
parse-simple 578 ns/iter (± 8) 554 ns/iter (± 2) 1.04
parse-ion 1811 ns/iter (± 4) 1749 ns/iter (± 11) 1.04
parse-group 6210 ns/iter (± 49) 5816 ns/iter (± 58) 1.07
parse-complex 15803 ns/iter (± 22) 15316 ns/iter (± 127) 1.03
parse-complex-fexpr 23725 ns/iter (± 142) 22632 ns/iter (± 439) 1.05

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

Please sign in to comment.