chucheng92 commented on code in PR #3459: URL: https://github.com/apache/calcite/pull/3459#discussion_r1358155535
########## core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java: ########## @@ -5251,6 +5251,17 @@ public static Map mapFromArrays(List keysArray, List valuesArray) { return map; } + /** Support the MAP function. */ + public static Map mapFunction(Object... args) { + final Map map = new LinkedHashMap<>(); + for (int i = 0; i < args.length; i++) { + Object key = args[i++]; Review Comment: yes, updated. -- 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: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org