You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2016/08/17 09:04:21 UTC

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

     [ https://issues.apache.org/jira/browse/CARBONDATA-124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala resolved CARBONDATA-124.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.1.0-incubating

https://github.com/HuaweiBigData/carbondata/pull/888

> 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
>             Fix For: 0.1.0-incubating
>
>
> 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)