ajantha-bhat commented on a change in pull request #4013: URL: https://github.com/apache/carbondata/pull/4013#discussion_r535391315
########## File path: integration/spark/src/main/scala/org/apache/spark/sql/execution/command/index/DropIndexCommand.scala ########## @@ -210,12 +210,6 @@ private[sql] case class DropIndexCommand( logError("Table metadata unlocking is unsuccessful, index table may be in stale state") } } - // in case if the the physical folders still exists for the index table - // but the carbon and hive info for the index table is removed, - // DROP INDEX IF EXISTS should clean up those physical directories - if (ifExistsSet && carbonTable.isEmpty) { Review comment: I agree with @akashrn5 : If code is buggy, we need to fix it. If we remove it. It might bring back the original issues that caused this code change. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org