Github user chenghao-intel commented on a diff in the pull request:
https://github.com/apache/spark/pull/7696#discussion_r36157077
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/sources/InsertSuite.scala ---
@@ -217,14 +233,15 @@ class InsertSuite extends DataSourceTest with
BeforeAndAfterAll {
""".stripMargin)
// jsonTable should be recached.
assertCached(sql("SELECT * FROM jsonTable"))
- // The cached data is the new data.
- checkAnswer(
- sql("SELECT a, b FROM jsonTable"),
- sql("SELECT a * 2, b FROM jt").collect())
-
- // Verify uncaching
- caseInsensitiveContext.uncacheTable("jsonTable")
- assertCached(sql("SELECT * FROM jsonTable"), 0)
+ // TODO we need to invalidate the cached data in
InsertIntoHadoopFsRelation
--- End diff --
We can do that in another PR.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]