akashrn5 commented on a change in pull request #3541:
[CARBONDATA-3636]Timeseries query is not hitting datamap if granularity in
query is given case insensitive
URL: https://github.com/apache/carbondata/pull/3541#discussion_r373316719
##########
File path:
datamap/mv/core/src/main/scala/org/apache/carbondata/mv/rewrite/DefaultMatchMaker.scala
##########
@@ -76,8 +82,16 @@ abstract class DefaultMatchPattern extends
MatchPattern[ModularPlan] {
qualifier = a.qualifier)
}.getOrElse(a)
case a: Expression =>
- aliasMapExp
+ var attribute = aliasMapExp
.get(a)
+ if (attribute.isEmpty) {
Review comment:
better to give an example in comment, that in which case the attribute is
empty
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services