You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ferdinand Xu (JIRA)" <ji...@apache.org> on 2015/02/25 06:06:04 UTC
[jira] [Updated] (HIVE-9657) Use new parquet Types API builder to
construct data types
[ https://issues.apache.org/jira/browse/HIVE-9657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferdinand Xu updated HIVE-9657:
-------------------------------
Description:
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}
was:
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}HiveSchemaConvertar.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}
> 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
>
> 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)