diff options
author | Reynold Xin <rxin@databricks.com> | 2016-07-05 12:06:41 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-05 12:06:41 -0700 |
commit | 5b7a1770ac9cf36a1e92b31d10fe6eeee92fef17 (patch) | |
tree | 0dd0eea34812274539a31dfa552cf60fef53c349 /sql/hive | |
parent | 1fca9da95dc9b9aaf9ae75fd7456378861d8b409 (diff) | |
download | spark-5b7a1770ac9cf36a1e92b31d10fe6eeee92fef17.tar.gz spark-5b7a1770ac9cf36a1e92b31d10fe6eeee92fef17.tar.bz2 spark-5b7a1770ac9cf36a1e92b31d10fe6eeee92fef17.zip |
[HOTFIX] Fix build break.
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 529d388716..3d58d490a5 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 |