Skip to content

Move FileSinkExec::metrics to the correct place#10901

Merged
Dandandan merged 1 commit intoapache:mainfrom
coralogix:sink-metrics
Jun 13, 2024
Merged

Move FileSinkExec::metrics to the correct place#10901
Dandandan merged 1 commit intoapache:mainfrom
coralogix:sink-metrics

Conversation

@joroKr21
Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #7779.

Rationale for this change

DataSink metrics were added in #7778 but the metrics interface was not correctly implemented by DataSinkExec.

What changes are included in this PR?

Moves the metrics function from impl DataSinkExec to impl ExecutionPlan for DataSinkExec.

Are these changes tested?

Not currently.

Are there any user-facing changes?

After this change DataSinkExec will forward to the DataSink metrics as intended.

Copy link
Copy Markdown
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 @joroKr21

@Dandandan Dandandan merged commit 1aa205d into apache:main Jun 13, 2024
@Dandandan Dandandan deleted the sink-metrics branch June 13, 2024 13:59
@Dandandan
Copy link
Copy Markdown
Contributor

Thanks @joroKr21

findepi pushed a commit to findepi/datafusion that referenced this pull request Jul 16, 2024
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.

Add as_any and metrics to DataSink trait

3 participants