You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Nihal kumar ojha (Jira)" <ji...@apache.org> on 2021/09/16 04:57:00 UTC

[jira] [Created] (CARBONDATA-4286) Select query with and filter is giving empty result

Nihal kumar ojha created CARBONDATA-4286:
--------------------------------------------

             Summary: Select query with and filter is giving empty result
                 Key: CARBONDATA-4286
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4286
             Project: CarbonData
          Issue Type: Bug
            Reporter: Nihal kumar ojha


Select query on a table with and filter condition returns an empty result while valid data present in the table.

Root cause: Currently when we are building the min-max index at block level that time we are using unsafe byte comparator for either dimension or measure column which returns incorrect result for measure columns. 

We should use different comparators for dimensions and measure columns which we are already doing at time of writing the min-max index at blocklet level.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)