{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10513","labels_url":"https://api.github.com/repos/apache/spark/issues/10513/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10513/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10513/events","html_url":"https://github.com/apache/spark/pull/10513","id":124275779,"number":10513,"title":"[SPARK-4819] [WIP] Remove Guava's \"Optional\" from public API","user":{"login":"srowen","id":822522,"avatar_url":"https://avatars.githubusercontent.com/u/822522?v=3","gravatar_id":"","url":"https://api.github.com/users/srowen","html_url":"https://github.com/srowen","followers_url":"https://api.github.com/users/srowen/followers","following_url":"https://api.github.com/users/srowen/following{/other_user}","gists_url":"https://api.github.com/users/srowen/gists{/gist_id}","starred_url":"https://api.github.com/users/srowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowen/subscriptions","organizations_url":"https://api.github.com/users/srowen/orgs","repos_url":"https://api.github.com/users/srowen/repos","events_url":"https://api.github.com/users/srowen/events{/privacy}","received_events_url":"https://api.github.com/users/srowen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-29T22:14:11Z","updated_at":"2016-01-03T19:08:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10513","html_url":"https://github.com/apache/spark/pull/10513","diff_url":"https://github.com/apache/spark/pull/10513.diff","patch_url":"https://github.com/apache/spark/pull/10513.patch"},"body":"Replace Guava Optional with (a clone of) Java 8 Optional\r\n\r\nCC @rxin yes I was just prepping a similar proof of concept, but this one with an inlined Java 8 Optional.\r\n\r\nSee also https://github.com/apache/spark/pull/10512"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/168532021","html_url":"https://github.com/apache/spark/pull/10513#issuecomment-168532021","issue_url":"https://api.github.com/repos/apache/spark/issues/10513","id":168532021,"user":{"login":"rxin","id":323388,"avatar_url":"https://avatars.githubusercontent.com/u/323388?v=3","gravatar_id":"","url":"https://api.github.com/users/rxin","html_url":"https://github.com/rxin","followers_url":"https://api.github.com/users/rxin/followers","following_url":"https://api.github.com/users/rxin/following{/other_user}","gists_url":"https://api.github.com/users/rxin/gists{/gist_id}","starred_url":"https://api.github.com/users/rxin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rxin/subscriptions","organizations_url":"https://api.github.com/users/rxin/orgs","repos_url":"https://api.github.com/users/rxin/repos","events_url":"https://api.github.com/users/rxin/events{/privacy}","received_events_url":"https://api.github.com/users/rxin/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T19:08:43Z","updated_at":"2016-01-03T19:08:43Z","body":"But we might never switch to Java 8's Optional, or maybe the entire API that's depending Optional will be deprecated in the future. Why should we increase the level of breakage now in anticipation of something that we don't even know we need in the future?\r\n"}}