Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
If No_Inverted_Index is specified in tableproperties during addition of several column. All columns are being considered as No_Inverted_Index, even if few of them is marked as No_Inverted_Index in tableproperties .
*Steps to Reproduce : *
sql( """ CREATE TABLE IF NOT EXISTS NO_INVERTED_CARBON (id Int, name String, city String) STORED BY 'org.apache.carbondata.format' TBLPROPERTIES('NO_INVERTED_INDEX'='city') """) sql("alter table NO_INVERTED_CARBON add columns(col1 string,col2 string) tblproperties('NO_INVERTED_INDEX'='col2')") sql("desc formatted NO_INVERTED_CARBON").show()
Expected : 2 columns should be marked as delete(city and col2)
Actual : 3 columns is being marked as delete(city,col1 and col2)
Attachments
Issue Links
- links to