Skip to content

Releases: risinglightdb/sqllogictest-rs

Release: v0.11.0

14 Jan 14:41
34358b6
Compare
Choose a tag to compare

This release contains some minor fixes.

  • fix: use Vec<Vec<String>> for external engine (JDBC)
  • fix: Use lines() instead of split('\n') in parse_inner. So the behavior can be correct on Windows.
  • fix: parse DML with returning as a query
  • A minor breaking change: update_test_file takes &mut Runner instead of its ownnership.

Release: v0.10.0

16 Dec 08:55
29f219a
Compare
Choose a tag to compare
  • Improve the ability to unparse and update the test files. Mainly add update_record_with_output and update_test_file to the library.

    More details:

    • Add impl Display for Record (refactor unparse).
    • Add Record::Whitespace so the whitespace in the original files can be reconstructed during unparse.
    • Add tests for unparsing and updating records.
    • Refactor and fix the behavior about newlines and halt for CLI options --override and --format.
  • Fix: hash-threshold should be compared with the number of values instead of the number of rows.

  • Breaking change: The type of Validator is changed from fn(&Vec<String>, &Vec<String>) -> bool to fn(&[Vec<String>], &[String]) -> bool. Also added a default_validator.

Thanks to the contributions of @alamb and @xudong963 .

Release v0.9.0

07 Dec 20:28
03833d2
Compare
Choose a tag to compare
  • Improve the format and color handling for errors.
  • Support hash-threshold.
  • Fix statement count <n> for postgres engines.
  • Breaking change: use Vec<Vec<String>> instead of String as the query results by DB. This allows the runner to verify the results more precisely.
    • For rowsort, runner will only sort actual results now, which means the result in the test cases should be sorted.
  • Breaking change: Hook is removed.
  • Breaking change: Record and parser's behavior are tweaked:
    • retain Include record when linking its content
    • keep parsing after Halt
    • move Begin/EndInclude to Injected
  • Added CLI options --override and --format, which can override the test files with the actual output of the database, or reformat the test files.

Release v0.8.0

23 Nov 20:34
282a600
Compare
Choose a tag to compare
Release v0.8.0 Pre-release
Pre-release

feat: support checking error message for statement & bump to 0.8.0 (#102)

Release v0.7.1

15 Nov 09:51
6104814
Compare
Choose a tag to compare
Release v0.7.1 Pre-release
Pre-release

fix: --external-engine-command-template is not required (#99)

Release v0.7.0

15 Nov 04:28
a41d5fb
Compare
Choose a tag to compare
Release v0.7.0 Pre-release
Pre-release

release: bump to v0.7.0 (#97)

  • release: bump to v0.6.5

Signed-off-by: TennyZhuang zty0826@gmail.com

  • Update Cargo.toml

Signed-off-by: TennyZhuang zty0826@gmail.com

  • fix clippy

Signed-off-by: Runji Wang wangrunji0408@163.com

Signed-off-by: TennyZhuang zty0826@gmail.com
Signed-off-by: Runji Wang wangrunji0408@163.com
Co-authored-by: Runji Wang wangrunji0408@163.com

Release v0.6.4

25 Aug 17:22
dfd8270
Compare
Choose a tag to compare
  • Use one session for each file in serial mode.

Release v0.6.3

25 Aug 17:21
85d5493
Compare
Choose a tag to compare
  • Support registering hook function after each query.

v0.6.2

22 Aug 14:38
ece0f4e
Compare
Choose a tag to compare

release: bump to v0.6.2 (#82)

v0.6.1

22 Aug 14:13
fccd285
Compare
Choose a tag to compare

release v0.6.1 (#74)

Signed-off-by: Runji Wang wangrunji0408@163.com

Signed-off-by: Runji Wang wangrunji0408@163.com