Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/5985#discussion_r188604321
--- Diff: flink-core/src/main/java/org/apache/flink/util/StringUtils.java
---
@@ -348,6 +350,21 @@ public static String concatenateWithAnd(@Nullable
String s1, @Nullable String s2
}
}
+ /**
+ * Generates a string containing a comma-separated list of values in
double-quatas.
+ * Uses lower-cased values returning from {@link Object#toString()}
method for each element in the given array.
+ * Null values are spipped.
+ *
+ * @param values array of elements for the list
+ *
+ * @return The string with quated list of elements
+ */
+ public static String toQuatedListString(Object[] values) {
+ return Arrays.stream(values).filter(Objects::nonNull)
+ .map(v -> v.toString().toLowerCase())
--- End diff --
this reminds me to check whether all enum parameters accept lower-case
values...
---