Package org.apache.hadoop.hive.ql.optimizer.optiq.rules

Examples of org.apache.hadoop.hive.ql.optimizer.optiq.rules.HivePartitionPrunerRule


      basePlan = hepPlan(basePlan, false, mdProvider, new TransitivePredicatesOnJoinRule(
          JoinRelBase.class, HiveFilterRel.DEFAULT_FILTER_FACTORY),
          // TODO: Enable it after OPTIQ-407 is fixed
          //RemoveTrivialProjectRule.INSTANCE,
          new HivePartitionPrunerRule(SemanticAnalyzer.this.conf));

      RelFieldTrimmer fieldTrimmer = new RelFieldTrimmer(null, HiveProjectRel.DEFAULT_PROJECT_FACTORY,
          HiveFilterRel.DEFAULT_FILTER_FACTORY, HiveJoinRel.HIVE_JOIN_FACTORY, RelFactories.DEFAULT_SEMI_JOIN_FACTORY,
          HiveSortRel.HIVE_SORT_REL_FACTORY, HiveAggregateRel.HIVE_AGGR_REL_FACTORY, HiveUnionRel.UNION_REL_FACTORY);
      basePlan = fieldTrimmer.trim(basePlan);
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hive.ql.optimizer.optiq.rules.HivePartitionPrunerRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.