diff options
author | Reynold Xin <rxin@databricks.com> | 2016-07-05 11:36:05 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-05 11:36:05 -0700 |
commit | 16a2a7d714f945b06978e3bd20a58ea32f0621ac (patch) | |
tree | 76fd896b952ea96a890fcb5500af6344886c46cd /external/kafka-0-8 | |
parent | 07d9c5327f050f9da611d5239f61ed73b36ce4e6 (diff) | |
download | spark-16a2a7d714f945b06978e3bd20a58ea32f0621ac.tar.gz spark-16a2a7d714f945b06978e3bd20a58ea32f0621ac.tar.bz2 spark-16a2a7d714f945b06978e3bd20a58ea32f0621ac.zip |
[SPARK-16311][SQL] Metadata refresh should work on temporary views
## What changes were proposed in this pull request?
This patch fixes the bug that the refresh command does not work on temporary views. This patch is based on https://github.com/apache/spark/pull/13989, but removes the public Dataset.refresh() API as well as improved test coverage.
Note that I actually think the public refresh() API is very useful. We can in the future implement it by also invalidating the lazy vals in QueryExecution (or alternatively just create a new QueryExecution).
## How was this patch tested?
Re-enabled a previously ignored test, and added a new test suite for Hive testing behavior of temporary views against MetastoreRelation.
Author: Reynold Xin <rxin@databricks.com>
Author: petermaxlee <petermaxlee@gmail.com>
Closes #14009 from rxin/SPARK-16311.
Diffstat (limited to 'external/kafka-0-8')
0 files changed, 0 insertions, 0 deletions