[
https://issues.apache.org/jira/browse/HIVE-2637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ron Bodkin updated HIVE-2637:
-----------------------------
Description:
It would be great to have a mechanism for a SerDe to receive configuration data
based on header file information that an InputFormat encountered. E.g.,
* Reading a version number from a file header
* Reading a list of columns and order from a file header
I tried setting properties in the input format and the ser de didn't see the
changes to properties.
Currently it appears that the only work-around is to use global variables to
let an input format pass values to a ser de (e.g., static fields). Is there a
way I missed?
was:
It would be great to have a mechanism for a SerDe to receive configuration data
based on header file information that an InputFormat encountered. E.g.,
* Reading a version number from a file header
* Reading a
I tried setting properties in the input format and the ser de didn't see the
changes to properties.
Currently it appears that the only work-around is to use global variables to
let an input format pass values to a ser de (e.g., static fields). Is there a
way I missed?
> Allow SerDe's to get configured by data from InputFormat
> --------------------------------------------------------
>
> Key: HIVE-2637
> URL: https://issues.apache.org/jira/browse/HIVE-2637
> Project: Hive
> Issue Type: New Feature
> Reporter: Ron Bodkin
>
> It would be great to have a mechanism for a SerDe to receive configuration
> data based on header file information that an InputFormat encountered. E.g.,
> * Reading a version number from a file header
> * Reading a list of columns and order from a file header
> I tried setting properties in the input format and the ser de didn't see the
> changes to properties.
> Currently it appears that the only work-around is to use global variables to
> let an input format pass values to a ser de (e.g., static fields). Is there a
> way I missed?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira