{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/11947","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/11947/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/11947/comments","events_url":"https://api.github.com/repos/apache/spark/issues/11947/events","html_url":"https://github.com/apache/spark/pull/11947","id":143391639,"number":11947,"title":"[SPARK-14143] Options for parsing NaNs, Infinity and nulls for numeric types","user":{"login":"falaki","id":512364,"avatar_url":"https://avatars.githubusercontent.com/u/512364?v=3","gravatar_id":"","url":"https://api.github.com/users/falaki","html_url":"https://github.com/falaki","followers_url":"https://api.github.com/users/falaki/followers","following_url":"https://api.github.com/users/falaki/following{/other_user}","gists_url":"https://api.github.com/users/falaki/gists{/gist_id}","starred_url":"https://api.github.com/users/falaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falaki/subscriptions","organizations_url":"https://api.github.com/users/falaki/orgs","repos_url":"https://api.github.com/users/falaki/repos","events_url":"https://api.github.com/users/falaki/events{/privacy}","received_events_url":"https://api.github.com/users/falaki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-03-25T00:04:59Z","updated_at":"2016-04-30T03:40:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/11947","html_url":"https://github.com/apache/spark/pull/11947","diff_url":"https://github.com/apache/spark/pull/11947.diff","patch_url":"https://github.com/apache/spark/pull/11947.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nAdds following options for parsing type-specfic nulls to CSV data source:\r\n* byteNullValue\r\n* integerNullValue\r\n* shortNullValue\r\n* longNullValue\r\n* floatNullValue\r\n* doubleNullValue\r\n* decimalNullValue\r\n\r\nAdds following options for parsing NaNs:\r\n* floatNaNValue\r\n* doubleNaNValue\r\n\r\nAnd following options for parsing infinity:\r\n* floatNegativeInf\r\n* floatPositiveInf\r\n* doubleNegativeInf\r\n* doublePositiveInf\r\n\r\n\r\n## How was this patch tested?\r\n`TypeCast.castTo` is unit tested and an end-to-end test is added to `CSVSuite`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/215930751","html_url":"https://github.com/apache/spark/pull/11947#issuecomment-215930751","issue_url":"https://api.github.com/repos/apache/spark/issues/11947","id":215930751,"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":"2016-04-30T03:40:38Z","updated_at":"2016-04-30T03:40:38Z","body":"**[Test build #57394 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57394/consoleFull)** for PR 11947 at commit [`698b4b4`](https://github.com/apache/spark/commit/698b4b41baa1ebd5d66ea6242bcb39bcd0887f8b).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds no public classes."}}