Skip to content

Core: Remove @Deprecated from MetricsConfig.fromProperties#15819

Open
ebyhr wants to merge 1 commit intoapache:mainfrom
ebyhr:ebi/metrics-config-revert-deprecated
Open

Core: Remove @Deprecated from MetricsConfig.fromProperties#15819
ebyhr wants to merge 1 commit intoapache:mainfrom
ebyhr:ebi/metrics-config-revert-deprecated

Conversation

@ebyhr
Copy link
Copy Markdown
Member

@ebyhr ebyhr commented Mar 29, 2026

This method is used from Trino (IcebergPageSink), and migrating it to forTable(Table table) is a bit difficult since Table isn't available in this class. Additionally, MetricsConfig isn't Jackson-serializable.

I propose reverting the deprecation, though I'm open to alternative approaches, e.g. exposing a method of 3 parameters (Map<String, String> props, Schema schema, SortOrder order)

@github-actions github-actions bot added the core label Mar 29, 2026
@ebyhr
Copy link
Copy Markdown
Member Author

ebyhr commented Mar 31, 2026

@szehon-ho Could you please review this PR when you have time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant