Skip to content

Add org.apache.iceberg.SnapshotUpdate#metricsReporter(MetricsReporter reporter) #14490

@raunaqmorarka

Description

@raunaqmorarka

Feature Request / Improvement

The Scan API has org.apache.iceberg.Scan#metricsReporter available to register a custom metrics reporter for collecting metrics from the scan planning process.
We need a similar API on the SnapshotUpdate interface to allow collecting org.apache.iceberg.metrics.CommitReport from a custom metrics reporter. This will allow engines like Trino to collect and display metrics about the work done during a table change operation.

Query engine

None

Willingness to contribute

  • I can contribute this improvement/feature independently
  • I would be willing to contribute this improvement/feature with guidance from the Iceberg community
  • I cannot contribute this improvement/feature at this time

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementPR that improves existing functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions