snuyanzin commented on code in PR #28163:
URL: https://github.com/apache/flink/pull/28163#discussion_r3252830016
##########
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/SqlParseUtils.java:
##########
@@ -101,16 +101,16 @@ public static Map<String, String> extractMap(@Nullable
SqlNodeList propList) {
return result;
}
- public static List<String> extractList(
- @Nullable SqlNodeList sqlNodeList, Function<SqlNode, String>
mapper) {
+ public static <T> List<T> extractList(
Review Comment:
what else are you going to extract except for string?
--
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]