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

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


      List<InputSplit> splits = mappings.get(minorFragmentId);
      List<HivePartition> parts = Lists.newArrayList();
      List<String> encodedInputSplits = Lists.newArrayList();
      List<String> splitTypes = Lists.newArrayList();
      for (InputSplit split : splits) {
        HivePartition partition = null;
        if (partitionMap.get(split) != null) {
          partition = new HivePartition(partitionMap.get(split));
        }
        parts.add(partition);
        encodedInputSplits.add(serializeInputSplit(split));
        splitTypes.add(split.getClass().getName());
      }
View Full Code Here

TOP

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

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.