carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From QiangCai <...@git.apache.org>
Subject [GitHub] carbondata pull request #1773: [CARBONDATA-1999] Block drop table and delete...
Date Mon, 08 Jan 2018 08:23:00 GMT
Github user QiangCai commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1773#discussion_r160089558
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/statusmanager/SegmentStatusManager.java
---
    @@ -543,6 +548,11 @@ public static void writeLoadDetailsIntoFile(String dataLoadLocation,
                   + "as the segment has been compacted.");
               continue;
             }
    +        if (SegmentStatus.STREAMING == loadMetadata.getSegmentStatus()) {
    +          LOG.info("Ignoring the segment : " + loadMetadata.getLoadName()
    +              + "as the segment is streaming in progress.");
    +          continue;
    +        }
             if (SegmentStatus.MARKED_FOR_DELETE != loadMetadata.getSegmentStatus() &&
    --- End diff --
    
    fixed


---

Mime
View raw message