@Override
      public RexTableInputRef visitTableInputRef(RexTableInputRef ref) {
        rexTableInputRefs.add(ref);
        return ref;
      }
Extracts inputs referenced by aggregate operator.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveCalciteUtil.java