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

    
https://github.com/apache/incubator-apex-malhar/pull/273#discussion_r63194215
  
    --- Diff: 
library/src/main/java/com/datatorrent/lib/io/fs/AbstractSingleFileOutputOperator.java
 ---
    @@ -52,6 +81,7 @@ protected String getFileName(INPUT tuple)
       public void setOutputFileName(String outputFileName)
       {
         this.outputFileName = outputFileName;
    +    partitionedFileName = String.format(partitionedFileNameformat, 
outputFileName, physicalPartitionId);
    --- End diff --
    
    Since partitionedFileName is assigned in setup() there is no need to do it 
here; in fact, since these setters are typically called before the operator is 
serialized, physicalPartitionId will always be 0 here.


---
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