Package org.apache.drill.exec.planner.logical

Examples of org.apache.drill.exec.planner.logical.DirPathBuilder


  }

  protected void doOnMatch(RelOptRuleCall call, DrillFilterRel filterRel, DrillProjectRel projectRel, DrillScanRel scanRel) {
    DrillRel inputRel = projectRel != null ? projectRel : scanRel;
    HiveReadEntry origReadEntry = ((HiveScan)scanRel.getGroupScan()).hiveReadEntry;
    DirPathBuilder builder = new DirPathBuilder(filterRel, inputRel, filterRel.getCluster().getRexBuilder(), new HivePartitionDescriptor(origReadEntry.table.partitionKeys));
    HiveReadEntry newReadEntry = splitFilter(origReadEntry, builder);

    if (origReadEntry == newReadEntry) {
      return; // no directory filter was pushed down
    }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.planner.logical.DirPathBuilder

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.