hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <j...@apache.org>
Subject [jira] [Updated] (HIVE-14085) Allow type widening primitive conversion on hive/parquet tables
Date Mon, 27 Jun 2016 19:56:52 GMT

     [ https://issues.apache.org/jira/browse/HIVE-14085?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergio Peña updated HIVE-14085:
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0
           Status: Resolved  (was: Patch Available)

Thanks [~vihangk1] I committed this to 2.2

> Allow type widening primitive conversion on hive/parquet tables
> ---------------------------------------------------------------
>
>                 Key: HIVE-14085
>                 URL: https://issues.apache.org/jira/browse/HIVE-14085
>             Project: Hive
>          Issue Type: Improvement
>          Components: File Formats
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>             Fix For: 2.2.0
>
>         Attachments: HIVE-14085.1.patch
>
>
> There is a JIRA ticket on upstream that brought this usability improvement in Hive to
support auto type widening for Parquet tables. See https://issues.apache.org/jira/browse/HIVE-12080
> This improvement is very useful for users who have schema evolution on their tables.
For example, a Hive table with a "bigint" can read parquet files with "int32" and "int64"
types.
> The patch only supports widening conversions from int->bigint and float->double.
We should support more types to allow users read their changed parquet schema.
> Here's a list of widening conversions we should support:
> {code}
> tinyint     ->  smallint,int,bigint,float,double
> smallint  -> int,bigint,float,double
> int          -> bigint,float,double
> bigint     -> float,double
> float       ->  double
> double   ->  --
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message