You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ravipesala <gi...@git.apache.org> on 2018/01/11 10:00:00 UTC

[GitHub] carbondata pull request #1782: [CARBONDATA-2019] Enhancement of merge index ...

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


---