{"action":"closed","number":43365,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/43365","id":289653475,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg5NjUzNDc1","html_url":"https://github.com/elastic/elasticsearch/pull/43365","diff_url":"https://github.com/elastic/elasticsearch/pull/43365.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/43365.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/43365","number":43365,"state":"closed","locked":false,"title":"SQL: fix NPE in case of subsequent scrolled requests for a CSV/TSV formatted response","user":{"login":"astefan","id":893749,"node_id":"MDQ6VXNlcjg5Mzc0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/893749?v=4","gravatar_id":"","url":"https://api.github.com/users/astefan","html_url":"https://github.com/astefan","followers_url":"https://api.github.com/users/astefan/followers","following_url":"https://api.github.com/users/astefan/following{/other_user}","gists_url":"https://api.github.com/users/astefan/gists{/gist_id}","starred_url":"https://api.github.com/users/astefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astefan/subscriptions","organizations_url":"https://api.github.com/users/astefan/orgs","repos_url":"https://api.github.com/users/astefan/repos","events_url":"https://api.github.com/users/astefan/events{/privacy}","received_events_url":"https://api.github.com/users/astefan/received_events","type":"User","site_admin":false},"body":"This is a bug fix for a NPE that was thrown when subsequent scrolled (using cursor id) requests were made for a CSV/TSV formatted response. The NPE was thrown because the header of the responses didn't exist (which is normal in case of subsequent scrolled requests).\r\n\r\nFixes https://github.com/elastic/elasticsearch/issues/43327.","created_at":"2019-06-19T11:09:09Z","updated_at":"2019-06-20T07:11:14Z","closed_at":"2019-06-20T07:11:14Z","merged_at":"2019-06-20T07:11:14Z","merge_commit_sha":"0ef7bb0f8b07cd0392d37f96ca9360821b19315a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":912794284,"node_id":"MDU6TGFiZWw5MTI3OTQyODQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Search/SQL","name":":Search/SQL","color":"0e8a16","default":false},{"id":23173,"node_id":"MDU6TGFiZWwyMzE3Mw==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Ebug","name":">bug","color":"b60205","default":false},{"id":1410375974,"node_id":"MDU6TGFiZWwxNDEwMzc1OTc0","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.8.2","name":"v6.8.2","color":"dddddd","default":false},{"id":1375142861,"node_id":"MDU6TGFiZWwxMzc1MTQyODYx","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.1.2","name":"v7.1.2","color":"dddddd","default":false},{"id":1410529450,"node_id":"MDU6TGFiZWwxNDEwNTI5NDUw","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.2.1","name":"v7.2.1","color":"dddddd","default":false},{"id":1352927464,"node_id":"MDU6TGFiZWwxMzUyOTI3NDY0","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.3.0","name":"v7.3.0","color":"dddddd","default":false},{"id":1194435738,"node_id":"MDU6TGFiZWwxMTk0NDM1NzM4","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v8.0.0","name":"v8.0.0","color":"dddddd","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/43365/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/43365/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/43365/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/b8e93c48f65b8bceaecd8ac70178afeae453d1cc","head":{"label":"astefan:43327_fix","ref":"43327_fix","sha":"b8e93c48f65b8bceaecd8ac70178afeae453d1cc","user":{"login":"astefan","id":893749,"node_id":"MDQ6VXNlcjg5Mzc0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/893749?v=4","gravatar_id":"","url":"https://api.github.com/users/astefan","html_url":"https://github.com/astefan","followers_url":"https://api.github.com/users/astefan/followers","following_url":"https://api.github.com/users/astefan/following{/other_user}","gists_url":"https://api.github.com/users/astefan/gists{/gist_id}","starred_url":"https://api.github.com/users/astefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astefan/subscriptions","organizations_url":"https://api.github.com/users/astefan/orgs","repos_url":"https://api.github.com/users/astefan/repos","events_url":"https://api.github.com/users/astefan/events{/privacy}","received_events_url":"https://api.github.com/users/astefan/received_events","type":"User","site_admin":false},"repo":{"id":133608956,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM2MDg5NTY=","name":"elasticsearch","full_name":"astefan/elasticsearch","private":false,"owner":{"login":"astefan","id":893749,"node_id":"MDQ6VXNlcjg5Mzc0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/893749?v=4","gravatar_id":"","url":"https://api.github.com/users/astefan","html_url":"https://github.com/astefan","followers_url":"https://api.github.com/users/astefan/followers","following_url":"https://api.github.com/users/astefan/following{/other_user}","gists_url":"https://api.github.com/users/astefan/gists{/gist_id}","starred_url":"https://api.github.com/users/astefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astefan/subscriptions","organizations_url":"https://api.github.com/users/astefan/orgs","repos_url":"https://api.github.com/users/astefan/repos","events_url":"https://api.github.com/users/astefan/events{/privacy}","received_events_url":"https://api.github.com/users/astefan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/astefan/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":true,"url":"https://api.github.com/repos/astefan/elasticsearch","forks_url":"https://api.github.com/repos/astefan/elasticsearch/forks","keys_url":"https://api.github.com/repos/astefan/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astefan/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astefan/elasticsearch/teams","hooks_url":"https://api.github.com/repos/astefan/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/astefan/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/astefan/elasticsearch/events","assignees_url":"https://api.github.com/repos/astefan/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/astefan/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/astefan/elasticsearch/tags","blobs_url":"https://api.github.com/repos/astefan/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astefan/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astefan/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/astefan/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astefan/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/astefan/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/astefan/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/astefan/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/astefan/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/astefan/elasticsearch/subscription","commits_url":"https://api.github.com/repos/astefan/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/astefan/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/astefan/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/astefan/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/astefan/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/astefan/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astefan/elasticsearch/merges","archive_url":"https://api.github.com/repos/astefan/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astefan/elasticsearch/downloads","issues_url":"https://api.github.com/repos/astefan/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/astefan/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/astefan/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/astefan/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astefan/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/astefan/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/astefan/elasticsearch/deployments","created_at":"2018-05-16T04:08:17Z","updated_at":"2018-06-04T10:33:41Z","pushed_at":"2019-06-19T11:04:14Z","git_url":"git://github.com/astefan/elasticsearch.git","ssh_url":"git@github.com:astefan/elasticsearch.git","clone_url":"https://github.com/astefan/elasticsearch.git","svn_url":"https://github.com/astefan/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":565381,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"99495aa171aa9deca3ad586172abf2fe87e08261","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"node_id":"MDEwOlJlcG9zaXRvcnk1MDc3NzU=","name":"elasticsearch","full_name":"elastic/elasticsearch","private":false,"owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch/deployments","created_at":"2010-02-08T13:20:56Z","updated_at":"2019-06-20T07:08:54Z","pushed_at":"2019-06-20T07:11:14Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":631257,"stargazers_count":41895,"watchers_count":41895,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14008,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2006,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":14008,"open_issues":2006,"watchers":41895,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/43365"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/43365"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/43365"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/43365/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/43365/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/43365/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/b8e93c48f65b8bceaecd8ac70178afeae453d1cc"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"astefan","id":893749,"node_id":"MDQ6VXNlcjg5Mzc0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/893749?v=4","gravatar_id":"","url":"https://api.github.com/users/astefan","html_url":"https://github.com/astefan","followers_url":"https://api.github.com/users/astefan/followers","following_url":"https://api.github.com/users/astefan/following{/other_user}","gists_url":"https://api.github.com/users/astefan/gists{/gist_id}","starred_url":"https://api.github.com/users/astefan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astefan/subscriptions","organizations_url":"https://api.github.com/users/astefan/orgs","repos_url":"https://api.github.com/users/astefan/repos","events_url":"https://api.github.com/users/astefan/events{/privacy}","received_events_url":"https://api.github.com/users/astefan/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":55,"deletions":41,"changed_files":2}}
{"actor":{"display_login":"astefan"}}