{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/4940","labels_url":"https://api.github.com/repos/influxdb/influxdb/issues/4940/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb/issues/4940/comments","events_url":"https://api.github.com/repos/influxdb/influxdb/issues/4940/events","html_url":"https://github.com/influxdb/influxdb/pull/4940","id":119672539,"number":4940,"title":"Fix distributed aggregative query error","user":{"login":"li-ang","id":13193708,"avatar_url":"https://avatars.githubusercontent.com/u/13193708?v=3","gravatar_id":"","url":"https://api.github.com/users/li-ang","html_url":"https://github.com/li-ang","followers_url":"https://api.github.com/users/li-ang/followers","following_url":"https://api.github.com/users/li-ang/following{/other_user}","gists_url":"https://api.github.com/users/li-ang/gists{/gist_id}","starred_url":"https://api.github.com/users/li-ang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/li-ang/subscriptions","organizations_url":"https://api.github.com/users/li-ang/orgs","repos_url":"https://api.github.com/users/li-ang/repos","events_url":"https://api.github.com/users/li-ang/events{/privacy}","received_events_url":"https://api.github.com/users/li-ang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-12-01T09:13:22Z","updated_at":"2015-12-08T04:14:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/influxdb/influxdb/pulls/4940","html_url":"https://github.com/influxdb/influxdb/pull/4940","diff_url":"https://github.com/influxdb/influxdb/pull/4940.diff","patch_url":"https://github.com/influxdb/influxdb/pull/4940.patch"},"body":"Fix issue #4937  issue #4965 \r\nWhen distributed aggregative query covers two more `seriesKeys(measurement + tagSets)` in a shard file, the `aggregative query result` which is passed accross cluster,  would has two more `mapperValues`. The node of cluster,  revieving the `aggregative query result`,  could regard the query result as `raw query result`. It will lead to `ERR: unexpected end of JSON input` or double results described by issue #4965 .\r\n\r\n- [ ] CHANGELOG.md updated\r\n- [x] Rebased/mergable\r\n- [x] Tests pass\r\n- [x] Sign [CLA](http://influxdb.com/community/cla.html) "},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb/issues/comments/162755356","html_url":"https://github.com/influxdb/influxdb/pull/4940#issuecomment-162755356","issue_url":"https://api.github.com/repos/influxdb/influxdb/issues/4940","id":162755356,"user":{"login":"corylanou","id":585100,"avatar_url":"https://avatars.githubusercontent.com/u/585100?v=3","gravatar_id":"","url":"https://api.github.com/users/corylanou","html_url":"https://github.com/corylanou","followers_url":"https://api.github.com/users/corylanou/followers","following_url":"https://api.github.com/users/corylanou/following{/other_user}","gists_url":"https://api.github.com/users/corylanou/gists{/gist_id}","starred_url":"https://api.github.com/users/corylanou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corylanou/subscriptions","organizations_url":"https://api.github.com/users/corylanou/orgs","repos_url":"https://api.github.com/users/corylanou/repos","events_url":"https://api.github.com/users/corylanou/events{/privacy}","received_events_url":"https://api.github.com/users/corylanou/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T04:14:55Z","updated_at":"2015-12-08T04:14:55Z","body":"We have no testing around this yet.  It passes the existing tests so it doesn't introduce any new single node bugs that we are aware of.  We can add more tests in a following PR if you want to ship this."}}