Github user kumarvishal09 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/3029#discussion_r244332001
--- Diff:
integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/CarbonMergerRDD.scala
---
@@ -166,8 +164,9 @@ class CarbonMergerRDD[K, V](
carbonLoadModel.setTablePath(tablePath)
// check for restructured block
// TODO: only in case of add and drop this variable should be true
- val restructuredBlockExists: Boolean = CarbonCompactionUtil
- .checkIfAnyRestructuredBlockExists(segmentMapping,
+ val restructuredBlockExists: Boolean =
+ CarbonCompactionUtil.checkIfAnyRestructuredBlockExists(
--- End diff --
revert this change
---