private void checkNondeterministicFn(GenericUDF udf) {
    assertFalse(FunctionRegistry.isDeterministic(udf));
    assertFalse(FunctionRegistry.isRuntimeConstant(udf));
    assertFalse(FunctionRegistry.isConsistentWithinQuery(udf));
  }
Method to print out the comparison/conversion behavior for data types.
ql/src/test/org/apache/hadoop/hive/ql/exec/TestFunctionRegistry.java