[ https://issues.apache.org/jira/browse/HIVE-27137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zsolt Miskolczi updated HIVE-27137: ----------------------------------- Description: Remove the HIVE_IN_TEST_ICEBERG flag from the production code. Remove code snippet from TxnHandler and update unit tests which are expecting the exception. {code:java} if (lc.isSetOperationType() && lc.getOperationType() == DataOperationType.UNSET && ((MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEST) || MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEZ_TEST)) && !MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEST_ICEBERG))) { {code} was: Remove the HIVE_IN_TEST_ICEBERG flag from the production code. Remove code snippet from TxnHandler and update unit tests which are expecting the exception. {{ if (lc.isSetOperationType() && lc.getOperationType() == DataOperationType.UNSET && ((MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEST) || MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEZ_TEST)) && !MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEST_ICEBERG))) { }} > Remove HIVE_IN_TEST_ICEBERG flag > -------------------------------- > > Key: HIVE-27137 > URL: https://issues.apache.org/jira/browse/HIVE-27137 > Project: Hive > Issue Type: Improvement > Components: Iceberg integration > Reporter: Zsolt Miskolczi > Priority: Minor > > Remove the HIVE_IN_TEST_ICEBERG flag from the production code. > Remove code snippet from TxnHandler and update unit tests which are expecting > the exception. > {code:java} > if (lc.isSetOperationType() && lc.getOperationType() == > DataOperationType.UNSET && > ((MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEST) || > MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEZ_TEST)) && > !MetastoreConf.getBoolVar(conf, ConfVars.HIVE_IN_TEST_ICEBERG))) > { > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)