// Pick the formatter to use to display the results. Either the
// normal human readable output or a json object.
if ("json".equals(conf.get(
HiveConf.ConfVars.HIVE_DDL_OUTPUT_FORMAT.varname, "text"))) {
formatter = new JsonMetaDataFormatter();
} else {
formatter = new TextMetaDataFormatter(
conf.getIntVar(HiveConf.ConfVars.CLIPRETTYOUTPUTNUMCOLS));
}