Github user jackylk commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2045#discussion_r173642089
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/util/AlterTableUtil.scala ---
@@ -114,6 +114,7 @@ object AlterTableUtil {
val lockLocation = tablePath
locks.zip(locksAcquired).foreach { case (carbonLock, lockType) =>
val lockFilePath = lockLocation +
CarbonCommonConstants.FILE_SEPARATOR +
--- End diff --
add a static function in `CarbonTablePath` to return the lockFilePath
---