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


---

Reply via email to