You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "SHREELEKHYA GAMPA (Jira)" <ji...@apache.org> on 2022/06/21 05:22:00 UTC
[jira] [Created] (CARBONDATA-4341) Drop Index Fails after TABLE RENAME
SHREELEKHYA GAMPA created CARBONDATA-4341:
---------------------------------------------
Summary: Drop Index Fails after TABLE RENAME
Key: CARBONDATA-4341
URL: https://issues.apache.org/jira/browse/CARBONDATA-4341
Project: CarbonData
Issue Type: Bug
Reporter: SHREELEKHYA GAMPA
Drop Index Fails after TABLE RENAME
[Steps] :-
From spark beeline the queries are executed.
drop table if exists uniqdata; CREATE TABLE uniqdata(CUST_ID int ,CUST_NAME string,ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double, INTEGER_COLUMN1 int) STORED AS carbondata; LOAD DATA INPATH 'hdfs://hacluster/chetan/2000_UniqData.csv' into table uniqdata OPTIONS ('FILEHEADER'='CUST_ID,CUST_NAME ,ACTIVE_EMUI_VERSION,DOB,DOJ, BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1, Double_COLUMN2,INTEGER_COLUMN1','BAD_RECORDS_ACTION'='FORCE'); create index uniq2_index on table uniqdata(CUST_NAME) as 'carbondata'; alter table uniqdata rename to uniqdata_i; drop index if exists uniq2_index on uniqdata_i;
[Expected Result] :- Drop Index should be success after TABLE RENAME
[Actual Issue]:- Drop Index Fails after TABLE RENAME
Error message: Table or view 'uniqdata_i' not found in database 'default';
--
This message was sent by Atlassian Jira
(v8.20.7#820007)