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

    https://github.com/apache/incubator-carbondata/pull/158#discussion_r79003748
  
    --- Diff: 
processing/src/main/java/org/apache/carbondata/lcm/status/SegmentStatusManager.java
 ---
    @@ -102,6 +91,60 @@ public long getTableStatusLastModifiedTime() throws 
IOException {
     
       /**
        * get valid segment for given table
    +   *
    +   * @return
    +   * @throws IOException
    +   */
    +  public InvalidSegmentsInfo getInvalidSegments() throws IOException {
    --- End diff --
    
    This requires reading SegmentInfo twice, once for valid blocks and next for 
Invalid Blocks. Instead send a single class containting ValidAndInvalidBlocks.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to