GitHub user kumarvishal09 opened a pull request:
https://github.com/apache/carbondata/pull/2153
[CARBONDATA-2328][PreAggregate] Fixed table With alias Issue
Issue: Query with table alias is not fetching data from pre-aggregate
Problem: when table has alias all the attribute reference's qualifiers
will have alias name, but as data map is created without alias so expression
comparison is failing.
Solution: While comparing alias remove qualifiers and then compare
expressions
- [ ] Any interfaces changed?
- [ ] Any backward compatibility impacted?
- [ ] Document update required?
- [ ] Testing done
Added UT
- [ ] For large changes, please consider breaking it into sub-tasks under
an umbrella JIRA.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kumarvishal09/incubator-carbondata
master_PreAggStreamingFix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/carbondata/pull/2153.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 #2153
----
commit 82dedc7f47a181b04e231a40d1391642481457e1
Author: kumarvishal <kumarvishal.1802@...>
Date: 2018-04-09T11:23:04Z
Fixed PreAgg streaming query issue
----
---