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:22:51 GMT
Github user QiangCai commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1773#discussion_r160089541
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/statusmanager/SegmentStatusManager.java
---
    @@ -495,11 +495,16 @@ public static void writeLoadDetailsIntoFile(String dataLoadLocation,
               }
               // if the segment status is overwrite in progress, then no need to delete that.
               if (SegmentStatus.INSERT_OVERWRITE_IN_PROGRESS == loadMetadata.getSegmentStatus())
{
    -            LOG.error("Cannot delete the segemnt " + loadId + " which is load overwrite
" +
    +            LOG.error("Cannot delete the segment " + loadId + " which is load overwrite
" +
                         "in progress");
                 invalidLoadIds.add(loadId);
                 return invalidLoadIds;
               }
    +          if (SegmentStatus.STREAMING == loadMetadata.getSegmentStatus()) {
    --- End diff --
    
    fixed


---

Mime
View raw message