Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-124

Exception thrown while executing drop table command in spark-sql cli

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.1.0-incubating
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            manishgupta_88 Manish Gupta
            manishgupta_88 Manish Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: