Xiao Li created SPARK-17234:
-------------------------------

             Summary: Table Existence Checking when Index Table with the Same 
Name Exists
                 Key: SPARK-17234
                 URL: https://issues.apache.org/jira/browse/SPARK-17234
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.1.0
            Reporter: Xiao Li


Hive Index tables are not supported by Spark SQL. Thus, we issue an exception 
when users try to access Hive Index tables. When the internal function 
`tableExists` tries to access Hive Index tables, it always gets the same error 
message: ```Hive index table is not supported```. This message could be 
confusing to users, since their SQL operations could be completely unrelated to 
Hive Index tables. For example, when users try to alter a table to a new name 
and there exists an index table with the same name, the expected exception 
should be a `TableAlreadyExistsException`.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to