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.15.0 to 0.16.0 #104

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 15, 2023

Updates the requirements on sqllogictest to permit the latest version.

Release notes

Sourced from sqllogictest's releases.

v0.16.0

[0.16.0] - 2023-09-15

  • Support running external system commands with the syntax below. This is useful for manipulating some external resources during the test.

    system ok
    echo "Hello, world!"
    

    The runner will check the exit code of the command, and the output will be ignored. Currently, only ok is supported.

    Changes:

    • (parser) Breaking change: Add Record::System, and corresponding TestErrorKind and RecordOutput. Mark TestErrorKind and RecordOutput as #[non_exhaustive].
    • (runner) Add run_command to AsyncDB trait. The default implementation will run the command with std::process::Command::status. Implementors can override this method to utilize an asynchronous runtime such as tokio.
  • fix(runner): fix database name duplication for parallel tests by using the full path of the test file (instead of the file name) as the database name.

Changelog

Sourced from sqllogictest's changelog.

[0.16.0] - 2023-09-15

  • Support running external system commands with the syntax below. This is useful for manipulating some external resources during the test.

    system ok
    echo "Hello, world!"
    

    The runner will check the exit code of the command, and the output will be ignored. Currently, only ok is supported.

    Changes:

    • (parser) Breaking change: Add Record::System, and corresponding TestErrorKind and RecordOutput. Mark TestErrorKind and RecordOutput as #[non_exhaustive].
    • (runner) Add run_command to AsyncDB trait. The default implementation will run the command with std::process::Command::status. Implementors can override this method to utilize an asynchronous runtime such as tokio.
  • fix(runner): fix database name duplication for parallel tests by using the full path of the test file (instead of the file name) as the database name.

[0.15.3] - 2023-08-02

  • fix(bin): fix error context display. To avoid stack backtrace being printed, unset RUST_BACKTRACE environment variable, or use pre-built binaries built with stable toolchain instead.

[0.15.2] - 2023-07-31

  • fix(bin): do not print stack backtrace on error

[0.15.1] - 2023-07-24

  • fix statement error unexpectedly passed when result is a successful query. Similarly for expected query error but successful statement ok.

[0.15.0] - 2023-07-06

  • Allow multiple connections to the database in a single test case, which is useful for testing the transaction behavior. This can be achieved by attaching a connection foo record before the query or statement.
    • (parser) Add Record::Connection.
    • (runner) Breaking change: Since the runner may establish multiple connections at runtime, Runner::new now takes a impl MakeConnection, which is usually a closure that returns a try-future of the AsyncDB instance.
    • (bin) The connection to the database is now established lazily on the first query or statement.

[0.14.0] - 2023-06-08

  • We enhanced how skipif and onlyif works. Previously it checks against DB::engine_name(), and sqllogictest-bin didn't implement it.
    • (parser) A minor breaking change: Change the field names of Condition:: OnlyIf/SkipIf.
    • (runner) Add Runner::add_label. Now multiple labels are supported ( DB::engine_name() is still included). The condition evaluates to true if any of the provided labels match the skipif/onlyif <lable>.
    • (bin) Add --label option to specify custom labels.

[0.13.2] - 2023-03-24

  • Runner::update_test_file properly escapes regex special characters.

[0.13.1] - 2023-03-16

  • Support postgres options.

[0.13.0] - 2023-02-15

... (truncated)

Commits
  • d554415 feat: run system commands (#193)
  • 8085ab6 use full file path as db name (#194)
  • 9772a35 fix: fix type in tests. (#192)
  • d8e0d63 fix error context display & update release workflow (#190)
  • 42e8a22 fix(bin): do not print stack backtrace on error (#189)
  • 6afd335 fix query/statement error unexpected passed when result is `statement/query...
  • ff89483 move /examples to /tests (#186)
  • e938269 fix: correctly support command complete in postgres-extended (#151)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 15, 2023

The following labels could not be found: auto-dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 19, 2023

Superseded by #105.

@dependabot dependabot bot closed this Sep 19, 2023
@dependabot dependabot bot deleted the dependabot/cargo/main/sqllogictest-0.16.0 branch September 19, 2023 16:27
Ted-Jiang pushed a commit that referenced this pull request Oct 7, 2023
This fixes the issue of column name COUNT(UInt8) appearing instead
Resolves #104
Ted-Jiang pushed a commit that referenced this pull request Oct 7, 2023
This fixes the issue of column name COUNT(UInt8) appearing instead
Resolves #104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants