Skip to content

Commit 0919ca0

Browse files
BugenZhaoskyzh
andauthored
refactor: use sum type for expects in records (#202)
* refactor: use sum type for expects in records Signed-off-by: Bugen Zhao <i@bugenzhao.com> * add docs Signed-off-by: Bugen Zhao <i@bugenzhao.com> * minor fixes Signed-off-by: Bugen Zhao <i@bugenzhao.com> * use empty_results Signed-off-by: Bugen Zhao <i@bugenzhao.com> * bump version and changelog Signed-off-by: Alex Chi <iskyzh@gmail.com> --------- Signed-off-by: Bugen Zhao <i@bugenzhao.com> Signed-off-by: Alex Chi <iskyzh@gmail.com> Co-authored-by: Alex Chi <iskyzh@gmail.com>
1 parent 7ee44cd commit 0919ca0

File tree

7 files changed

+294
-287
lines changed

7 files changed

+294
-287
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## [0.19.0] - 2023-11-11
11+
12+
* parser: refactor `expect` field in sqllogictest parser to make it easier to work with.
13+
1014
## [0.18.0] - 2023-11-08
1115

1216
* Support matching multiline error message under `----` for both `statement error` and `query error`.

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["sqllogictest", "sqllogictest-bin", "sqllogictest-engines", "tests"]
44

55
[workspace.package]
6-
version = "0.18.0"
6+
version = "0.19.0"
77
edition = "2021"
88
homepage = "https://github.com/risinglightdb/sqllogictest-rs"
99
keywords = ["sql", "database", "parser", "cli"]

sqllogictest-bin/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ glob = "0.3"
2424
itertools = "0.11"
2525
quick-junit = { version = "0.3" }
2626
rand = "0.8"
27-
sqllogictest = { path = "../sqllogictest", version = "0.18" }
28-
sqllogictest-engines = { path = "../sqllogictest-engines", version = "0.18" }
27+
sqllogictest = { path = "../sqllogictest", version = "0.19" }
28+
sqllogictest-engines = { path = "../sqllogictest-engines", version = "0.19" }
2929
tokio = { version = "1", features = [
3030
"rt",
3131
"rt-multi-thread",

sqllogictest-engines/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ postgres-types = { version = "0.2.5", features = ["derive", "with-chrono-0_4"] }
1919
rust_decimal = { version = "1.30.0", features = ["tokio-pg"] }
2020
serde = { version = "1", features = ["derive"] }
2121
serde_json = "1"
22-
sqllogictest = { path = "../sqllogictest", version = "0.18" }
22+
sqllogictest = { path = "../sqllogictest", version = "0.19" }
2323
thiserror = "1"
2424
tokio = { version = "1", features = [
2525
"rt",

0 commit comments

Comments
 (0)