Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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:
PartitionDesc part = pathToPartitionInfo.get(hsplit.getPath().toString()); if ((part != null) && (part.getTableDesc() != null)) {