-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Rename FileSinkExec
to DataSinkExec
#10065
Conversation
There was a problem hiding this 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.
There was a problem hiding this 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")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
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
toDataSinkExec
and adds a typedef forFileSinkExec
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.