[ https://issues.apache.org/jira/browse/HIVE-8248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Dere updated HIVE-8248: ----------------------------- Attachment: HIVE-8248.1.patch This patch fixes the test by explicitly setting HCatConstants.HCAT_DATA_CONVERT_BOOLEAN_TO_INTEGER=false in testReadDataPrimitiveTypes(). HCatContext.INSTANCE.setConf() seems to get called when PigServer is called with a set of conf properties. > 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)