{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/4666","labels_url":"https://api.github.com/repos/apache/spark/issues/4666/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/4666/comments","events_url":"https://api.github.com/repos/apache/spark/issues/4666/events","html_url":"https://github.com/apache/spark/pull/4666","id":58007182,"number":4666,"title":"[SPARK-5722] [SQL] [PySpark] infer int as LongType","user":{"login":"davies","id":40902,"avatar_url":"https://avatars.githubusercontent.com/u/40902?v=3","gravatar_id":"","url":"https://api.github.com/users/davies","html_url":"https://github.com/davies","followers_url":"https://api.github.com/users/davies/followers","following_url":"https://api.github.com/users/davies/following{/other_user}","gists_url":"https://api.github.com/users/davies/gists{/gist_id}","starred_url":"https://api.github.com/users/davies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davies/subscriptions","organizations_url":"https://api.github.com/users/davies/orgs","repos_url":"https://api.github.com/users/davies/repos","events_url":"https://api.github.com/users/davies/events{/privacy}","received_events_url":"https://api.github.com/users/davies/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-18T00:42:10Z","updated_at":"2015-02-18T02:19:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/4666","html_url":"https://github.com/apache/spark/pull/4666","diff_url":"https://github.com/apache/spark/pull/4666.diff","patch_url":"https://github.com/apache/spark/pull/4666.patch"},"body":"The `int` is 64-bit on 64-bit machine (very common now), we should infer it as LongType for it in Spark SQL.\r\n\r\nAlso, LongType in SQL will come back as `int`."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/74799108","html_url":"https://github.com/apache/spark/pull/4666#issuecomment-74799108","issue_url":"https://api.github.com/repos/apache/spark/issues/4666","id":74799108,"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-02-18T02:19:19Z","updated_at":"2015-02-18T02:19:19Z","body":"  [Test build #27664 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27664/consoleFull) for   PR 4666 at commit [`6bc6cc4`](https://github.com/apache/spark/commit/6bc6cc49a88877e923b96a932953cb395b0be368).\n * This patch **passes all tests**.\n * This patch merges cleanly.\n * This patch adds no public classes."}}