ganeshashree commented on code in PR #52402:
URL: https://github.com/apache/spark/pull/52402#discussion_r2366886669
##########
sql/pipelines/src/test/scala/org/apache/spark/sql/pipelines/graph/TriggeredGraphExecutionSuite.scala:
##########
@@ -179,6 +179,7 @@ class TriggeredGraphExecutionSuite extends ExecutionTest
with SharedSparkSession
test("three hop pipeline") {
val session = spark
+ implicit val sparkSession: SparkSession = spark
Review Comment:
It seems like it was getting implicit sqlContext defined in
[SharedSparkSession](https://github.com/apache/spark/blob/master/sql/core/src/test/scala/org/apache/spark/sql/test/SharedSparkSession.scala#L106).
Explicitly defining the implicit SparkSession is required because the existing
implicit SparkSession was assigned to a non-implicit session variable, and it
couldn't locate the implicit SparkSession within the anonymous block.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]