davidradl commented on code in PR #26430:
URL: https://github.com/apache/flink/pull/26430#discussion_r2035566851


##########
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/plan/reuse/ScanReuserUtils.java:
##########
@@ -203,7 +204,13 @@ private static WatermarkPushDownSpec adjustWatermarkIndex(
                 String name = newFieldNames.get(i);
                 LogicalType type = newSourceType.getTypeAt(i);
                 if (name.equals(rowtimeColumn)) {
-                    type = new TimestampType(type.isNullable(), 
TimestampKind.ROWTIME, 3);
+                    if (type instanceof LocalZonedTimestampType) {

Review Comment:
   Can a Zoned Timestamp type get through to this code? I know this is not what 
we would expect for a watermark - but wondered if it can get here.  



-- 
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...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to