{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/17200","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/17200/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/17200/comments","events_url":"https://api.github.com/repos/apache/spark/issues/17200/events","html_url":"https://github.com/apache/spark/pull/17200","id":212610436,"number":17200,"title":"[SPARK-19561][Python] cast TimestampType.toInternal output to long","user":{"login":"JasonMWhite","id":2893818,"avatar_url":"https://avatars2.githubusercontent.com/u/2893818?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonMWhite","html_url":"https://github.com/JasonMWhite","followers_url":"https://api.github.com/users/JasonMWhite/followers","following_url":"https://api.github.com/users/JasonMWhite/following{/other_user}","gists_url":"https://api.github.com/users/JasonMWhite/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonMWhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonMWhite/subscriptions","organizations_url":"https://api.github.com/users/JasonMWhite/orgs","repos_url":"https://api.github.com/users/JasonMWhite/repos","events_url":"https://api.github.com/users/JasonMWhite/events{/privacy}","received_events_url":"https://api.github.com/users/JasonMWhite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-08T01:22:53Z","updated_at":"2017-03-08T05:49:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/17200","html_url":"https://github.com/apache/spark/pull/17200","diff_url":"https://github.com/apache/spark/pull/17200.diff","patch_url":"https://github.com/apache/spark/pull/17200.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nCast the output of `TimestampType.toInternal` to long to allow for proper Timestamp creation in DataFrames near the epoch.\r\n\r\n## How was this patch tested?\r\n\r\nAdded a new test that fails without the change.\r\n\r\nThe contribution is my original work and I license the work to the project under the project’s open source license.\r\n\r\nResubmission of https://github.com/apache/spark/pull/16896. The original PR didn't go through Jenkins and broke the build. @davies @dongjoon-hyun\r\n\r\n@cloud-fan Could you kick off a Jenkins run for me? It passed everything for me locally, but it's possible something has changed in the last few weeks."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/284953508","html_url":"https://github.com/apache/spark/pull/17200#issuecomment-284953508","issue_url":"https://api.github.com/repos/apache/spark/issues/17200","id":284953508,"user":{"login":"JasonMWhite","id":2893818,"avatar_url":"https://avatars2.githubusercontent.com/u/2893818?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonMWhite","html_url":"https://github.com/JasonMWhite","followers_url":"https://api.github.com/users/JasonMWhite/followers","following_url":"https://api.github.com/users/JasonMWhite/following{/other_user}","gists_url":"https://api.github.com/users/JasonMWhite/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonMWhite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonMWhite/subscriptions","organizations_url":"https://api.github.com/users/JasonMWhite/orgs","repos_url":"https://api.github.com/users/JasonMWhite/repos","events_url":"https://api.github.com/users/JasonMWhite/events{/privacy}","received_events_url":"https://api.github.com/users/JasonMWhite/received_events","type":"User","site_admin":false},"created_at":"2017-03-08T05:49:13Z","updated_at":"2017-03-08T05:49:13Z","body":"Ah, test failed on Python 3.4 only. That makes some sense, I only tested locally on 2.6, and there are changes with how Python 3 handles ints vs longs. I'll dig in with Python 3.4 and see if I can see the cause for the test failure."}}
{"actor":{"display_login":"JasonMWhite"}}