Github user twalthr commented on a diff in the pull request: https://github.com/apache/flink/pull/5015#discussion_r151401984 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/scala/expressionDsl.scala --- @@ -705,6 +705,14 @@ trait ImplicitExpressionOperations { */ def element() = ArrayElement(expr) + /** + * Accesses the element of a map based on key. + * + * @param key key of the element + * @return value of the element + */ + def getValue(key: Expression) = MapElementGetValue(expr, key) --- End diff -- Can we use `at()` instead? I think this would make the API more consistent.
---