Github user JoshRosen commented on the pull request:
https://github.com/apache/spark/pull/7309#issuecomment-119831685
There's a few ways that we can do this. Rather than relying on environment
variables, I'd consider making this into an undocumented SQLConf setting then
using the test runner's system properties configuration to set that property in
tests. To see an example of this, look at the SparkConf setting that's used
for controlling whether we throw exceptions if TaskMemoryManager detects a
managed memory leak.
I think there's also a `spark.testing` System property / SparkConf that you
might be able to use, but I'd grep the build configurations to confirm.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]