spark-instrumented-optimizer/sql/hive/src/test
Reynold Xin 16a2a7d714 [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.
2016-07-05 11:36:05 -07:00
..
java/org/apache/spark/sql/hive [SPARK-15171][SQL] Remove the references to deprecated method dataset.registerTempTable 2016-05-18 09:01:59 +08:00
resources [SPARK-15887][SQL] Bring back the hive-site.xml support for Spark 2.0 2016-06-13 14:57:35 -07:00
scala/org/apache/spark/sql [SPARK-16311][SQL] Metadata refresh should work on temporary views 2016-07-05 11:36:05 -07:00