[
https://issues.apache.org/jira/browse/HIVE-9657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14349227#comment-14349227
]
Brock Noland commented on HIVE-9657:
------------------------------------
Thank you! I have committed this to trunk!
> 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
> Fix For: 1.2.0
>
> 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)