fapaul commented on a change in pull request #18428:
URL: https://github.com/apache/flink/pull/18428#discussion_r794285980
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStreamSink.java
##########
@@ -131,6 +150,10 @@ protected DataStreamSink(DataStream<T> inputStream,
Sink<T, ?, ?, ?> sink) {
*/
@PublicEvolving
public DataStreamSink<T> setUidHash(String uidHash) {
+ if (!(transformation instanceof LegacySinkTransformation)) {
Review comment:
No, this exception immediately occurs when the main method is executed
before the transformations are translated. It fails the whole job submission.
--
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]