@Override public void process(Object[] arguments) throws HiveException {
    try {
      initArgs(arguments);
      SplitResult splitResult = getSplitResult(true);
      forwardOutput(splitResult);
    } catch (Exception e) {
      throw new HiveException(e);
    }
  }
GenericUDTFGetSplits2 -  Memory efficient version of GenericUDTFGetSplits.
It separates out information like schema and planBytes[] which is common to all the splits.
This produces output in following format.
<p>
type                           split
----------------------------------------------------
schema-split             LlapInputSplit -- contains only schema
plan-split               LlapInputSplit -- contains only planBytes[]
0                        LlapInputSplit -- actual split 1
1                        LlapInputSplit -- actual split 2
...                         ...
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFGetSplits2.java