drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramana Inukonda Nagaraj (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-1528) Update HiveRecordReader to read Hive decimal fields with scale and precision
Date Thu, 13 Nov 2014 23:20:33 GMT

    [ https://issues.apache.org/jira/browse/DRILL-1528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14211450#comment-14211450

Ramana Inukonda Nagaraj commented on DRILL-1528:

Verified in 0.7 master by querying hive table containing decimal with scale and precision.

> Update HiveRecordReader to read Hive decimal fields with scale and precision
> ----------------------------------------------------------------------------
>                 Key: DRILL-1528
>                 URL: https://issues.apache.org/jira/browse/DRILL-1528
>             Project: Apache Drill
>          Issue Type: Improvement
>          Components: Storage - Hive
>    Affects Versions: 0.6.0
>            Reporter: Venki Korukanti
>            Assignee: Venki Korukanti
>             Fix For: 0.7.0
>         Attachments: 0002-DRILL-1528-Update-HiveRecordReader-to-read-Hive-Deci.patch
> Currently HiveRecordReader reads decimal data in Hive and converts to VarChar. The reason
is: Hive-0.12 doesn't enforce same precision and scale for all records. Drill may get records
with different precision and scale within a column which Drill can't handle it currently.
In Hive-0.13 scale and precision are enforced for all records in a column. As DRILL-1347 upgrades
Hive storage plugin to work with Hive-0.13, this JIRA is created to track changes to HiveRecordReader
to read Hive decimal data as decimal and not as VarChar. 

This message was sent by Atlassian JIRA

View raw message