You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aitozi (Jira)" <ji...@apache.org> on 2022/10/10 04:26:00 UTC
[jira] [Updated] (FLINK-29557) The SinkOperator's OutputFormat function is not recognized
[ https://issues.apache.org/jira/browse/FLINK-29557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aitozi updated FLINK-29557:
---------------------------
Description:
In the {{SimpleOperatorFactory#of}}, only {{StreamSink}} is handled to register as {{SimpleOutputFormatOperatorFactory}}. So it will lost the output format information in {{SinkOperator}}. Then some hook functions like {{FinalizeOnMaster}} will have no chance to be executed.
Due to the {{SinkOperator}} is in the table module, it's not can be reach directly in the {{flink-streaming-java}}. So maybe we need introduce an extra interface to describe the {{Sink}} operator and handle it individually.
> The SinkOperator's OutputFormat function is not recognized
> ----------------------------------------------------------
>
> Key: FLINK-29557
> URL: https://issues.apache.org/jira/browse/FLINK-29557
> Project: Flink
> Issue Type: Bug
> Components: API / Core, Table SQL / API
> Reporter: Aitozi
> Priority: Major
>
> In the {{SimpleOperatorFactory#of}}, only {{StreamSink}} is handled to register as {{SimpleOutputFormatOperatorFactory}}. So it will lost the output format information in {{SinkOperator}}. Then some hook functions like {{FinalizeOnMaster}} will have no chance to be executed.
> Due to the {{SinkOperator}} is in the table module, it's not can be reach directly in the {{flink-streaming-java}}. So maybe we need introduce an extra interface to describe the {{Sink}} operator and handle it individually.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)