Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1392#discussion_r45580214
  
    --- Diff: flink-java/src/main/java/org/apache/flink/api/java/DataSet.java 
---
    @@ -1343,10 +1343,34 @@ public long count() throws Exception {
        // 
--------------------------------------------------------------------------------------------
        
        /**
    -    * Writes a DataSet as a text file to the specified location.<br>
    -    * For each element of the DataSet the result of {@link 
Object#toString()} is written.  
    +    * Writes a DataSet as text file(s) to the specified location.<br>
    +    * For each element of the DataSet the result of {@link 
Object#toString()} is written.<br/>
    +    * <br/>
    +    * <span class="strong">How it writes DataSet</span><br/>
    +    * A single file is written when
    +    * <ul>
    +    *   <li>parallelism is set to 1</li>
    +    *   <li>or <a 
href="https://ci.apache.org/projects/flink/flink-docs-master/setup/config.html#file-systems";>fs.output.always-create-directory</a>
 is set to true in flink-conf.yaml file</li>
    --- End diff --
    
    This should probably mean "when it is set to `false`", no?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to