hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koifman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6766) HCatLoader always returns Char datatype with maxlength(255) when table format is ORC
Date Thu, 27 Mar 2014 20:03:16 GMT

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

Eugene Koifman updated HIVE-6766:
---------------------------------

    Attachment: HIVE-6766.patch

ensured that when DefaultRecordWriterContainer constructs an ObjectInspector, it creates PrimitiveObjectInspectors
based on type (char(5)) rather than category.

> HCatLoader always returns Char datatype with maxlength(255)  when table format is ORC
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-6766
>                 URL: https://issues.apache.org/jira/browse/HIVE-6766
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.13.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>            Priority: Critical
>         Attachments: HIVE-6766.patch
>
>
> attached patch contains
> org.apache.hive.hcatalog.pig.TestOrcHCatPigStorer#testWriteChar()
> which shows that char(5) value written to Hive (ORC) table using HCatStorer will come
back as char(255) when read with HCatLoader.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message