private boolean checkLimitReached(JobConf job) {
    /*
     * Assuming that "tez.mapreduce.vertex.name" is present in case of tez.
     * If it's not present (e.g. different execution engine), then checkLimitReachedForVertex will return
     * false due to an invalid cache key (like: "null_limit_reached"), so this will silently acts as
     * limit hasn't been reached, which is a proper behavior in case we don't support early bailout.
     */
    return LimitOperator.checkLimitReachedForVertex(job, job.get("tez.mapreduce.vertex.name"));
  }
NOTE: this no longer wraps the IF for LLAP. Call wrapForLlap manually if needed.
ql/src/java/org/apache/hadoop/hive/ql/io/HiveInputFormat.java