You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "Manish Gupta (JIRA)" <ji...@apache.org> on 2016/07/15 11:52:20 UTC

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

Manish Gupta created CARBONDATA-59:
--------------------------------------

             Summary: 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


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)