{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/23150","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/23150/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/23150/comments","events_url":"https://api.github.com/repos/apache/spark/issues/23150/events","html_url":"https://github.com/apache/spark/pull/23150","id":384548085,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzI1Mzk0","number":23150,"title":"[SPARK-26178][SQL] Use java.time API for parsing timestamps and dates from CSV","user":{"login":"MaxGekk","id":1580697,"node_id":"MDQ6VXNlcjE1ODA2OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/1580697?v=4","gravatar_id":"","url":"https://api.github.com/users/MaxGekk","html_url":"https://github.com/MaxGekk","followers_url":"https://api.github.com/users/MaxGekk/followers","following_url":"https://api.github.com/users/MaxGekk/following{/other_user}","gists_url":"https://api.github.com/users/MaxGekk/gists{/gist_id}","starred_url":"https://api.github.com/users/MaxGekk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaxGekk/subscriptions","organizations_url":"https://api.github.com/users/MaxGekk/orgs","repos_url":"https://api.github.com/users/MaxGekk/repos","events_url":"https://api.github.com/users/MaxGekk/events{/privacy}","received_events_url":"https://api.github.com/users/MaxGekk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-11-26T23:02:31Z","updated_at":"2018-12-01T20:14:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/23150","html_url":"https://github.com/apache/spark/pull/23150","diff_url":"https://github.com/apache/spark/pull/23150.diff","patch_url":"https://github.com/apache/spark/pull/23150.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nIn the PR, I propose to use **java.time API** for parsing timestamps and dates from CSV content with microseconds precision. The SQL config `spark.sql.legacy.timeParser.enabled` allow to switch back to previous behaviour with using `java.text.SimpleDateFormat`/`FastDateFormat` for parsing/generating timestamps/dates.\r\n\r\n## How was this patch tested?\r\n\r\nIt was tested by `UnivocityParserSuite`, `CsvExpressionsSuite`, `CsvFunctionsSuite` and `CsvSuite`.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/443455071","html_url":"https://github.com/apache/spark/pull/23150#issuecomment-443455071","issue_url":"https://api.github.com/repos/apache/spark/issues/23150","id":443455071,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQ1NTA3MQ==","user":{"login":"AmplabJenkins","id":4031291,"node_id":"MDQ6VXNlcjQwMzEyOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/4031291?v=4","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":"2018-12-01T20:14:23Z","updated_at":"2018-12-01T20:14:23Z","author_association":"NONE","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/5615/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}