Github user manishgupta88 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1979#discussion_r169886144
--- Diff:
integration/spark2/src/main/scala/org/apache/carbondata/spark/rdd/CarbonTableCompactor.scala
---
@@ -271,7 +271,7 @@ class CarbonTableCompactor(carbonLoadModel:
CarbonLoadModel,
false
}
operationContext.setProperty("commitComplete", commitComplete)
- if (!statusFileUpdation && !commitComplete) {
+ if (!statusFileUpdation || !commitComplete) {
--- End diff --
Please add a test case to cover this scenario
---