diff --git ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java index de49fc84bb..7bed53cb5e 100644 --- ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java +++ ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java @@ -641,7 +641,7 @@ public boolean validateInput(FileSystem fs, HiveConf conf, // The table properties are copied to job conf at HiveInputFormat::addSplitsForGroup(), // & therefore we should be able to retrieve them here and determine appropriate behavior. // Note that this will be meaningless for non-acid tables & will be set to null. - boolean isTableTransactional = conf.getBoolean(hive_metastoreConstants.TABLE_IS_TRANSACTIONAL, false); + boolean isTableTransactional = conf.getBoolean(ConfVars.HIVE_TRANSACTIONAL_TABLE_SCAN.varname, false); String transactionalProperties = conf.get(hive_metastoreConstants.TABLE_TRANSACTIONAL_PROPERTIES); this.acidOperationalProperties = isTableTransactional ? AcidOperationalProperties.parseString(transactionalProperties) : null;