HyukjinKwon commented on code in PR #46683:
URL: https://github.com/apache/spark/pull/46683#discussion_r1609225579
##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -73,6 +73,11 @@ class SparkSession private[sql] (
with Logging {
private[this] val allocator = new RootAllocator()
+ private var shouldStopCleaner = false
+ private[sql] lazy val cleaner = {
+ shouldStopCleaner = true
+ new ContextCleaner(this)
Review Comment:
And seems like Java protobuf gen does not allow it:
> Don’t go looking for facilities similar to class inheritance, though –
protocol buffers don’t do that.
https://protobuf.dev/getting-started/javatutorial/#defining-your-protocol-format
--
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]