Repository: incubator-griffin
Updated Branches:
  refs/heads/master 7026ab541 -> a691f5ecb


clear compile temp table names in data connector

Author: Lionel Liu <bhlx3l...@163.com>

Closes #220 from bhlx3lyx7/tmst.


Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/a691f5ec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/a691f5ec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/a691f5ec

Branch: refs/heads/master
Commit: a691f5ecb7cc29f6cb1276da7bba56b668f2935f
Parents: 7026ab5
Author: Lionel Liu <bhlx3l...@163.com>
Authored: Fri Feb 9 19:00:44 2018 +0800
Committer: Lionel Liu <bhlx3l...@163.com>
Committed: Fri Feb 9 19:00:44 2018 +0800

----------------------------------------------------------------------
 .../org/apache/griffin/measure/data/connector/DataConnector.scala   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/a691f5ec/measure/src/main/scala/org/apache/griffin/measure/data/connector/DataConnector.scala
----------------------------------------------------------------------
diff --git 
a/measure/src/main/scala/org/apache/griffin/measure/data/connector/DataConnector.scala
 
b/measure/src/main/scala/org/apache/griffin/measure/data/connector/DataConnector.scala
index b858991..ea35204 100644
--- 
a/measure/src/main/scala/org/apache/griffin/measure/data/connector/DataConnector.scala
+++ 
b/measure/src/main/scala/org/apache/griffin/measure/data/connector/DataConnector.scala
@@ -124,6 +124,7 @@ trait DataConnector extends Loggable with Serializable {
 
   private def cleanData(timeInfo: TimeInfo): Unit = {
     TableRegisters.unregisterRunTempTables(sqlContext, timeInfo.key)
+    TableRegisters.unregisterCompileTempTables(timeInfo.key)
 
     DataFrameCaches.uncacheDataFrames(timeInfo.key)
     DataFrameCaches.clearTrashDataFrames(timeInfo.key)

Reply via email to