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 #1782: [CARBONDATA-2019] Enhancement of merge index ...
Date Thu, 11 Jan 2018 10:00:00 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1782#discussion_r160908770
  
    --- Diff: integration/spark2/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonAlterTableCompactionCommand.scala
---
    @@ -220,11 +220,14 @@ case class CarbonAlterTableCompactionCommand(
             try {
               if (compactionType == CompactionType.SEGMENT_INDEX) {
                 // Just launch job to merge index and return
    -            CommonUtil.mergeIndexFiles(sqlContext.sparkContext,
    +            CommonUtil.mergeIndexFiles(
    +              sqlContext.sparkContext,
                   CarbonDataMergerUtil.getValidSegmentList(
                     carbonTable.getAbsoluteTableIdentifier).asScala,
                   carbonLoadModel.getTablePath,
    -              carbonTable, true)
    +              carbonTable,
    +              true,
    +              true)
    --- End diff --
    
    provide name to parameters


---

Mime
View raw message