[
https://issues.apache.org/jira/browse/HIVE-17047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Haindrich updated HIVE-17047:
------------------------------------
Description:
underlined textTo make FixedLengthInputFormat work in Hive, we need table
specific value for the configuration "fixedlengthinputformat.record.length".
Right now the best place would be table property. Unfortunately, table property
is not alway populated to InputFormat configurations because of this in
HiveInputFormat:
{code}
PartitionDesc part = pathToPartitionInfo.get(hsplit.getPath().toString());
if ((part != null) && (part.getTableDesc() != null)) {
{code}
was:
To make FixedLengthInputFormat work in Hive, we need table specific value for
the configuration "fixedlengthinputformat.record.length". Right now the best
place would be table property. Unfortunately, table property is not alway
populated to InputFormat configurations because of this in HiveInputFormat:
{code}
PartitionDesc part = pathToPartitionInfo.get(hsplit.getPath().toString());
if ((part != null) && (part.getTableDesc() != null)) {
{code}
> Allow table property to be populated to jobConf to make
> FixedLengthInputFormat work
> -----------------------------------------------------------------------------------
>
> Key: HIVE-17047
> URL: https://issues.apache.org/jira/browse/HIVE-17047
> Project: Hive
> Issue Type: Bug
> Reporter: Zhiyuan Yang
> Assignee: Zhiyuan Yang
> Attachments: HIVE-17047.1.patch
>
>
> underlined textTo make FixedLengthInputFormat work in Hive, we need table
> specific value for the configuration "fixedlengthinputformat.record.length".
> Right now the best place would be table property. Unfortunately, table
> property is not alway populated to InputFormat configurations because of this
> in HiveInputFormat:
> {code}
> PartitionDesc part = pathToPartitionInfo.get(hsplit.getPath().toString());
> if ((part != null) && (part.getTableDesc() != null)) {
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)