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


##########
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:
   Can we add a test case in `TestHoodieHiveCatalog`.



-- 
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: commits-unsubscr...@hudi.apache.org

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

Reply via email to