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

Minor: port last test from parquet.rs #8587

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Dec 19, 2023

Which issue does this PR close?

Follow on to #8560
Related to #8206.

Rationale for this change

While porting tests in parquet.rs to sqllogictests @hiltontj noticed there was a disabled test that could be ported.

The test predates most of DataFusion / the parquet crate's ability to read structured data / arrow-rs's ability to print it so it was somewhat akward in its original form. Given the better support now things are in much better shape

What changes are included in this PR?

  1. port final test and remove parquet.rs module

Are these changes tested?

all tests

@github-actions github-actions bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Dec 19, 2023
@alamb alamb marked this pull request as ready for review December 19, 2023 19:06
let int_list_array = as_list_array(batch.column(0)).unwrap();
let utf8_list_array = as_list_array(batch.column(1)).unwrap();

assert_eq!(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This equality check predates the ability to print out ListArrays

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

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

lgtm thanks @alamb

@alamb
Copy link
Contributor Author

alamb commented Dec 20, 2023

Thank you for the review @comphead

@alamb alamb merged commit 448e413 into apache:main Dec 20, 2023
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants