You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Manish Gupta (JIRA)" <ji...@apache.org> on 2016/07/29 05:37:20 UTC

[jira] [Created] (CARBONDATA-124) Exception thrown while executing drop table command in spark-sql cli

Manish Gupta created CARBONDATA-124:
---------------------------------------

             Summary: Exception thrown while executing drop table command in spark-sql cli
                 Key: CARBONDATA-124
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-124
             Project: CarbonData
          Issue Type: Bug
            Reporter: Manish Gupta
            Assignee: Manish Gupta
            Priority: Minor


Analysis: Whenever drop table operation is performed, first the cube is deleted from carbon metastore and then command is executed to delete the same table from hive metastore. While deleting from hive metastore the call comes back to carbon metastore catalog where we again check for table existence but table is not found and exception is thrown. Call comes again to carbon because the command is executed as spark sql command and not as hive sql command and we catch the logical plan when drop command is executed as spark sql command.

Impact: drop table operation



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