CREATE TABLE IF NOT EXISTS should match schemas.
------------------------------------------------

                 Key: HIVE-2763
                 URL: https://issues.apache.org/jira/browse/HIVE-2763
             Project: Hive
          Issue Type: Improvement
            Reporter: Adam Kramer


CREATE TABLE foo (bar BIGINT);
CREATE TABLE IF NOT EXISTS foo (baz BIGINT, extra STRING);

...the latter should throw a warning, because the table _as specified_ does not 
exist.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to