gaogaotiantian commented on code in PR #53462: URL: https://github.com/apache/spark/pull/53462#discussion_r2653886258
########## core/src/main/scala/org/apache/spark/api/python/PythonRunner.scala: ########## @@ -214,7 +214,7 @@ private[spark] abstract class BasePythonRunner[IN, OUT]( protected val hideTraceback: Boolean = false protected val simplifiedTraceback: Boolean = false - protected val runnerConf: Map[String, String] = Map.empty + protected def runnerConf: Map[String, String] = Map.empty Review Comment: I tried `lazy val` and it still does not allow me to access through `super.runnerConf`. ``` [error] /Users/tian.gao/programs/spark/sql/core/src/main/scala/org/apache/spark/sql/execution/python/streaming/TransformWithStateInPySparkPythonRunner.scala:242:11: super may not be used on lazy value runnerConf; super can only be used to select a member that is a method or type [error] super.runnerConf ++ initialRunnerConf ++ Map( ``` -- 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]
