static boolean canCreateSargFromConf(Configuration conf) { if (getNeededColumnNamesString(conf) == null) { LOG.debug("No ORC pushdown predicate - no column names"); return false; } if (!ConvertAstToSearchArg.canCreateFromConf(conf)) { LOG.debug("No ORC pushdown predicate"); return false; } return true; }
static boolean canCreateSargFromConf(Configuration conf) { if (getNeededColumnNamesString(conf) == null) { LOG.debug("No ORC pushdown predicate - no column names"); return false; } if (!ConvertAstToSearchArg.canCreateFromConf(conf)) { LOG.debug("No ORC pushdown predicate"); return false; } return true; }