{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12452","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12452/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12452/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12452/events","html_url":"https://github.com/apache/spark/pull/12452","id":148927941,"number":12452,"title":"[MINOR] Revert removing explicit typing (changed in some examples and StatFunctions)","user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-17T07:54:44Z","updated_at":"2016-04-18T00:33:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12452","html_url":"https://github.com/apache/spark/pull/12452","diff_url":"https://github.com/apache/spark/pull/12452.diff","patch_url":"https://github.com/apache/spark/pull/12452.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis PR reverts some changes in https://github.com/apache/spark/pull/12413. (please see the discussion in that PR).\r\n\r\nfrom\r\n```scala\r\n    words.foreachRDD { (rdd, time) => \r\n    ...\r\n```\r\n\r\nto    \r\n```scala\r\n    words.foreachRDD { (rdd: RDD[String], time: Time) =>\r\n    ...\r\n```\r\n\r\nAlso, this was discussed in dev-mailing list, [here](http://apache-spark-developers-list.1001551.n3.nabble.com/Question-about-Scala-style-explicit-typing-within-transformation-functions-and-anonymous-val-td17173.html)\r\n\r\n## How was this patch tested?\r\n\r\nThis was tested with `sbt scalastyle`.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/211139508","html_url":"https://github.com/apache/spark/pull/12452#issuecomment-211139508","issue_url":"https://api.github.com/repos/apache/spark/issues/12452","id":211139508,"user":{"login":"HyukjinKwon","id":6477701,"avatar_url":"https://avatars.githubusercontent.com/u/6477701?v=3","gravatar_id":"","url":"https://api.github.com/users/HyukjinKwon","html_url":"https://github.com/HyukjinKwon","followers_url":"https://api.github.com/users/HyukjinKwon/followers","following_url":"https://api.github.com/users/HyukjinKwon/following{/other_user}","gists_url":"https://api.github.com/users/HyukjinKwon/gists{/gist_id}","starred_url":"https://api.github.com/users/HyukjinKwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HyukjinKwon/subscriptions","organizations_url":"https://api.github.com/users/HyukjinKwon/orgs","repos_url":"https://api.github.com/users/HyukjinKwon/repos","events_url":"https://api.github.com/users/HyukjinKwon/events{/privacy}","received_events_url":"https://api.github.com/users/HyukjinKwon/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T00:33:48Z","updated_at":"2016-04-18T00:33:48Z","body":"(The tests `org.apache.spark.sql.hive.HiveSparkSubmitSuite.SPARK-8020: set sql conf in spark conf\t` and\r\n `org.apache.spark.sql.hive.HiveSparkSubmitSuite.SPARK-9757 Persist Parquet relation with decimal column` pass in my local)"}}