JingsongLi commented on a change in pull request #8179: [FLINK-12200] [Table 
API] Support UNNEST for MAP types
URL: https://github.com/apache/flink/pull/8179#discussion_r277493902
 
 

 ##########
 File path: 
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/plan/util/ExplodeFunctionUtil.scala
 ##########
 @@ -54,6 +55,15 @@ abstract class ExplodeTableFunction[T] extends 
TableFunction[T] {
   }
 }
 
+class MapExplodeTableFunc extends TableFunction[Object] {
+
+  def eval(map: util.Map[Object, Object]): Unit = {
+    map.asScala.foreach{ case (key,value) =>
 
 Review comment:
   `map.asScala.foreach { case (key, value)`
   space need here

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to