carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJangir <...@git.apache.org>
Subject [GitHub] carbondata pull request #1115: [CARBONDATA-1247]Block pruning not working fo...
Date Thu, 29 Jun 2017 10:29:47 GMT
GitHub user BJangir opened a pull request:

    https://github.com/apache/carbondata/pull/1115

    [CARBONDATA-1247]Block pruning not working for date type data type column

    Block pruning not working for filter on date type column .
    Root Cause : In PushedFilters it goes in CastExpr as below 
    
    PushedFilters: [IsNotNull(dob), CastExpr((cast(dob#230 as string) = 2016-06-25))]
    
    Fix:- CastExpressionOptimization need to have for Date type also like Timestamp data type
to remove the CastExpr  and convert date value to long.
    


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

    $ git pull https://github.com/BJangir/incubator-carbondata datepruning

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

    https://github.com/apache/carbondata/pull/1115.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 #1115
    
----
commit d403e23085b2f73faf037d90e0737bf470c3c72e
Author: BJangir <babulaljangir111@gmail.com>
Date:   2017-06-29T09:48:20Z

    Block pruning not working for date type data type column

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message