pvary commented on code in PR #9346: URL: https://github.com/apache/iceberg/pull/9346#discussion_r1432582407
########## flink/v1.18/flink/src/test/java/org/apache/iceberg/flink/source/TestIcebergSourceBoundedSql.java: ########## @@ -77,4 +100,92 @@ protected List<Row> run( String optionStr = SqlHelpers.sqlOptionsToString(options); return SqlHelpers.sql(getTableEnv(), "select %s from t %s %s", select, optionStr, sqlFilter); } + + protected Record generateRecord(Instant t1, long t2) { + Record record = GenericRecord.create(SCHEMA_TS); + record.setField("t1", t1.atZone(ZoneId.systemDefault()).toLocalDateTime()); + record.setField("t2", t2); + return record; + } + + @Test + public void testWatermarkOptions() throws Exception { + // Skip AVRO since we don't collect metrics for it, and hence we cannot use watermark column as + // there are no stats + // re: https://github.com/apache/iceberg/pull/1963 + if (fileFormat != FileFormat.AVRO) { Review Comment: Please use `Assume` -- 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