Github user JoshRosen commented on a diff in the pull request:
https://github.com/apache/spark/pull/7188#discussion_r36035501
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala
---
@@ -62,6 +62,20 @@ class MyDialect extends DefaultParserDialect
* valid, but Hive currently cannot execute it.
*/
class SQLQuerySuite extends QueryTest {
+
+ /**
+ * Drops table `tableName` after calling `f`.
+ * This is the `SQLTestUtils` function without
+ * an explicit sql context
--- End diff --
Why not just mix in `SQLTestUtils` then implement/override its `sqlContext`
method to return `TestHive`?
---
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]