[
https://issues.apache.org/jira/browse/CARBONDATA-3824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akash R Nilugal resolved CARBONDATA-3824.
-----------------------------------------
Fix Version/s: 2.1.0
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 2.1.0
>
>
> *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)