{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/10431","labels_url":"https://api.github.com/repos/apache/spark/issues/10431/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/10431/comments","events_url":"https://api.github.com/repos/apache/spark/issues/10431/events","html_url":"https://github.com/apache/spark/pull/10431","id":123471956,"number":10431,"title":"[SPARK-12478][SQL] Bugfix: Dataset fields of product types can't be null","user":{"login":"liancheng","id":230655,"avatar_url":"https://avatars.githubusercontent.com/u/230655?v=3","gravatar_id":"","url":"https://api.github.com/users/liancheng","html_url":"https://github.com/liancheng","followers_url":"https://api.github.com/users/liancheng/followers","following_url":"https://api.github.com/users/liancheng/following{/other_user}","gists_url":"https://api.github.com/users/liancheng/gists{/gist_id}","starred_url":"https://api.github.com/users/liancheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liancheng/subscriptions","organizations_url":"https://api.github.com/users/liancheng/orgs","repos_url":"https://api.github.com/users/liancheng/repos","events_url":"https://api.github.com/users/liancheng/events{/privacy}","received_events_url":"https://api.github.com/users/liancheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-22T12:16:03Z","updated_at":"2015-12-22T14:06:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/10431","html_url":"https://github.com/apache/spark/pull/10431","diff_url":"https://github.com/apache/spark/pull/10431.diff","patch_url":"https://github.com/apache/spark/pull/10431.patch"},"body":"When creating extractors for product types (i.e. case classes and tuples), a null check is missing, thus we always assume input product values are non-null.\r\n\r\nThis PR adds a null check in the extractor expression for product types. The null check is stripped off for top level product fields, which are mapped to the outermost `Row`s, since they can't be null.\r\n\r\nThanks @cloud-fan for helping investigating this issue!"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/166625242","html_url":"https://github.com/apache/spark/pull/10431#issuecomment-166625242","issue_url":"https://api.github.com/repos/apache/spark/issues/10431","id":166625242,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","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":"2015-12-22T14:06:15Z","updated_at":"2015-12-22T14:06:15Z","body":"Merged build finished. Test PASSed."}}