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

Error when Secondary index tried to be created on table that does not exist is not correct.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • data-query
    • None
    • Spark 2.3.2, Spark 2.4.5

    Description

      Issue :-

      Table uniqdata_double does not exist.

      Secondary index tried to be created on table. Error message is incorrect.

      CREATE INDEX indextable2 ON TABLE uniqdata_double (DOB) AS 'carbondata' PROPERTIES('carbon.column.compressor'='zstd');
      Error: java.lang.RuntimeException: Operation not allowed on non-carbon table (state=,code=0)

       

      Expected :-

      Error: java.lang.RuntimeException: Table does not exist (state=,code=0)**

      Attachments

        Activity

          People

            Unassigned Unassigned
            chetdb Chetan Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: