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

Explicitly mark parquet for tests in datafusion-common #8497

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

Dennis40816
Copy link
Contributor

Which issue does this PR close?

Closes #8250.

Rationale for this change

What changes are included in this PR?

In the tests for datafusion-common, mark the test programs that require parquet for compilation with #[cfg(feature = "parquet")]. Additionally, in the CI, add a check to verify whether datafusion-common can compile without any features enabled (by cargo check).

Are these changes tested?

Running cargo test --tests --no-default-features -p datafusion-common.
The result is a pass.

Are there any user-facing changes?

@Dennis40816
Copy link
Contributor Author

@alamb, I would appreciate it if you could review this PR to ensure it aligns with our expectations.

@alamb
Copy link
Contributor

alamb commented Dec 11, 2023

Thank you @Dennis40816 -- this looks like a good change and is what I would expect. I have started the CI for this PR

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @Dennis40816 -- I have just one small request and I think this PR will be good to go

.github/workflows/rust.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

@alamb
Copy link
Contributor

alamb commented Dec 12, 2023

@alamb alamb merged commit 2919e32 into apache:main Dec 12, 2023
22 checks passed
@alamb
Copy link
Contributor

alamb commented Dec 12, 2023

Thanks again @Dennis40816

@jayzhan211
Copy link
Contributor

Thanks @Dennis40816 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use of undeclared crate or module parquet when compiling without --feature=parquet flag
3 participants