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

Rename FileSinkExec to DataSinkExec #10065

Merged
merged 4 commits into from
Apr 13, 2024

Conversation

phillipleblanc
Copy link
Contributor

@phillipleblanc phillipleblanc commented Apr 12, 2024

Which issue does this PR close?

Closes #10064

Rationale for this change

Reduces confusion among new users of the DataFusion library that want a general purpose insert execution plan. See discussion #9940

What changes are included in this PR?

Renames FileSinkExec to DataSinkExec and adds a typedef for FileSinkExec with a deprecation notice.

Are these changes tested?

Yes, by CI

Are there any user-facing changes?

Yes, users should update their usage of FileSinkExec to DataSinkExec.

@github-actions github-actions bot added core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) labels Apr 12, 2024
Copy link
Contributor

@devinjdangelo devinjdangelo 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 for opening the original discussion and this PR! Looks good and makes sense to me.

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 very much @phillipleblanc for the contribution and @devinjdangelo for the review

@@ -74,10 +74,13 @@ pub trait DataSink: DisplayAs + Debug + Send + Sync {
) -> Result<u64>;
}

#[deprecated(since = "38.0.0", note = "Use [`DataSinkExec`] instead")]
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@alamb alamb merged commit 694d4b8 into apache:main Apr 13, 2024
24 checks passed
@phillipleblanc phillipleblanc deleted the phillip/240413-filesink-rename branch April 19, 2024 00:50
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.

Rename FileSinkExec to DataSinkExec
3 participants