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

    https://github.com/apache/incubator-carbondata/pull/160#discussion_r79284972
  
    --- Diff: 
core/src/main/java/org/apache/carbondata/core/writer/ThriftWriter.java ---
    @@ -80,6 +80,17 @@ public void open() throws IOException {
       }
     
       /**
    +   * This will check whether stream and binary out is open or not.
    +   * @return
    +   */
    +  public boolean isOpen() {
    +    if (null != binaryOut && null != dataOutputStream) {
    --- End diff --
    
    in close  we are using util to close the stream so i think no need to set 
null explicitly.


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