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

Add test for DataFrame::write_table #8531

Merged
merged 3 commits into from
Dec 15, 2023
Merged

Conversation

devinjdangelo
Copy link
Contributor

Which issue does this PR close?

Closes #8530

Rationale for this change

As pointed out by @comphead, we do not currently have a unit test specific to DataFrame::write_table. This PR adds one.

What changes are included in this PR?

Unit test for DataFrame::write_table method, which is very similar to the unit test for DataFrame::write_parquet.

Are these changes tested?

The change is itself a new test.

Are there any user-facing changes?

No

@github-actions github-actions bot added the core Core DataFusion crate label Dec 13, 2023
.to_str()
.expect("Should be a str")
.to_owned();
println!("{name}");
Copy link
Contributor

Choose a reason for hiding this comment

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

lets remove it

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 @devinjdangelo

@metesynnada
Copy link
Contributor

metesynnada commented Dec 14, 2023

Can we add a simpler version to the Datafusion examples?

@alamb
Copy link
Contributor

alamb commented Dec 15, 2023

Can we add a simpler version to the Datafusion examples?

I filed #8551 to track this (good idea). Thank you @devinjdangelo and @metesynnada

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

Successfully merging this pull request may close these issues.

Cover Dataframe::write_table with unit tests
4 participants