Skip to content

Commit

Permalink
fixup! [FLINK-21386][datastream] Assert that AbstractUdfStreamOperato…
Browse files Browse the repository at this point in the history
…r redirects OutputTypeConfigurable to function
  • Loading branch information
kezhuw committed Apr 7, 2021
1 parent c12fdaf commit c5adc24
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -219,10 +219,10 @@ public void testOutputTypeConfigurationWithUdfStreamOperator() throws Exception

DataStream<Integer> source = env.fromElements(1, 10);

NoOpUdfOperator<Integer> udfOperator = new NoOpUdfOperator(function);
NoOpUdfOperator<Integer> udfOperator = new NoOpUdfOperator<>(function);

source.transform("no-op udf operator", BasicTypeInfo.INT_TYPE_INFO, udfOperator)
.addSink(new DiscardingSink());
.addSink(new DiscardingSink<>());

env.getStreamGraph();

Expand Down

0 comments on commit c5adc24

Please sign in to comment.