-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
DataSink
additions
#7778
DataSink
additions
#7778
Conversation
/// resolved) for all available partitions, the set of metrics | ||
/// should be complete. If this function is called prior to | ||
/// `execute()` new metrics may appear in subsequent calls. | ||
fn metrics(&self) -> Option<MetricsSet>; |
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.
🤔 I wonder if there is value in making some sort of End to End example for this feature (so we don't accidentally break it in the future0
|
||
/// Returns the metrics of the underlying [DataSink] | ||
pub fn metrics(&self) -> Option<MetricsSet> { | ||
self.sink.metrics() |
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.
Ahh this was the wrong place, it should be in impl ExecutionPlan for FileSinkExec
Which issue does this PR close?
Closes #7779
Rationale for this change
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?