if (inputs.get(i) instanceof ValidatingInputFileSpec) {
spec = (ValidatingInputFileSpec) inputs.get(i);
} else {
spec = new ValidatingInputFileSpec(inputs.get(i), store);
}
EvalSpec groupBy = groupFuncs == null ? null : groupFuncs.get(i);
if (isSplittable && (spec.getSlicer() instanceof PigSlicer)) {
((PigSlicer)spec.getSlicer()).setSplittable(isSplittable);
}
Slice[] pigs = spec.getSlicer().slice(store, spec.getFileName());
for (Slice split : pigs) {