You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/12/19 06:45:43 UTC

[GitHub] Clarkkkkk commented on a change in pull request #7258: [FLINK-11084]Throw a hard exception to remind developers while there's no stream node between two split transformation

Clarkkkkk commented on a change in pull request #7258: [FLINK-11084]Throw a hard exception to remind developers while there's no stream node between two split transformation
URL: https://github.com/apache/flink/pull/7258#discussion_r242805202
 
 

 ##########
 File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphGenerator.java
 ##########
 @@ -643,4 +645,18 @@ private String determineSlotSharingGroup(String specifiedGroup, Collection<Integ
 			return inputGroup == null ? "default" : inputGroup;
 		}
 	}
+
+	private <T> void validateSplitTransformation(StreamTransformation<T> input) {
+		if (input instanceof SelectTransformation || input instanceof SplitTransformation) {
 
 Review comment:
   @dawidwys Good point.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services