{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/6986","labels_url":"https://api.github.com/repos/apache/spark/issues/6986/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/6986/comments","events_url":"https://api.github.com/repos/apache/spark/issues/6986/events","html_url":"https://github.com/apache/spark/pull/6986","id":90666878,"number":6986,"title":"[SPARK-8195] [SPARK-8196] [SQL] udf next_day last_day","user":{"login":"adrian-wang","id":3078910,"avatar_url":"https://avatars.githubusercontent.com/u/3078910?v=3","gravatar_id":"","url":"https://api.github.com/users/adrian-wang","html_url":"https://github.com/adrian-wang","followers_url":"https://api.github.com/users/adrian-wang/followers","following_url":"https://api.github.com/users/adrian-wang/following{/other_user}","gists_url":"https://api.github.com/users/adrian-wang/gists{/gist_id}","starred_url":"https://api.github.com/users/adrian-wang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrian-wang/subscriptions","organizations_url":"https://api.github.com/users/adrian-wang/orgs","repos_url":"https://api.github.com/users/adrian-wang/repos","events_url":"https://api.github.com/users/adrian-wang/events{/privacy}","received_events_url":"https://api.github.com/users/adrian-wang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2015-06-24T12:48:01Z","updated_at":"2015-07-28T03:33:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/6986","html_url":"https://github.com/apache/spark/pull/6986","diff_url":"https://github.com/apache/spark/pull/6986.diff","patch_url":"https://github.com/apache/spark/pull/6986.patch"},"body":"next_day, returns next certain dayofweek.\r\nlast_day, returns the last day of the month which given date belongs to."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/125426722","html_url":"https://github.com/apache/spark/pull/6986#issuecomment-125426722","issue_url":"https://api.github.com/repos/apache/spark/issues/6986","id":125426722,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T03:33:02Z","updated_at":"2015-07-28T03:33:02Z","body":"  [Test build #38627 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/38627/console) for   PR 6986 at commit [`dc69630`](https://github.com/apache/spark/commit/dc6963075ffb24c06ef340896a8f168b7b869060).\n * This patch **passes all tests**.\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `case class LastDay(startDate: Expression) extends UnaryExpression with ImplicitCastInputTypes `\n  * `case class NextDay(startDate: Expression, dayOfWeek: Expression)`\n"}}