You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jingsong Lee (Jira)" <ji...@apache.org> on 2022/06/30 08:28:00 UTC

[jira] [Created] (FLINK-28322) DataStreamScanProvider's new method is not compatible

Jingsong Lee created FLINK-28322:
------------------------------------

             Summary: DataStreamScanProvider's new method is not compatible
                 Key: FLINK-28322
                 URL: https://issues.apache.org/jira/browse/FLINK-28322
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
            Reporter: Jingsong Lee
             Fix For: 1.15.0


In FLINK-25990 , 
Add a method "DataStream<RowData> produceDataStream(ProviderContext providerContext, StreamExecutionEnvironment execEnv)" in DataStreamScanProvider.
But this method has no default implementation, this is not compatible when users upgrade to 1.15 from 1.14.
This method should be:
{code:java}
    default DataStream<RowData> produceDataStream(
            ProviderContext providerContext, StreamExecutionEnvironment execEnv) {
        return produceDataStream(execEnv);
    }
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)