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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to