payload: {"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/38809","repository_url":"https://api.github.com/repos/cockroachdb/cockroach","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/38809/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/38809/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/38809/events","html_url":"https://github.com/cockroachdb/cockroach/pull/38809","id":466612891,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk2NDI0MDI5","number":38809,"title":"exec: fallback to distsql on aggregator with no aggregate functions","user":{"login":"yuzefovich","id":5135385,"node_id":"MDQ6VXNlcjUxMzUzODU=","avatar_url":"https://avatars2.githubusercontent.com/u/5135385?v=4","gravatar_id":"","url":"https://api.github.com/users/yuzefovich","html_url":"https://github.com/yuzefovich","followers_url":"https://api.github.com/users/yuzefovich/followers","following_url":"https://api.github.com/users/yuzefovich/following{/other_user}","gists_url":"https://api.github.com/users/yuzefovich/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzefovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzefovich/subscriptions","organizations_url":"https://api.github.com/users/yuzefovich/orgs","repos_url":"https://api.github.com/users/yuzefovich/repos","events_url":"https://api.github.com/users/yuzefovich/events{/privacy}","received_events_url":"https://api.github.com/users/yuzefovich/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2019-07-11T01:46:30Z","updated_at":"2019-07-11T16:25:41Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/38809","html_url":"https://github.com/cockroachdb/cockroach/pull/38809","diff_url":"https://github.com/cockroachdb/cockroach/pull/38809.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/38809.patch"},"body":"It is possible for an aggregator to be planned without aggregate\r\nfunctions, for example, in the query like:\r\nSELECT 1 FROM t HAVING true.\r\nIt is quite tricky to make this work through vectorize, so we\r\nshould just fall back to distsql. The difficulty arises from the\r\nfact that we need to introduce an operator that produces a batch\r\nand takes no input (like colBatchScan) but actually does no work\r\n(like noop) except for emitting a single batch with non-zero length.\r\n\r\nRelease note: None"},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/510557147","html_url":"https://github.com/cockroachdb/cockroach/pull/38809#issuecomment-510557147","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/38809","id":510557147,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMDU1NzE0Nw==","user":{"login":"jordanlewis","id":43821,"node_id":"MDQ6VXNlcjQzODIx","avatar_url":"https://avatars1.githubusercontent.com/u/43821?v=4","gravatar_id":"","url":"https://api.github.com/users/jordanlewis","html_url":"https://github.com/jordanlewis","followers_url":"https://api.github.com/users/jordanlewis/followers","following_url":"https://api.github.com/users/jordanlewis/following{/other_user}","gists_url":"https://api.github.com/users/jordanlewis/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanlewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanlewis/subscriptions","organizations_url":"https://api.github.com/users/jordanlewis/orgs","repos_url":"https://api.github.com/users/jordanlewis/repos","events_url":"https://api.github.com/users/jordanlewis/events{/privacy}","received_events_url":"https://api.github.com/users/jordanlewis/received_events","type":"User","site_admin":false},"created_at":"2019-07-11T16:25:41Z","updated_at":"2019-07-11T16:25:41Z","author_association":"MEMBER","body":"> The difficulty arises from the fact that we need to introduce an operator that produces a batch and takes no input (like colBatchScan) but actually does no work (like noop) except for emitting a single batch with non-zero length.\r\n\r\nIsn't this what the various `constOp` implementations do, for the most part?"}}
other: {"actor":{"display_login":"jordanlewis"}}