yaooqinn commented on code in PR #50798:
URL: https://github.com/apache/spark/pull/50798#discussion_r2075294811


##########
sql/core/src/main/scala/org/apache/spark/sql/UDTFRegistration.scala:
##########
@@ -44,8 +45,9 @@ private[sql] class UDTFRegistration private[sql] 
(tableFunctionRegistry: TableFu
          | udfDeterministic: ${udtf.udfDeterministic}
       """.stripMargin)
 
+    val sessionState: SessionState = 
SparkSession.getActiveSession.get.sessionState

Review Comment:
   Yes. Honestly, I have no clue why explicit type annotations work for the 
IDE, I just tried and saw it helped
   



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to