[jira] [Created] (CARBONDATA-3824) Error when Secondary index tried to be created on table that does not exist is not correct.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-3824) Error when Secondary index tried to be created on table that does not exist is not correct.

Akash R Nilugal (Jira)
Chetan Bhat created CARBONDATA-3824:
---------------------------------------

             Summary: Error when Secondary index tried to be created on table that does not exist is not correct.
                 Key: CARBONDATA-3824
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-3824
             Project: CarbonData
          Issue Type: Bug
          Components: data-query
    Affects Versions: 2.0.0
         Environment: Spark 2.3.2, Spark 2.4.5
            Reporter: Chetan Bhat


*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)***



--
This message was sent by Atlassian Jira
(v8.3.4#803005)