You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2017/11/14 12:27:00 UTC

[jira] [Resolved] (CARBONDATA-1574) No_Inverted is applied for all newly added column irrespect of specified in tableproperties

     [ https://issues.apache.org/jira/browse/CARBONDATA-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala resolved CARBONDATA-1574.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

> 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
>             Fix For: 1.3.0
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>
> 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)