Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2480#discussion_r202710990
--- Diff:
datamap/mv/core/src/main/scala/org/apache/carbondata/mv/datamap/MVHelper.scala
---
@@ -159,7 +159,12 @@ object MVHelper {
logicalPlan.transformAllExpressions {
case a: Alias =>
a
- case agg: AggregateExpression => agg
+ case agg: AggregateExpression =>
+ isFullReload = agg.aggregateFunction match {
+ case avg: Average => true
--- End diff --
Can you add comment to explain why it is true
---