[ 
https://issues.apache.org/jira/browse/HIVE-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146949#comment-14146949
 ] 

Jason Dere commented on HIVE-8248:
----------------------------------

[~sushanth] does this fix look ok, or would there be an appropriate place in 
HCat to work in another call to HCatContext.INSTANCE.setConf()?

> TestHCatLoader.testReadDataPrimitiveTypes() occasionally fails
> --------------------------------------------------------------
>
>                 Key: HIVE-8248
>                 URL: https://issues.apache.org/jira/browse/HIVE-8248
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog, Tests
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-8248.1.patch
>
>
> This occasionally shows up in the test failures.
> It looks like testConvertBooleanToInt() sets 
> HCatConstants.HCAT_DATA_CONVERT_BOOLEAN_TO_INTEGER=true, and this sets the 
> static configuration in HCatContext.INSTANCE. If testConvertBooleanToInt() 
> runs first, then this setting sticks around and converts the boolean values 
> to int in testReadDataPrimitiveTypes().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to