Github user vanzin commented on the issue:
https://github.com/apache/spark/pull/18929
They're there mainly to declare the constant as a public API that must not
change. (I'm not sure whether mima captures changes in constant values, since
that's a binary breaking change, but that's the spirit of having these
constants.)
I didn't change all of the usages when I introduced them because it would
be really noisy. There are also a whole bunch of other constants that could be
re-used throughout the code (basically all the constants declared in
`SparkLauncher`). But I think there's no real need to change this - we can
encourage new code to use the constants, but leave the old code there until it
needs to be changed, to avoid noise.
---
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]