public static ExprNodeDesc genConstraintsExpr(
      HiveConf conf, Table targetTable, boolean updateStatement, RowResolver inputRR)
      throws SemanticException {
    return new ConstraintExprGenerator<>(conf, new TypeCheckProcFactory<>(new ExprNodeDescExprFactory()))
        .genConstraintsExpr(targetTable, updateStatement, inputRR);
  }
Transforms column information into the corresponding Hive ExprNode.
ql/src/java/org/apache/hadoop/hive/ql/parse/type/ExprNodeTypeCheck.java