You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by ravipesala <gi...@git.apache.org> on 2017/12/05 03:01:28 UTC
[GitHub] carbondata pull request #1610: [CARBONDATA-1879][CARBONDATA-1791]do not drop...
Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1610#discussion_r154836171
--- Diff: integration/spark-common/src/main/scala/org/apache/carbondata/spark/util/CommonUtil.scala ---
@@ -877,4 +877,24 @@ object CommonUtil {
}
}
+ /**
+ * This function checks if any load or insert overwrite is in progress before dropping that table
+ * @return
+ */
+ def checkLoadInProgressForTable(carbonTable: CarbonTable): Boolean = {
--- End diff --
Please move this method to SegmentStatusManager
---