Skip to content

Commit

Permalink
[CARBONDATA-3247] Support to select all columns when creating MV datamap
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuchenjian committed Jun 13, 2019
1 parent 01df595 commit 9ae5324
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import org.apache.carbondata.core.datastore.impl.FileFactory
import org.apache.carbondata.core.metadata.schema.datamap.DataMapClassProvider
import org.apache.carbondata.core.metadata.schema.table.{CarbonTable, DataMapSchema, RelationIdentifier}
import org.apache.carbondata.datamap.DataMapManager
import org.apache.carbondata.mv.plans.modular.{GroupBy, Matchable, ModularPlan, Select}
import org.apache.carbondata.mv.plans.modular._
import org.apache.carbondata.mv.rewrite.{MVPlanWrapper, QueryRewrite, SummaryDatasetCatalog}
import org.apache.carbondata.spark.util.CommonUtil

Expand Down Expand Up @@ -292,6 +292,7 @@ object MVHelper {
g.child match {
case s: Select =>
isValidSelect(isValidExp, s)
case m: ModularRelation => isValidExp
}
case s: Select =>
isValidSelect(true, s)
Expand Down

0 comments on commit 9ae5324

Please sign in to comment.