public static boolean isOrderedAggregate(String functionName) throws SemanticException {
    WindowFunctionInfo windowInfo = getWindowFunctionInfo(functionName);
    if (windowInfo != null) {
      return windowInfo.isOrderedAggregate();
    }
    return false;
  }
Function to invert non-equi function texts
@param funcText
ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java