[
https://issues.apache.org/jira/browse/HCATALOG-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Travis Crawford updated HCATALOG-460:
-------------------------------------
Attachment: HCATALOG-460_boolean_to_int.2.patch
Updated patch and ran tests.
Thanks for the feedback Dmitriy. I updated how the singleton works, and added
the correct Apache file header.
Consider the case where conversions are not requested (default behavior). Since
HCatContext is initialized with the default Configuration, no optional
conversions are enabled, and we get the default behavior. Nothing changes from
the existing behavior (for example existing MR jobs using HCatInputFormat that
do not set an HCatContext configuration).
Paths that support conversion (such as HCatLoader) can either set specific
properties in HCatContext, or merge a whole config into the existing config,
enabling conversions as needed.
> Enable boolean to integer conversions
> -------------------------------------
>
> Key: HCATALOG-460
> URL: https://issues.apache.org/jira/browse/HCATALOG-460
> Project: HCatalog
> Issue Type: Improvement
> Reporter: Travis Crawford
> Assignee: Travis Crawford
> Attachments: HCATALOG-460_boolean_to_int.1.patch,
> HCATALOG-460_boolean_to_int.2.patch
>
>
--
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