You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2014/10/01 03:41:34 UTC

[jira] [Updated] (HIVE-8248) TestHCatLoader.testReadDataPrimitiveTypes() occasionally fails

     [ https://issues.apache.org/jira/browse/HIVE-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sushanth Sowmyan updated HIVE-8248:
-----------------------------------
    Attachment: HIVE-8248-updated-after-7420.patch

(Attached updated patch I tested with after application of HIVE-7420)

> 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-updated-after-7420.patch, 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)