Skip to content

Conversation

@owen6314
Copy link

Resolves #14160

Currently, the FlinkSink only supports specifying static snapshot properties at build time via the builder API. There is no built-in way to set or customize snapshot properties dynamically for each commit or checkpoint. Extend the FlinkSink to allow users to provide a function that generates snapshot properties dynamically. This would enable users to inject custom metadata, such as row counts, min/max timestamps, or task-specific annotations into Iceberg snapshots at runtime.

Similar to how snapshot-property.custom-key works in Spark.

@github-actions github-actions bot added the flink label Nov 15, 2025
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.

support customized snapshot metadata via snapshot-property for flink

1 participant