[
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)