tanishq-chugh commented on code in PR #6443:
URL: https://github.com/apache/hive/pull/6443#discussion_r3219186651
##########
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java:
##########
@@ -2286,6 +2286,14 @@ public static List<String>
getColumnNamesFromFieldSchema(List<FieldSchema> partC
return names;
}
+ public static List<String> getColumnTypesFromFieldSchema(List<FieldSchema>
fieldSchemas) {
+ List<String> types = new ArrayList<>();
+ for (FieldSchema fs : fieldSchemas) {
+ types.add(fs.getType());
+ }
+ return types;
Review Comment:
Made this change in commit:
[4ca13d8](https://github.com/apache/hive/pull/6443/commits/4ca13d86634349416f0ae7d7479145d5356c0ccb)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]