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.17.0 to 0.18.0 #8102

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 9, 2023

Updates the requirements on sqllogictest to permit the latest version.

Release notes

Sourced from sqllogictest's releases.

v0.18.0

[0.18.0] - 2023-11-08

  • Support matching multiline error message under ---- for both statement error and query error.

    query error
    SELECT 1/0;
    ----
    db error: ERROR: Failed to execute query
    

    Caused by these errors: 1: Failed to evaluate expression: 1/0 2: Division by zero

    The output error message must be the exact match of the expected one to pass the test, except for the leading and trailing whitespaces. Users may use --override to let the runner update the test files with the actual output.

    Empty lines are allowed in the expected error message. As a result, the message must end with two consecutive empty lines.

    Breaking changes in the parser:

    • Add new variants to ParseErrorKind. Mark it as #[non_exhaustive].
    • Change the type of expected_error from Regex to ExpectedError, which is either a inline Regex or multiline String.
Changelog

Sourced from sqllogictest's changelog.

[0.18.0] - 2023-11-08

  • Support matching multiline error message under ---- for both statement error and query error.

    query error
    SELECT 1/0;
    ----
    db error: ERROR: Failed to execute query
    

    Caused by these errors: 1: Failed to evaluate expression: 1/0 2: Division by zero

    The output error message must be the exact match of the expected one to pass the test, except for the leading and trailing whitespaces. Users may use --override to let the runner update the test files with the actual output.

    Empty lines are allowed in the expected error message. As a result, the message must end with two consecutive empty lines.

    Breaking changes in the parser:

    • Add new variants to ParseErrorKind. Mark it as #[non_exhaustive].
    • Change the type of expected_error from Regex to ExpectedError, which is either a inline Regex or multiline String.

[0.17.2] - 2023-11-01

  • fix(runner): fix parallel testing db name duplication. Now we use full file path instead of filename as the temporary db name in run_parallel_async.

[0.17.1] - 2023-09-20

  • bin: support envvars SLT_HOST/PORT/DB/USER/PASSWORD

[0.17.0] - 2023-09-19

  • Support environment variables substituion for SQL and system commands. For compatibility, this feature is by default disabled, and can be enabled by adding control substitution on to the test file.

    control substitution on
    

    query TTTT SELECT '$foo' -- short , '${foo}' -- long , '${bar:default}' -- default value , '${bar:$foo-default}' -- recursive default value FROM baz;

    ...

    Besides, there's a special variable $__TEST_DIR__ which is the path to a temporary directory specific to the current test case. This can be helpful if you need to manipulate some external resources during the test.

... (truncated)

Commits

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.17.0...v0.18.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Nov 9, 2023
@Dandandan Dandandan merged commit 4512805 into main Nov 9, 2023
43 checks passed
@dependabot dependabot bot deleted the dependabot/cargo/main/sqllogictest-0.18.0 branch November 9, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-dependencies sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant