flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [flink] hequn8128 commented on a change in pull request #7196: [FLINK-10974] [table] Add support for flatMap to table API
Date Mon, 08 Apr 2019 06:44:26 GMT
hequn8128 commented on a change in pull request #7196: [FLINK-10974] [table] Add support for
flatMap to table API
URL: https://github.com/apache/flink/pull/7196#discussion_r272878215
 
 

 ##########
 File path: flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/Table.java
 ##########
 @@ -1021,4 +1021,31 @@
 	 * </pre>
 	 */
 	Table map(Expression mapFunction);
+
+	/**
+	 * Performs a flatMap operation with a table function.
+	 *
+	 * <p>Example:
+	 *
+	 * <pre>
+	 * {@code TableFunction func = new MyFlatMapFunction();
 
 Review comment:
   Place `TableFunction func = new MyFlatMapFunction();` to a new line to align all code.
Same for map function.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message