Rahul Kumar created CARBONDATA-1574:
---------------------------------------
Summary: No_Inverted is applied for all newly added column irrespect of specified in tableproperties
Key: CARBONDATA-1574
URL:
https://issues.apache.org/jira/browse/CARBONDATA-1574 Project: CarbonData
Issue Type: Bug
Reporter: Rahul Kumar
Assignee: Rahul Kumar
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 : *
{code:java}
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()
{code}
Expected : 2 columns should be marked as delete(city and col2)
Actual : 3 columns is being marked as delete(city,col1 and col2)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)