Github user pwendell commented on the pull request: https://github.com/apache/spark/pull/4042#issuecomment-70390485 I'd actually prefer not to have this in Spark. It's not really clear what we will do with an `Any`, and the user can really easily just call `toString` explicitly. I also looked at two other similar constructs in Java (the Java Properties class and Hadoop's Configuration class) and none of them offer this type of interface. There are multiple language API's that have this `setConf` and they all require string keys and values, it's just a bit inconsistent to do this kind of implicit conversion.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org