payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/comments/295963259","pull_request_review_id":252490996,"id":295963259,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5NTk2MzI1OQ==","diff_hunk":"@@ -113,6 +116,13 @@ export default class SynapseTable extends React.Component<QueryWrapperChildProps\n     return facetAliases[facetName] || facetName\n   }\n \n+  public isAggregate(): boolean {\n+    if (this.props.getLastQueryRequest && this.props.getLastQueryRequest().query) {","path":"src/lib/containers/SynapseTable.tsx","position":42,"original_position":42,"commit_id":"54ebd64d8bf784f05ad1ab5629ca3aac1aa1d1d3","original_commit_id":"54ebd64d8bf784f05ad1ab5629ca3aac1aa1d1d3","user":{"login":"leem42","id":20282487,"node_id":"MDQ6VXNlcjIwMjgyNDg3","avatar_url":"https://avatars1.githubusercontent.com/u/20282487?v=4","gravatar_id":"","url":"https://api.github.com/users/leem42","html_url":"https://github.com/leem42","followers_url":"https://api.github.com/users/leem42/followers","following_url":"https://api.github.com/users/leem42/following{/other_user}","gists_url":"https://api.github.com/users/leem42/gists{/gist_id}","starred_url":"https://api.github.com/users/leem42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leem42/subscriptions","organizations_url":"https://api.github.com/users/leem42/orgs","repos_url":"https://api.github.com/users/leem42/repos","events_url":"https://api.github.com/users/leem42/events{/privacy}","received_events_url":"https://api.github.com/users/leem42/received_events","type":"User","site_admin":false},"body":"this whole function could instead be - \r\nreturn AGGREGATE_REGEX.test(this.props.getLastQueryRequest!().query.sql)","created_at":"2019-06-20T19:32:58Z","updated_at":"2019-06-20T19:32:58Z","html_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client/pull/154#discussion_r295963259","pull_request_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/comments/295963259"},"html":{"href":"https://github.com/Sage-Bionetworks/Synapse-React-Client/pull/154#discussion_r295963259"},"pull_request":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154"}}},"pull_request":{"url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154","id":290314663,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkwMzE0NjYz","html_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client/pull/154","diff_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client/pull/154.diff","patch_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client/pull/154.patch","issue_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues/154","number":154,"state":"open","locked":false,"title":"PORTALS-527: detect GROUP BY sql, gives ability to show underlying row data","user":{"login":"jay-hodgson","id":1864447,"node_id":"MDQ6VXNlcjE4NjQ0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1864447?v=4","gravatar_id":"","url":"https://api.github.com/users/jay-hodgson","html_url":"https://github.com/jay-hodgson","followers_url":"https://api.github.com/users/jay-hodgson/followers","following_url":"https://api.github.com/users/jay-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/jay-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/jay-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jay-hodgson/subscriptions","organizations_url":"https://api.github.com/users/jay-hodgson/orgs","repos_url":"https://api.github.com/users/jay-hodgson/repos","events_url":"https://api.github.com/users/jay-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/jay-hodgson/received_events","type":"User","site_admin":false},"body":"(only matching headers to column models are used to set the additional WHERE condition clauses, so aggregate function column values are ignored)","created_at":"2019-06-20T17:51:09Z","updated_at":"2019-06-20T19:32:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cb5fc70d993e8af4d51096575c2c0ba5b1e67082","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154/commits","review_comments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154/comments","review_comment_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues/154/comments","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/statuses/54ebd64d8bf784f05ad1ab5629ca3aac1aa1d1d3","head":{"label":"jay-hodgson:PORTALS-527","ref":"PORTALS-527","sha":"54ebd64d8bf784f05ad1ab5629ca3aac1aa1d1d3","user":{"login":"jay-hodgson","id":1864447,"node_id":"MDQ6VXNlcjE4NjQ0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1864447?v=4","gravatar_id":"","url":"https://api.github.com/users/jay-hodgson","html_url":"https://github.com/jay-hodgson","followers_url":"https://api.github.com/users/jay-hodgson/followers","following_url":"https://api.github.com/users/jay-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/jay-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/jay-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jay-hodgson/subscriptions","organizations_url":"https://api.github.com/users/jay-hodgson/orgs","repos_url":"https://api.github.com/users/jay-hodgson/repos","events_url":"https://api.github.com/users/jay-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/jay-hodgson/received_events","type":"User","site_admin":false},"repo":{"id":147424178,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc0MjQxNzg=","name":"Synapse-React-Client","full_name":"jay-hodgson/Synapse-React-Client","private":false,"owner":{"login":"jay-hodgson","id":1864447,"node_id":"MDQ6VXNlcjE4NjQ0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1864447?v=4","gravatar_id":"","url":"https://api.github.com/users/jay-hodgson","html_url":"https://github.com/jay-hodgson","followers_url":"https://api.github.com/users/jay-hodgson/followers","following_url":"https://api.github.com/users/jay-hodgson/following{/other_user}","gists_url":"https://api.github.com/users/jay-hodgson/gists{/gist_id}","starred_url":"https://api.github.com/users/jay-hodgson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jay-hodgson/subscriptions","organizations_url":"https://api.github.com/users/jay-hodgson/orgs","repos_url":"https://api.github.com/users/jay-hodgson/repos","events_url":"https://api.github.com/users/jay-hodgson/events{/privacy}","received_events_url":"https://api.github.com/users/jay-hodgson/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jay-hodgson/Synapse-React-Client","description":"To help quickly integrate your React app with the Synapse API backend","fork":true,"url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client","forks_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/forks","keys_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/teams","hooks_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/hooks","issue_events_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/issues/events{/number}","events_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/events","assignees_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/assignees{/user}","branches_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/branches{/branch}","tags_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/tags","blobs_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/languages","stargazers_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/stargazers","contributors_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/contributors","subscribers_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/subscribers","subscription_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/subscription","commits_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/contents/{+path}","compare_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/merges","archive_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/downloads","issues_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/issues{/number}","pulls_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/labels{/name}","releases_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/releases{/id}","deployments_url":"https://api.github.com/repos/jay-hodgson/Synapse-React-Client/deployments","created_at":"2018-09-04T21:51:02Z","updated_at":"2019-05-21T15:43:47Z","pushed_at":"2019-06-20T18:07:23Z","git_url":"git://github.com/jay-hodgson/Synapse-React-Client.git","ssh_url":"git@github.com:jay-hodgson/Synapse-React-Client.git","clone_url":"https://github.com/jay-hodgson/Synapse-React-Client.git","svn_url":"https://github.com/jay-hodgson/Synapse-React-Client","homepage":null,"size":13027,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Sage-Bionetworks:master","ref":"master","sha":"71c2b12362665fb4d9c6b7ec1c36601f2822dae8","user":{"login":"Sage-Bionetworks","id":1250897,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTA4OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1250897?v=4","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"repo":{"id":136205958,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyMDU5NTg=","name":"Synapse-React-Client","full_name":"Sage-Bionetworks/Synapse-React-Client","private":false,"owner":{"login":"Sage-Bionetworks","id":1250897,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyNTA4OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/1250897?v=4","gravatar_id":"","url":"https://api.github.com/users/Sage-Bionetworks","html_url":"https://github.com/Sage-Bionetworks","followers_url":"https://api.github.com/users/Sage-Bionetworks/followers","following_url":"https://api.github.com/users/Sage-Bionetworks/following{/other_user}","gists_url":"https://api.github.com/users/Sage-Bionetworks/gists{/gist_id}","starred_url":"https://api.github.com/users/Sage-Bionetworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sage-Bionetworks/subscriptions","organizations_url":"https://api.github.com/users/Sage-Bionetworks/orgs","repos_url":"https://api.github.com/users/Sage-Bionetworks/repos","events_url":"https://api.github.com/users/Sage-Bionetworks/events{/privacy}","received_events_url":"https://api.github.com/users/Sage-Bionetworks/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client","description":"To help quickly integrate your React app with the Synapse API backend","fork":false,"url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client","forks_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/forks","keys_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/teams","hooks_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/hooks","issue_events_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues/events{/number}","events_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/events","assignees_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/assignees{/user}","branches_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/branches{/branch}","tags_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/tags","blobs_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/statuses/{sha}","languages_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/languages","stargazers_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/stargazers","contributors_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/contributors","subscribers_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/subscribers","subscription_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/subscription","commits_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/contents/{+path}","compare_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/merges","archive_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/downloads","issues_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues{/number}","pulls_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls{/number}","milestones_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/milestones{/number}","notifications_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/labels{/name}","releases_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/releases{/id}","deployments_url":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/deployments","created_at":"2018-06-05T16:33:39Z","updated_at":"2019-06-19T22:17:49Z","pushed_at":"2019-06-20T18:07:24Z","git_url":"git://github.com/Sage-Bionetworks/Synapse-React-Client.git","ssh_url":"git@github.com:Sage-Bionetworks/Synapse-React-Client.git","clone_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client.git","svn_url":"https://github.com/Sage-Bionetworks/Synapse-React-Client","homepage":null,"size":20904,"stargazers_count":3,"watchers_count":3,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":5,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154"},"html":{"href":"https://github.com/Sage-Bionetworks/Synapse-React-Client/pull/154"},"issue":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues/154"},"comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/issues/154/comments"},"review_comments":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154/comments"},"review_comment":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/pulls/154/commits"},"statuses":{"href":"https://api.github.com/repos/Sage-Bionetworks/Synapse-React-Client/statuses/54ebd64d8bf784f05ad1ab5629ca3aac1aa1d1d3"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"leem42"}}