carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1675: [CARBONDATA-1862][PARTITION] Support compacti...
Date Wed, 20 Dec 2017 10:43:36 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1675#discussion_r157990502
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/merger/CompactionResultSortProcessor.java
---
    @@ -168,6 +174,18 @@ public boolean execute(List<RawResultIterator> resultIteratorList)
{
         } catch (Exception e) {
           LOGGER.error(e, "Compaction failed: " + e.getMessage());
         } finally {
    +      if (partitionNames != null) {
    +        try {
    +          new PartitionFileStore().writePartitionMapFile(
    +              CarbonTablePath.getSegmentPath(
    +                  carbonLoadModel.getTablePath(),
    +                  carbonLoadModel.getSegmentId()),
    +              carbonLoadModel.getTaskNo(), partitionNames);
    --- End diff --
    
    ok


---

Mime
View raw message