[
https://issues.apache.org/jira/browse/HIVE-9657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14338586#comment-14338586
]
Sergio Peña commented on HIVE-9657:
-----------------------------------
+1
Thanks [~Ferd]. This looks right.
> Use new parquet Types API builder to construct data types
> ---------------------------------------------------------
>
> Key: HIVE-9657
> URL: https://issues.apache.org/jira/browse/HIVE-9657
> Project: Hive
> Issue Type: Sub-task
> Reporter: Sergio Peña
> Assignee: Ferdinand Xu
> Attachments: HIVE-9657.1.patch, HIVE-9657.patch
>
>
> Parquet is going to remove the constructors from the public API in favor of
> the builder, We must use the new Types API for primitive types in:
> {noformat}HiveSchemaConverter.java{noformat}.
> This is to avoid invalid types, like an INT64 with a DATE annotation.
> An example for a DATE datatype:
> {noformat}
> Types.primitive(repetition, INT32).as(DATE).named(name);
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)