Package org.apache.drill.exec.store.hive

Examples of org.apache.drill.exec.store.hive.HiveTable


        hivePartitions.add(new HiveTable.HivePartition(part));
      }

      if (hivePartitions.size() == 0)
        hivePartitions = null;
      return new HiveReadEntry(new HiveTable(t), hivePartitions, hiveConfigOverride);

    }
View Full Code Here


      }

      if (hivePartitions.size() == 0) {
        hivePartitions = null;
      }
      return new HiveReadEntry(new HiveTable(t), hivePartitions, hiveConfigOverride);

    }
View Full Code Here

      String id) {
    super(operand, id);
  }

  private HiveReadEntry splitFilter(HiveReadEntry origReadEntry, DirPathBuilder builder) {
    HiveTable table = origReadEntry.table;
    List<HivePartition> partitions = origReadEntry.partitions;
    List<HivePartition> newPartitions = new LinkedList<>();
    String pathPrefix = PartitionPruningUtil.truncatePrefixFromPath(table.getTable().getSd().getLocation());
    List<String> newFiles = Lists.newArrayList();
    List<String> dirPathList = builder.getDirPath();

    for (String dirPath : dirPathList) {
      String fullPath = pathPrefix + dirPath;
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.store.hive.HiveTable

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.