slinkydeveloper commented on code in PR #19414:
URL: https://github.com/apache/flink/pull/19414#discussion_r847299267
##########
flink-end-to-end-tests/flink-distributed-cache-via-blob-test/src/main/java/org/apache/flink/streaming/tests/DistributedCacheViaBlobTestProgram.java:
##########
@@ -65,7 +67,11 @@ public static void main(String[] args) throws Exception {
Files.size(inputFile),
inputDir.toAbsolutePath().toString(),
containedFile.getFileName().toString()))
- .writeAsText(params.getRequired("output"),
FileSystem.WriteMode.OVERWRITE);
+ .sinkTo(
+ FileSink.forRowFormat(
+ new
org.apache.flink.core.fs.Path(outputPath),
Review Comment:
But you're not using the import from nio, so replace it with the one from
flink
--
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]