Github user marmbrus commented on the pull request:
https://github.com/apache/spark/pull/10205#issuecomment-206043222
> Also, because of that method, the return value of
getConf(CHECKPOINT_LOCATION) would be String and not Option[String], which is
probably why intellij is complaining.
Well, it actually depends on which one of the overloads you are invoking,
which is why I found this design confusing. I guess with the explicit type
you can hint to the scala compiler which one you want to call? and the intelij
compiler is less advanced?
What is the correct way to ask if an optional configuration is set or not?
---
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]