{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/21732","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/21732/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/21732/comments","events_url":"https://api.github.com/repos/apache/spark/issues/21732/events","html_url":"https://github.com/apache/spark/pull/21732","id":339295451,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTg0ODEx","number":21732,"title":"[SPARK-24762][SQL] Enable Option of Product encoders","user":{"login":"viirya","id":68855,"node_id":"MDQ6VXNlcjY4ODU1","avatar_url":"https://avatars1.githubusercontent.com/u/68855?v=4","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":49,"created_at":"2018-07-09T03:43:53Z","updated_at":"2018-08-24T04:47:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/21732","html_url":"https://github.com/apache/spark/pull/21732","diff_url":"https://github.com/apache/spark/pull/21732.diff","patch_url":"https://github.com/apache/spark/pull/21732.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nEncoders has a limitation that we can't construct encoders for Option of Product at top-level, because in SparkSQL entire row can't be null.\r\n\r\nHowever for some use cases such as Aggregator, it should be able to construct encoders for Option of Product at non top-level.\r\n\r\nFor top-level Option of Product, we can encode it as a single struct column.\r\n\r\n## How was this patch tested?\r\n\r\nAdded test.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/415649832","html_url":"https://github.com/apache/spark/pull/21732#issuecomment-415649832","issue_url":"https://api.github.com/repos/apache/spark/issues/21732","id":415649832,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTY0OTgzMg==","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-24T04:47:51Z","updated_at":"2018-08-24T04:47:51Z","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/2518/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}