Skip to content

Commit

Permalink
refactor: use sum type for expects in records (#202)
Browse files Browse the repository at this point in the history
* refactor: use sum type for expects in records

Signed-off-by: Bugen Zhao <[email protected]>

* add docs

Signed-off-by: Bugen Zhao <[email protected]>

* minor fixes

Signed-off-by: Bugen Zhao <[email protected]>

* use empty_results

Signed-off-by: Bugen Zhao <[email protected]>

* bump version and changelog

Signed-off-by: Alex Chi <[email protected]>

---------

Signed-off-by: Bugen Zhao <[email protected]>
Signed-off-by: Alex Chi <[email protected]>
Co-authored-by: Alex Chi <[email protected]>
  • Loading branch information
BugenZhao and skyzh authored Nov 12, 2023
1 parent 7ee44cd commit 0919ca0
Show file tree
Hide file tree
Showing 7 changed files with 294 additions and 287 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.19.0] - 2023-11-11

* parser: refactor `expect` field in sqllogictest parser to make it easier to work with.

## [0.18.0] - 2023-11-08

* Support matching multiline error message under `----` for both `statement error` and `query error`.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["sqllogictest", "sqllogictest-bin", "sqllogictest-engines", "tests"]

[workspace.package]
version = "0.18.0"
version = "0.19.0"
edition = "2021"
homepage = "https://github.com/risinglightdb/sqllogictest-rs"
keywords = ["sql", "database", "parser", "cli"]
Expand Down
4 changes: 2 additions & 2 deletions sqllogictest-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ glob = "0.3"
itertools = "0.11"
quick-junit = { version = "0.3" }
rand = "0.8"
sqllogictest = { path = "../sqllogictest", version = "0.18" }
sqllogictest-engines = { path = "../sqllogictest-engines", version = "0.18" }
sqllogictest = { path = "../sqllogictest", version = "0.19" }
sqllogictest-engines = { path = "../sqllogictest-engines", version = "0.19" }
tokio = { version = "1", features = [
"rt",
"rt-multi-thread",
Expand Down
2 changes: 1 addition & 1 deletion sqllogictest-engines/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ postgres-types = { version = "0.2.5", features = ["derive", "with-chrono-0_4"] }
rust_decimal = { version = "1.30.0", features = ["tokio-pg"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
sqllogictest = { path = "../sqllogictest", version = "0.18" }
sqllogictest = { path = "../sqllogictest", version = "0.19" }
thiserror = "1"
tokio = { version = "1", features = [
"rt",
Expand Down
Loading

0 comments on commit 0919ca0

Please sign in to comment.