I have a Dataset which contains only strings. But when I execute a writeAsText and supply a folder inside the string, it finishes with the following output but does not write any text files:
org.apache.flink.api.java.operators.DataSink[String] = DataSink '<unnamed>' (TextOutputFormat (file://path/to/output) - UTF-8)