JingsongLi commented on code in PR #20119:
URL: https://github.com/apache/flink/pull/20119#discussion_r914348586


##########
flink-table/flink-table-api-java-bridge/src/main/java/org/apache/flink/table/connector/source/DataStreamScanProvider.java:
##########
@@ -48,8 +48,10 @@ public interface DataStreamScanProvider extends 
ScanTableSource.ScanRuntimeProvi
      *
      * @see SingleOutputStreamOperator#uid(String)
      */
-    DataStream<RowData> produceDataStream(
-            ProviderContext providerContext, StreamExecutionEnvironment 
execEnv);
+    default DataStream<RowData> produceDataStream(

Review Comment:
   Yes, lambda will still fail, and downstream systems will still require code 
changes.
   However, downstream systems can have the possibility to be compatible with 
1.14 and 1.15, without having to maintain two copies of the code.



-- 
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]

Reply via email to