GitHub user manishgupta88 opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/683

    [CARBONDATA-803] Incorrect results returned by not equal to filter on 
dictionary column with numeric data type

    Problem: Whenever a not equal to filter is applied on dictionary column 
with numeric datatype, the cast added by spark plan is removed while creating 
carbon filters from spark filter. Due to this plan modification incorrect 
results are returned by spark.
    
    Fix: Do not remove the cast operation so that spark layer processes the 
data and gives back the correct results.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/manishgupta88/incubator-carbondata 
spark_plan_cast_issue

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-carbondata/pull/683.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #683
    
----
commit fa7ed65656c83dd9c0cf777efce0918715f921f5
Author: manishgupta88 <tomanishgupt...@gmail.com>
Date:   2017-03-21T17:45:43Z

    Whenever a not equal to filter is applied on dictionary column with numeric 
datatype, the cast added by spark plan is removed while creating carbon filters 
from spark filter. Due to this plan modification incorrect results are returned 
by spark.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to