Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sqllogictest requirement from 0.9.0 to 0.10.0 #4670

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 19, 2022

Updates the requirements on sqllogictest to permit the latest version.

Release notes

Sourced from sqllogictest's releases.

Release: v0.10.0

  • 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 .

Changelog

Sourced from sqllogictest's changelog.

[0.10.0] - 2022-12-15

  • 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 .

[0.9.0] - 2022-12-07

  • 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.

[0.8.0] - 2022-11-22

  • Support checking error message using statement error <regex> and query error <regex> syntax.
    • Breaking change: Record::Statement, Record::Query and TestErrorKind are changed accordingly.

[0.7.1] - 2022-11-15

  • Fix: --external-engine-command-template should not be required

[0.7.0] - 2022-11-14

  • Add support for external driver.
  • Support more type in postgres-extended.
  • Record file stack in location.

[0.6.4] - 2022-08-25

  • Use one session for each file in serial mode.

[0.6.3] - 2022-08-24

  • Support registering hook function after each query.

... (truncated)

Commits
  • 29f219a release 0.10.0 & improve README & add update_test_file (#132)
  • cdc108a Add more tests for update_record_with_output (#131)
  • 7030a63 Add update_record_with_output function and tests (#130)
  • 65b122f Change the type for Validator (#126)
  • 46752d1 Test for parse(unparse(parse()) is identity (#129)
  • f07a73e fix(bin): fix newline handling for --format/override (#128)
  • 208998a Improve the ability to parse/unparse files (#127)
  • 4f673ad Add a quick start cookbook to the README (#125)
  • d753e4c fix: hash-threshold should be compared with the number of values (#121)
  • 7e39de7 ci: tweak release name (#115)
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [sqllogictest](https://github.com/risinglightdb/sqllogictest-rs) to permit the latest version.
- [Release notes](https://github.com/risinglightdb/sqllogictest-rs/releases)
- [Changelog](https://github.com/risinglightdb/sqllogictest-rs/blob/main/CHANGELOG.md)
- [Commits](risinglightdb/sqllogictest-rs@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: sqllogictest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@github-actions github-actions bot added the core Core DataFusion crate label Dec 19, 2022
@alamb
Copy link
Contributor

alamb commented Dec 19, 2022

This is covered in #4665

@alamb alamb closed this Dec 19, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 19, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/master/sqllogictest-0.10.0 branch December 19, 2022 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-dependencies core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant