ObjectInspector[] childrenOIs = new ObjectInspector[children.size()];
for(int i=0; i<childrenOIs.length; i++) {
childrenOIs[i] = TypeInfoUtils.getStandardWritableObjectInspectorFromTypeInfo(
children.get(i).getTypeInfo());
}
GenericUDF genericUDF = (GenericUDF) ReflectionUtils.newInstance(genericUDFClass, null);
ObjectInspector oi = genericUDF.initialize(childrenOIs);
return new exprNodeGenericFuncDesc(TypeInfoUtils.getTypeInfoFromObjectInspector(oi),
genericUDFClass, children);
}