Github user jackylk commented on a diff in the pull request: https://github.com/apache/carbondata/pull/1566#discussion_r153093394 --- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonMergerRDD.scala --- @@ -116,7 +116,7 @@ class CarbonMergerRDD[K, V]( // During UPDATE DELTA COMPACTION case all the blocks received in compute belongs to // one segment, so max cardinality will be calculated from first block of segment - if(carbonMergerMapping.campactionType == CompactionType.IUD_UPDDEL_DELTA_COMPACTION) { + if(CompactionType.IUD_UPDDEL_DELTA == carbonMergerMapping.campactionType) { --- End diff -- add space after `if`
---