[
https://issues.apache.org/jira/browse/FLINK-19958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guowei Ma updated FLINK-19958:
------------------------------
Description:
In the current Sink API some method does not throw any exception, which should
throw intuitively for example `SinkWriter::write`. Some method throw the normal
`Exception`, which might be too general.
So in this pr we want to add a IOException to all the I/O related methods
signature.
was:
In the current Sink API some method does not throw any exception, which should
throw intuitive for example `SinkWriter::write`. Some method throw the normal
`Exception`, which might be too general.
So in this pr we want to change all the methods that needed throw exception
with IOException.
> Unified exception signature in Sink API
> ---------------------------------------
>
> Key: FLINK-19958
> URL: https://issues.apache.org/jira/browse/FLINK-19958
> Project: Flink
> Issue Type: Sub-task
> Components: API / DataStream
> Reporter: Guowei Ma
> Priority: Major
>
> In the current Sink API some method does not throw any exception, which
> should throw intuitively for example `SinkWriter::write`. Some method throw
> the normal `Exception`, which might be too general.
>
> So in this pr we want to add a IOException to all the I/O related methods
> signature.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)