code: public static void setTypeInfo(Configuration conf, StructTypeInfo typeInfo) {
      conf.set(INPUT_TYPE_INFO, typeInfo.getTypeName());
      LOG.debug("Set input typeInfo on conf: {}", typeInfo);
    }
docs: Sets the StructTypeInfo that declares the columns to be read in the configuration