You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Eugene Koifman (JIRA)" <ji...@apache.org> on 2017/08/05 19:41:00 UTC

[jira] [Updated] (HIVE-17255) hive_metastoreConstants.TABLE_IS_TRANSACTIONAL vs

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

Eugene Koifman updated HIVE-17255:
----------------------------------
    Summary: hive_metastoreConstants.TABLE_IS_TRANSACTIONAL vs   (was: OrcInputFormat.Context relying on wrong property)

> hive_metastoreConstants.TABLE_IS_TRANSACTIONAL vs 
> --------------------------------------------------
>
>                 Key: HIVE-17255
>                 URL: https://issues.apache.org/jira/browse/HIVE-17255
>             Project: Hive
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-17255.01.patch
>
>
> constructor of Context() has
> boolean isTableTransactional = conf.getBoolean(hive_metastoreConstants.TABLE_IS_TRANSACTIONAL, false).
> This looks wrong.  Everywhere else we use ConfVars.HIVE_TRANSACTIONAL_TABLE_SCAN.
> (yet someone does set it - can't find where)
> Utilities.copyTablePropertiesToConf() copies all table props to JobConf
> There places in the code setting/expecting ConfVars.HIVE_TRANSACTIONAL_TABLE_SCAN and other places setting/expecting hive_metastoreConstants.TABLE_IS_TRANSACTIONAL.  This is inconsistent.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)