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:52:50 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1675#discussion_r157992425
  
    --- Diff: processing/src/main/java/org/apache/carbondata/processing/merger/RowResultMergerProcessor.java
---
    @@ -150,7 +157,12 @@ public boolean execute(List<RawResultIterator> resultIteratorList)
{
             if (isDataPresent) {
               this.dataHandler.closeHandler();
             }
    -      } catch (CarbonDataWriterException e) {
    +        if (partitionNames != null) {
    +          new PartitionFileStore().writePartitionMapFile(
    +              CarbonTablePath.getSegmentPath(loadModel.getTablePath(), loadModel.getSegmentId()),
    +              loadModel.getTaskNo(), partitionNames);
    +        }
    +      } catch (CarbonDataWriterException | IOException e) {
             LOGGER.error("Exception while closing the handler in compaction merger " + e.getMessage());
    --- End diff --
    
    ok, updated


---

Mime
View raw message