{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21935","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21935/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21935/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21935/events","html_url":"https://github.com/apache/spark/pull/21935","id":346307575,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MjAyOTIz","number":21935,"title":"[SPARK-24773] Avro: support logical timestamp type with different precisions","user":{"login":"gengliangwang","id":1097932,"node_id":"MDQ6VXNlcjEwOTc5MzI=","avatar_url":"https://avatars0.githubusercontent.com/u/1097932?v=4","gravatar_id":"","url":"https://api.github.com/users/gengliangwang","html_url":"https://github.com/gengliangwang","followers_url":"https://api.github.com/users/gengliangwang/followers","following_url":"https://api.github.com/users/gengliangwang/following{/other_user}","gists_url":"https://api.github.com/users/gengliangwang/gists{/gist_id}","starred_url":"https://api.github.com/users/gengliangwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gengliangwang/subscriptions","organizations_url":"https://api.github.com/users/gengliangwang/orgs","repos_url":"https://api.github.com/users/gengliangwang/repos","events_url":"https://api.github.com/users/gengliangwang/events{/privacy}","received_events_url":"https://api.github.com/users/gengliangwang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-31T18:31:16Z","updated_at":"2018-08-01T22:43:35Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21935","html_url":"https://github.com/apache/spark/pull/21935","diff_url":"https://github.com/apache/spark/pull/21935.diff","patch_url":"https://github.com/apache/spark/pull/21935.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nSupport reading/writing Avro logical timestamp type with different precisions\r\nhttps://avro.apache.org/docs/1.8.2/spec.html#Timestamp+%28millisecond+precision%29\r\n\r\nTo specify the output timestamp type, use Dataframe option `outputTimestampType`  or SQL config `spark.sql.avro.outputTimestampType`.  The supported values are \r\n* `TIMESTAMP_MICROS`\r\n* `TIMESTAMP_MILLIS`\r\n\r\nThe default output type is `TIMESTAMP_MICROS`\r\n## How was this patch tested?\r\n\r\nUnit test \r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/409749042","html_url":"https://github.com/apache/spark/pull/21935#issuecomment-409749042","issue_url":"https://api.github.com/repos/apache/spark/issues/21935","id":409749042,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTc0OTA0Mg==","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-08-01T22:43:35Z","updated_at":"2018-08-01T22:43:35Z","author_association":"NONE","body":"Test FAILed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/93899/\nTest FAILed."}}
{"actor":{"display_login":"AmplabJenkins"}}