tinder-nishkamravi removed a comment on issue #26631: [SPARK-29992][CORE] 
Change getActive access to public
URL: https://github.com/apache/spark/pull/26631#issuecomment-557731762
 
 
   @srowen I can provide a generic version of the use-case: a decision-system 
that takes an action based on the presence of an activeContext (outside of a 
SparkSession) while reading info from it, and a different (non-Spark) action 
otherwise. This can certainly be worked-around by defining a local 
org.apache.spark package and accessing this method from there or using 
reflection to bypass encapsulation but avoiding a hack would be preferable.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to