private static CompatLevel getLastCompatLevel() {
    CompatLevel[] compatLevels = CompatLevel.values();
    return compatLevels[compatLevels.length - 1];
  }
Returned the configured compatibility level
@param hconf Hive configuration
@return
common/src/java/org/apache/hive/common/HiveCompat.java