GitHub user pawanmalwal opened a pull request:
https://github.com/apache/carbondata/pull/1656
[CARBONDATA-1887] Block pruning not working for date type column
Block pruning not working for date type column.
Root Cause : Type casting of String for DateType is not handled
Solution: CastExpressionOptimization should handle the casting of String
for DateType
Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:
- [X] Any interfaces changed?
None
- [X] Any backward compatibility impacted?
None
- [X] Document update required?
NA
- [X] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests
are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance
test report.
- Any additional information to help reviewers in testing this
change.
Done manual testing
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
NA
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pawanmalwal/carbondata
date_datatype_block_pruning_issue_fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/1656.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 #1656
----
commit de83c25a03606a42eac049433798b2cfdfc7b5af
Author: Pawan Malwal <[email protected]>
Date: 2017-12-13T07:31:20Z
[CARBONDATA-1887] Block pruning not working for date type column
----
---