complone commented on code in PR #7156:
URL: https://github.com/apache/hudi/pull/7156#discussion_r1016421358


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/table/catalog/TypeInfoLogicalTypeVisitor.java:
##########
@@ -144,6 +145,16 @@ public TypeInfo visit(TimestampType timestampType) {
     }
   }
 
+  @Override
+  public TypeInfo visit(LocalZonedTimestampType localZonedTimestampType) {
+    int precision = localZonedTimestampType.getPrecision();
+    if (precision >= 0 && precision <= 9) {
+      return TypeInfoFactory.timestampTypeInfo;
+    } else {

Review Comment:
   ok, I will refer to [HUDI-4781](https://github.com/apache/hudi/pull/6607) to 
construct related Schemas and add tests



-- 
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]

Reply via email to