Repository: spark Updated Branches: refs/heads/master 1fca9da95 -> 5b7a1770a
[HOTFIX] Fix build break. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5b7a1770 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5b7a1770 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5b7a1770 Branch: refs/heads/master Commit: 5b7a1770ac9cf36a1e92b31d10fe6eeee92fef17 Parents: 1fca9da Author: Reynold Xin <r...@databricks.com> Authored: Tue Jul 5 12:06:41 2016 -0700 Committer: Reynold Xin <r...@databricks.com> Committed: Tue Jul 5 12:06:41 2016 -0700 ---------------------------------------------------------------------- .../org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/5b7a1770/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala ---------------------------------------------------------------------- diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala index 529d388..3d58d49 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala @@ -298,7 +298,7 @@ case class InsertIntoHiveTable( // Invalidate the cache. sqlContext.sharedState.cacheManager.invalidateCache(table) - sqlContext.sessionState.catalog.invalidateTable(table.catalogTable.identifier) + sqlContext.sessionState.catalog.refreshTable(table.catalogTable.identifier) // It would be nice to just return the childRdd unchanged so insert operations could be chained, // however for now we return an empty list to simplify compatibility checks with hive, which --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org