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 2019/02/05 06:52:50 UTC
[GitHub] 123avi commented on a change in pull request #7418: FLINK-11053
Documentation - update scala sample code for bucketing sink according
123avi commented on a change in pull request #7418: FLINK-11053 Documentation - update scala sample code for bucketing sink according
URL: https://github.com/apache/flink/pull/7418#discussion_r247152403
##########
File path: docs/dev/connectors/filesystem_sink.md
##########
@@ -117,11 +117,12 @@ input.addSink(sink);
</div>
<div data-lang="scala" markdown="1">
{% highlight scala %}
-val input: DataStream[Tuple2[IntWritable, Text]] = ...
+import org.apache.flink.api.java.tuple.Tuple2
+val input: DataStream[Tuple2[A, B]] = ??? //we need to use java Tuple2 for the SequenceFileWriter
Review comment:
I changed the comment to clarify the usage. is that ok ?
----------------------------------------------------------------
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