talatuyarer commented on code in PR #14245:
URL: https://github.com/apache/iceberg/pull/14245#discussion_r2409133898


##########
flink/v1.20/flink/src/main/java/org/apache/iceberg/flink/FlinkTypeToType.java:
##########
@@ -137,12 +137,20 @@ public Type visit(TimeType timeType) {
 
   @Override
   public Type visit(TimestampType timestampType) {
-    return Types.TimestampType.withoutZone();
+    if (timestampType.getPrecision() == 9) {
+      return Types.TimestampNanoType.withoutZone();
+    } else {
+      return Types.TimestampType.withoutZone();
+    }

Review Comment:
   No This will be behaviour change. Today Flink Iceberg support Timestamp 0 -> 
6 and all maps to microsecond.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to