[ https://issues.apache.org/jira/browse/GOBBLIN-1024?focusedWorklogId=371935&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-371935 ]
ASF GitHub Bot logged work on GOBBLIN-1024: ------------------------------------------- Author: ASF GitHub Bot Created on: 14/Jan/20 22:36 Start Date: 14/Jan/20 22:36 Worklog Time Spent: 10m Work Description: ZihanLi58 commented on pull request #2867: [GOBBLIN-1024] Supporting Avro logical type recognition in Avro-to-ORC transformation URL: https://github.com/apache/incubator-gobblin/pull/2867#discussion_r366607210 ########## File path: gobblin-utility/src/main/java/org/apache/gobblin/util/HiveAvroTypeConstants.java ########## @@ -66,4 +66,17 @@ .put("date", ImmutableSet.<String>builder().add("string", "varchar").build()) .put("binary", Sets.<String>newHashSet()) .put("boolean", Sets.<String>newHashSet()).build(); + + /** + * Following are supported Avro logical types where they would be mapped to corresponding Hive types: + * Decimal -> "decimal" + * Date -> "date" + * TIME_MILLIS = "timestamp" + */ + public static final String DECIMAL = "decimal"; + public static final String DATE = "date"; + public static final String TIME_MILLIS = "time-millis"; + + public static final Map<String, String> LOGICAL_TYPE_MAPPING = ImmutableMap Review comment: Where is this map be used? ---------------------------------------------------------------- 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 Issue Time Tracking ------------------- Worklog Id: (was: 371935) Time Spent: 0.5h (was: 20m) > Support logical types in Avro-to-ORC > ------------------------------------ > > Key: GOBBLIN-1024 > URL: https://issues.apache.org/jira/browse/GOBBLIN-1024 > Project: Apache Gobblin > Issue Type: Improvement > Reporter: Lei Sun > Priority: Major > Time Spent: 0.5h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)