You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2016/08/17 08:38:21 UTC

[jira] [Resolved] (CARBONDATA-59) Filter queries on columns other than string datatype cannot get the correct result when included as dictionary column

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

Ravindra Pesala resolved CARBONDATA-59.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 0.1.0-incubating

https://github.com/HuaweiBigData/carbondata/pull/819

> Filter queries on columns other than string datatype cannot get the correct result when included as dictionary column
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-59
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-59
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Manish Gupta
>            Assignee: Manish Gupta
>             Fix For: 0.1.0-incubating
>
>
> Problem: when a column with datatype other than string is added to dictionary include property, then filters queries on that column cannot get the correct result
> Analysis: In Sort index file always the numeric values comes first and then the string values. When we perform binary search then when a string value is encountered then parsing operation to correspond datatype throws an exception and -1 value is returned because of which we move further towards last index but actually we should move towards lower index as all numeric values are above the string values.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)