{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8606","labels_url":"https://api.github.com/repos/apache/spark/issues/8606/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8606/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8606/events","html_url":"https://github.com/apache/spark/pull/8606","id":104967193,"number":8606,"title":"[SPARK-10439] [sql] Add bound checks to DateTimeUtils.","user":{"login":"vanzin","id":1694083,"avatar_url":"https://avatars.githubusercontent.com/u/1694083?v=3","gravatar_id":"","url":"https://api.github.com/users/vanzin","html_url":"https://github.com/vanzin","followers_url":"https://api.github.com/users/vanzin/followers","following_url":"https://api.github.com/users/vanzin/following{/other_user}","gists_url":"https://api.github.com/users/vanzin/gists{/gist_id}","starred_url":"https://api.github.com/users/vanzin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanzin/subscriptions","organizations_url":"https://api.github.com/users/vanzin/orgs","repos_url":"https://api.github.com/users/vanzin/repos","events_url":"https://api.github.com/users/vanzin/events{/privacy}","received_events_url":"https://api.github.com/users/vanzin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-09-04T20:50:11Z","updated_at":"2015-09-10T00:39:48Z","closed_at":"2015-09-09T23:02:53Z","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8606","html_url":"https://github.com/apache/spark/pull/8606","diff_url":"https://github.com/apache/spark/pull/8606.diff","patch_url":"https://github.com/apache/spark/pull/8606.patch"},"body":"There were a couple of places where Spark SQL would silently truncate\r\ndata if certain timestamps were provided.\r\n\r\nIn a couple of other places, the way to calculate Julian day-based\r\ntimestamps was changed a little so that Spark writes data that is\r\nfriendlier to Hive; mostly, Hive does not like very much when\r\nthe data has negative values for either the days or nanos part,\r\nso avoid those.\r\n\r\nThe values that trigger these use cases are very uncommon (very large\r\nvalues in either end of the spectrum), so this shouldn't really affect\r\nany existing applications."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/139081213","html_url":"https://github.com/apache/spark/pull/8606#issuecomment-139081213","issue_url":"https://api.github.com/repos/apache/spark/issues/8606","id":139081213,"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-09-10T00:39:48Z","updated_at":"2015-09-10T00:39:48Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42223/\nTest PASSed."}}