hililiwei commented on PR #5967: URL: https://github.com/apache/iceberg/pull/5967#issuecomment-1333793436
> 2. some of the read configs don't make sense to set in table environment configs, as they are tied to a specific source/table. How should handle this situation? > > ``` > public static final ConfigOption<Long> SNAPSHOT_ID = > ConfigOptions.key("snapshot-id").longType().defaultValue(null); > > public static final ConfigOption<Long> START_SNAPSHOT_ID = > ConfigOptions.key("start-snapshot-id").longType().defaultValue(null); > > public static final ConfigOption<Long> END_SNAPSHOT_ID = > ConfigOptions.key("end-snapshot-id").longType().defaultValue(null); > ``` They will not be set in the table environment. For example: ``` public Long startSnapshotId() { return confParser.longConf().option(FlinkReadOptions.START_SNAPSHOT_ID.key()).parseOptional(); } ``` It only works at job-level. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org