spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [spark] tinder-nishkamravi commented on issue #26631: [SPARK-29992][CORE] Change getActive access to public
Date Fri, 22 Nov 2019 23:26:51 GMT
tinder-nishkamravi commented 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:
users@infra.apache.org


With regards,
Apache Git Services

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


Mime
View raw message