47484950515253
readers.add(new HBaseRecordReader(subScan.getStorageConfig().getHBaseConf(), scanSpec, columns, context)); } catch (Exception e1) { throw new ExecutionSetupException(e1); } } return new ScanBatch(subScan, context, readers.iterator()); }
162163164165166167168
for (int i = 0; i < numParts; i++) { selectedPartitionColumns.add(i); } } return new ScanBatch(scan, context, readers.iterator(), partitionColumns, selectedPartitionColumns); }
142143144145146147148149150151152153154
for (int i = 0; i < numParts; i++) { selectedPartitionColumns.add(i); } } ScanBatch s = new ScanBatch(rowGroupScan, context, readers.iterator(), partitionColumns, selectedPartitionColumns); for(RecordReader r : readers){ r.setOperatorContext(s.getOperatorContext()); } return s; }
60616263646566
logger.error(e.getMessage(), e); throw new ExecutionSetupException(e); } } logger.info("Number of record readers initialized : " + readers.size()); return new ScanBatch(subScan, context, readers.iterator()); }
65666768697071
if (readers.size() == 0) { readers.add(new HiveRecordReader(table, null, null, config.getColumns(), context, config.getHiveReadEntry().hiveConfigOverride)); } return new ScanBatch(config, context, readers.iterator()); }
143144145146147148149150151152153154155
163164165166167168169
43444546474849
); } catch (Exception e1) { throw new ExecutionSetupException(e1); } } return new ScanBatch(subScan, context, readers.iterator()); }