Skip to content

Update sqllogictest requirement from 0.11.1 to 0.12.0 #5237#5244

Merged
alamb merged 3 commits intoapache:masterfrom
alamb:alamb/update_sqllogictest
Feb 11, 2023
Merged

Update sqllogictest requirement from 0.11.1 to 0.12.0 #5237#5244
alamb merged 3 commits intoapache:masterfrom
alamb:alamb/update_sqllogictest

Conversation

@alamb
Copy link
Copy Markdown
Contributor

@alamb alamb commented Feb 10, 2023

Which issue does this PR close?

Closes #5237

Rationale for this change

Keep up with upstream libraries (thanks @xxchan !)

What changes are included in this PR?

  1. Update version from dependabot Update sqllogictest requirement from 0.11.1 to 0.12.0 #5237
  2. Update driver logic due to sqllogictest's API change

Are these changes tested?

in CI

Are there any user-facing changes?

No

dependabot bot and others added 3 commits February 10, 2023 09:08
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.11.1...v0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@alamb alamb added development-process Related to development process of DataFusion auto-dependencies labels Feb 10, 2023
@github-actions github-actions bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) and removed development-process Related to development process of DataFusion labels Feb 10, 2023

use sqllogictest::{DBOutput, DefaultColumnType};

pub type DFColumnType = DefaultColumnType;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DBOutput is now generic to support a custom column type description.

cc @melgenek as I think you were discussing this on a previous PR

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sqllogictest was updated.

The update in this pr doesn't:

  • validate types by default. By default, any types are successful as long as it can be parsed. Validation can be enabled with runner.with_column_validator(strict_column_validator);
  • --complete doesn't fill in the expected types. I need to create another pr in sqllogictest-rs.

Anyway, I was going to work on #4499 this weekend. If you give me a couple of days, I'll create a pr with type validation.


use sqllogictest::{DBOutput, DefaultColumnType};

pub type DFColumnType = DefaultColumnType;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sqllogictest was updated.

The update in this pr doesn't:

  • validate types by default. By default, any types are successful as long as it can be parsed. Validation can be enabled with runner.with_column_validator(strict_column_validator);
  • --complete doesn't fill in the expected types. I need to create another pr in sqllogictest-rs.

Anyway, I was going to work on #4499 this weekend. If you give me a couple of days, I'll create a pr with type validation.

@alamb
Copy link
Copy Markdown
Contributor Author

alamb commented Feb 10, 2023

Anyway, I was going to work on #4499 this weekend. If you give me a couple of days, I'll create a pr with type validation.

That is great news -- thank you so much @melgenek !

@alamb alamb merged commit 8bc035b into apache:master Feb 11, 2023
@ursabot
Copy link
Copy Markdown

ursabot commented Feb 11, 2023

Benchmark runs are scheduled for baseline = eda875b and contender = 8bc035b. 8bc035b is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

comphead pushed a commit to comphead/arrow-datafusion that referenced this pull request Feb 11, 2023
…ache#5244)

* Update sqllogictest requirement from 0.11.1 to 0.12.0

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.11.1...v0.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* fmt

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@alamb alamb deleted the alamb/update_sqllogictest branch July 26, 2024 10:46
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 sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants