zhxiaoping commented on a change in pull request #3072: [CARBONDATA-3247] 
Support to select all columns when creating MV datamap
URL: https://github.com/apache/carbondata/pull/3072#discussion_r282318254
 
 

 ##########
 File path: 
datamap/mv/plan/src/main/scala/org/apache/carbondata/mv/plans/util/BirdcageOptimizer.scala
 ##########
 @@ -132,7 +133,9 @@ object BirdcageOptimizer extends RuleExecutor[LogicalPlan] 
{
     Batch(
       "RewriteSubquery", Once,
       RewritePredicateSubquery,
-      CollapseProject) :: Nil
+      CollapseProject) ::
+    Batch(
+      "MVProjectAdd", Once, MVProjectColumnsAdd)::Nil
 
 Review comment:
   after https://github.com/apache/carbondata/pull/3072#issuecomment-463446314 
done and then add one  case g@modular.GroupBy(_, _, _, _, s@modular.Select(_, 
_, _, _, _, _, _, _, _, _), _, _, _) to the function extractSimpleOperator, it 
works. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to