{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7506","labels_url":"https://api.github.com/repos/apache/spark/issues/7506/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7506/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7506/events","html_url":"https://github.com/apache/spark/pull/7506","id":95890863,"number":7506,"title":"[SQL] Make date/time functions more consistent with other database systems.","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-07-19T06:13:20Z","updated_at":"2015-07-19T07:56:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7506","html_url":"https://github.com/apache/spark/pull/7506","diff_url":"https://github.com/apache/spark/pull/7506.diff","patch_url":"https://github.com/apache/spark/pull/7506.patch"},"body":"This pull request fixes some of the problems in #6981.\r\n\r\n- Added date functions to `__all__` so they get exposed\r\n- Rename day_of_month -> dayofmonth\r\n- Rename day_in_year -> dayofyear\r\n- Rename week_of_year -> weekofyear\r\n- Removed \"day\" from Scala/Python API since it is ambiguous. Only leaving the alias in SQL.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/122637538","html_url":"https://github.com/apache/spark/pull/7506#issuecomment-122637538","issue_url":"https://api.github.com/repos/apache/spark/issues/7506","id":122637538,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T07:56:22Z","updated_at":"2015-07-19T07:56:22Z","body":"Merged build finished. Test PASSed."}}