static List<ObjectInspector> getWritableObjectInspector(List<ExprNodeDesc> exprs) {
    return exprs.stream().map(ExprNodeDesc::getWritableObjectInspector).collect(Collectors.toList());
  }
Convert exprNodeDesc array to ObjectInspector array.
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java