You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "zhangbutao (Jira)" <ji...@apache.org> on 2022/04/11 09:52:00 UTC
[jira] [Updated] (HIVE-26130) Incorrect matching of external table when validating NOT NULL constraints
[ https://issues.apache.org/jira/browse/HIVE-26130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
zhangbutao updated HIVE-26130:
------------------------------
Description:
_AbstractAlterTablePropertiesAnalyzer.validate_ uses incorrect external table judgment statement:
{code:java}
else if (entry.getKey().equals("external") && entry.getValue().equals("true") {code}
In current hive code, we use hive tblproperties('EXTERNAL'='true' or 'EXTERNAL'='TRUE) to validate external table.
> Incorrect matching of external table when validating NOT NULL constraints
> -------------------------------------------------------------------------
>
> Key: HIVE-26130
> URL: https://issues.apache.org/jira/browse/HIVE-26130
> Project: Hive
> Issue Type: Bug
> Reporter: zhangbutao
> Assignee: zhangbutao
> Priority: Major
>
> _AbstractAlterTablePropertiesAnalyzer.validate_ uses incorrect external table judgment statement:
>
> {code:java}
> else if (entry.getKey().equals("external") && entry.getValue().equals("true") {code}
> In current hive code, we use hive tblproperties('EXTERNAL'='true' or 'EXTERNAL'='TRUE) to validate external table.
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)