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

    https://github.com/apache/incubator-carbondata/pull/160#discussion_r79284253
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/writer/CarbonDictionaryWriterImpl.java
 ---
    @@ -199,7 +199,10 @@ public CarbonDictionaryWriterImpl(String hdfsStorePath,
        */
       @Override public void close() throws IOException {
         if (null != dictionaryThriftWriter) {
    -      writeDictionaryFile();
    +      // if stream is open then only need to write dictionary file.
    +      if(dictionaryThriftWriter.isOpen()){
    --- End diff --
    
    fixed


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