Github user kunalkhamar commented on a diff in the pull request:
https://github.com/apache/spark/pull/16826#discussion_r104781325
--- Diff:
sql/core/src/test/scala/org/apache/spark/sql/SessionStateSuite.scala ---
@@ -113,19 +132,26 @@ class SessionStateSuite extends SparkFunSuite
Row("1", 1) :: Row("2", 1) :: Row("3", 1) :: Nil)
}
- implicit val enc = Encoders.tuple(Encoders.scalaInt, Encoders.STRING)
+ val spark = activeSession
+ // Cannot use `import activeSession.implicits._` due to the compiler
limitation.
+ import spark.implicits._
+
activeSession
--- End diff --
Should create temp view be inside try block?
---
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]