You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "yihua (via GitHub)" <gi...@apache.org> on 2025/06/06 18:03:49 UTC

Re: [PR] [HUDI-9359] add TIMESTAMP_MILLIS and TIME_MILLIS to InternalSchema [hudi]

yihua commented on code in PR #13291:
URL: https://github.com/apache/hudi/pull/13291#discussion_r2132632957


##########
hudi-common/src/main/java/org/apache/hudi/internal/schema/convert/AvroInternalSchemaConverter.java:
##########
@@ -345,14 +345,13 @@ private static Type visitAvroPrimitiveToBuildInternalType(Schema primitive) {
       } else if (logical instanceof LogicalTypes.Date) {
         return Types.DateType.get();
 
-      } else if (
-              logical instanceof LogicalTypes.TimeMillis
-                      || logical instanceof LogicalTypes.TimeMicros) {
+      } else if  (logical instanceof LogicalTypes.TimeMillis) {

Review Comment:
   ```suggestion
         } else if (logical instanceof LogicalTypes.TimeMillis) {
   ```



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

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