satishkotha commented on a change in pull request #2129:
URL: https://github.com/apache/hudi/pull/2129#discussion_r499747610



##########
File path: 
hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/util/HiveSchemaUtil.java
##########
@@ -167,7 +173,10 @@ private static String convertField(final Type parquetType) 
{
             .append(decimalMetadata.getScale()).append(")").toString();
       } else if (originalType == OriginalType.DATE) {
         return field.append("DATE").toString();
+      } else if (supportTimestamp && originalType == 
OriginalType.TIMESTAMP_MICROS) {

Review comment:
       @n3nash without this change, we get 'bigint' for hive type (goes into 
parquetPrimitiveTypeName.convert -> convertINT64 method)




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

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


Reply via email to