Github user eychih commented on the issue:
https://github.com/apache/carbondata/pull/2335
For 2 in the previous comment, in SummaryDatasetCatalog.scala, I add a
method useSummaryDataset(plan: LogicalPlan) to replace a subplan of an MV with
the corresponding MV table.---
