You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/09/02 16:03:11 UTC

[GitHub] [iceberg] rdblue commented on a change in pull request #3061: Flink: Fix the warning in FlinkSink

rdblue commented on a change in pull request #3061:
URL: https://github.com/apache/iceberg/pull/3061#discussion_r701225333



##########
File path: flink/src/main/java/org/apache/iceberg/flink/sink/FlinkSink.java
##########
@@ -249,7 +249,7 @@ public Builder uidPrefix(String newPrefix) {
       return this;
     }
 
-    public DataStreamSink<RowData> build() {
+    public DataStreamSink<Void> build() {

Review comment:
       Since this isn't going to return anything anyway, why not let the user see whatever type they want?
   
   ```java
     public <T> DataStreamSink<T> build() {
       ...
       return (DataStreamSink<T>) appendDummySink(...);
     }
   ```




-- 
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: issues-unsubscribe@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org