xiangqiao123 commented on a change in pull request #17990:
URL: https://github.com/apache/flink/pull/17990#discussion_r762700353
##########
File path:
flink-connectors/flink-connector-hive/src/main/java/org/apache/flink/table/functions/hive/HiveGenericUDTF.java
##########
@@ -157,4 +165,16 @@ public TypeInformation getResultType() {
public void close() throws Exception {
function.close();
}
+
+ public static StandardStructObjectInspector
getStandardStructObjectInspector(
+ ObjectInspector[] argumentInspectors) {
+ List<String> structFieldNames = new ArrayList<>();
+ for (int i = 0; i < argumentInspectors.length; i++) {
+ structFieldNames.add(String.valueOf(i));
Review comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]