{"action":"created","comment":{"url":"https://api.github.com/repos/prestodb/presto/pulls/comments/219314022","pull_request_review_id":157461829,"id":219314022,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTMxNDAyMg==","diff_hunk":"@@ -0,0 +1,31 @@\n+==========\n+SHOW STATS\n+==========\n+\n+Synopsis\n+--------\n+\n+.. code-block:: none\n+\n+    SHOW STATS FOR table\n+    SHOW STATS FOR ( SELECT * FROM table [ WHERE condition ] )\n+\n+Description\n+-----------\n+\n+Returns stats for the named table or for the results of a (limited) query.","path":"presto-docs/src/main/sphinx/sql/show-stats.rst","position":null,"original_position":16,"commit_id":"9b51e8d1df069ff48e9cede89a0be9498941d97a","original_commit_id":"f42edd0e0e503d7f44b8c08140b1e45f3317ddef","user":{"login":"mbasmanova","id":27965151,"node_id":"MDQ6VXNlcjI3OTY1MTUx","avatar_url":"https://avatars3.githubusercontent.com/u/27965151?v=4","gravatar_id":"","url":"https://api.github.com/users/mbasmanova","html_url":"https://github.com/mbasmanova","followers_url":"https://api.github.com/users/mbasmanova/followers","following_url":"https://api.github.com/users/mbasmanova/following{/other_user}","gists_url":"https://api.github.com/users/mbasmanova/gists{/gist_id}","starred_url":"https://api.github.com/users/mbasmanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbasmanova/subscriptions","organizations_url":"https://api.github.com/users/mbasmanova/orgs","repos_url":"https://api.github.com/users/mbasmanova/repos","events_url":"https://api.github.com/users/mbasmanova/events{/privacy}","received_events_url":"https://api.github.com/users/mbasmanova/received_events","type":"User","site_admin":false},"body":"@findepi @arbass22 SHOW STATS works correctly for filters that use partition keys, e.g. the stats displayed represent the fraction of the data matching the filter. SHOW STATS doesn't fail if the filter includes non-partition keys, but it shows the same results as if these filters were not present. This is confusing. Piotr, do you happen to know if this is by design?","created_at":"2018-09-20T20:52:54Z","updated_at":"2018-09-20T20:52:54Z","html_url":"https://github.com/prestodb/presto/pull/11496#discussion_r219314022","pull_request_url":"https://api.github.com/repos/prestodb/presto/pulls/11496","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto/pulls/comments/219314022"},"html":{"href":"https://github.com/prestodb/presto/pull/11496#discussion_r219314022"},"pull_request":{"href":"https://api.github.com/repos/prestodb/presto/pulls/11496"}},"in_reply_to_id":218751659},"pull_request":{"url":"https://api.github.com/repos/prestodb/presto/pulls/11496","id":216062565,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2MDYyNTY1","html_url":"https://github.com/prestodb/presto/pull/11496","diff_url":"https://github.com/prestodb/presto/pull/11496.diff","patch_url":"https://github.com/prestodb/presto/pull/11496.patch","issue_url":"https://api.github.com/repos/prestodb/presto/issues/11496","number":11496,"state":"open","locked":false,"title":"Add docs for SHOW STATS","user":{"login":"arbass22","id":10891729,"node_id":"MDQ6VXNlcjEwODkxNzI5","avatar_url":"https://avatars2.githubusercontent.com/u/10891729?v=4","gravatar_id":"","url":"https://api.github.com/users/arbass22","html_url":"https://github.com/arbass22","followers_url":"https://api.github.com/users/arbass22/followers","following_url":"https://api.github.com/users/arbass22/following{/other_user}","gists_url":"https://api.github.com/users/arbass22/gists{/gist_id}","starred_url":"https://api.github.com/users/arbass22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbass22/subscriptions","organizations_url":"https://api.github.com/users/arbass22/orgs","repos_url":"https://api.github.com/users/arbass22/repos","events_url":"https://api.github.com/users/arbass22/events{/privacy}","received_events_url":"https://api.github.com/users/arbass22/received_events","type":"User","site_admin":false},"body":"Fixes #11486","created_at":"2018-09-17T17:49:00Z","updated_at":"2018-09-20T20:52:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a00b732bab1c1bbf622200e383e4d5ad193a316","assignee":{"login":"mbasmanova","id":27965151,"node_id":"MDQ6VXNlcjI3OTY1MTUx","avatar_url":"https://avatars3.githubusercontent.com/u/27965151?v=4","gravatar_id":"","url":"https://api.github.com/users/mbasmanova","html_url":"https://github.com/mbasmanova","followers_url":"https://api.github.com/users/mbasmanova/followers","following_url":"https://api.github.com/users/mbasmanova/following{/other_user}","gists_url":"https://api.github.com/users/mbasmanova/gists{/gist_id}","starred_url":"https://api.github.com/users/mbasmanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbasmanova/subscriptions","organizations_url":"https://api.github.com/users/mbasmanova/orgs","repos_url":"https://api.github.com/users/mbasmanova/repos","events_url":"https://api.github.com/users/mbasmanova/events{/privacy}","received_events_url":"https://api.github.com/users/mbasmanova/received_events","type":"User","site_admin":false},"assignees":[{"login":"mbasmanova","id":27965151,"node_id":"MDQ6VXNlcjI3OTY1MTUx","avatar_url":"https://avatars3.githubusercontent.com/u/27965151?v=4","gravatar_id":"","url":"https://api.github.com/users/mbasmanova","html_url":"https://github.com/mbasmanova","followers_url":"https://api.github.com/users/mbasmanova/followers","following_url":"https://api.github.com/users/mbasmanova/following{/other_user}","gists_url":"https://api.github.com/users/mbasmanova/gists{/gist_id}","starred_url":"https://api.github.com/users/mbasmanova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbasmanova/subscriptions","organizations_url":"https://api.github.com/users/mbasmanova/orgs","repos_url":"https://api.github.com/users/mbasmanova/repos","events_url":"https://api.github.com/users/mbasmanova/events{/privacy}","received_events_url":"https://api.github.com/users/mbasmanova/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":196992743,"node_id":"MDU6TGFiZWwxOTY5OTI3NDM=","url":"https://api.github.com/repos/prestodb/presto/labels/CLA%20Signed","name":"CLA Signed","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/prestodb/presto/pulls/11496/commits","review_comments_url":"https://api.github.com/repos/prestodb/presto/pulls/11496/comments","review_comment_url":"https://api.github.com/repos/prestodb/presto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prestodb/presto/issues/11496/comments","statuses_url":"https://api.github.com/repos/prestodb/presto/statuses/9b51e8d1df069ff48e9cede89a0be9498941d97a","head":{"label":"arbass22:show-docs","ref":"show-docs","sha":"9b51e8d1df069ff48e9cede89a0be9498941d97a","user":{"login":"arbass22","id":10891729,"node_id":"MDQ6VXNlcjEwODkxNzI5","avatar_url":"https://avatars2.githubusercontent.com/u/10891729?v=4","gravatar_id":"","url":"https://api.github.com/users/arbass22","html_url":"https://github.com/arbass22","followers_url":"https://api.github.com/users/arbass22/followers","following_url":"https://api.github.com/users/arbass22/following{/other_user}","gists_url":"https://api.github.com/users/arbass22/gists{/gist_id}","starred_url":"https://api.github.com/users/arbass22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbass22/subscriptions","organizations_url":"https://api.github.com/users/arbass22/orgs","repos_url":"https://api.github.com/users/arbass22/repos","events_url":"https://api.github.com/users/arbass22/events{/privacy}","received_events_url":"https://api.github.com/users/arbass22/received_events","type":"User","site_admin":false},"repo":{"id":148213035,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTMwMzU=","name":"presto","full_name":"arbass22/presto","private":false,"owner":{"login":"arbass22","id":10891729,"node_id":"MDQ6VXNlcjEwODkxNzI5","avatar_url":"https://avatars2.githubusercontent.com/u/10891729?v=4","gravatar_id":"","url":"https://api.github.com/users/arbass22","html_url":"https://github.com/arbass22","followers_url":"https://api.github.com/users/arbass22/followers","following_url":"https://api.github.com/users/arbass22/following{/other_user}","gists_url":"https://api.github.com/users/arbass22/gists{/gist_id}","starred_url":"https://api.github.com/users/arbass22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arbass22/subscriptions","organizations_url":"https://api.github.com/users/arbass22/orgs","repos_url":"https://api.github.com/users/arbass22/repos","events_url":"https://api.github.com/users/arbass22/events{/privacy}","received_events_url":"https://api.github.com/users/arbass22/received_events","type":"User","site_admin":false},"html_url":"https://github.com/arbass22/presto","description":"Distributed SQL query engine for big data","fork":true,"url":"https://api.github.com/repos/arbass22/presto","forks_url":"https://api.github.com/repos/arbass22/presto/forks","keys_url":"https://api.github.com/repos/arbass22/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arbass22/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arbass22/presto/teams","hooks_url":"https://api.github.com/repos/arbass22/presto/hooks","issue_events_url":"https://api.github.com/repos/arbass22/presto/issues/events{/number}","events_url":"https://api.github.com/repos/arbass22/presto/events","assignees_url":"https://api.github.com/repos/arbass22/presto/assignees{/user}","branches_url":"https://api.github.com/repos/arbass22/presto/branches{/branch}","tags_url":"https://api.github.com/repos/arbass22/presto/tags","blobs_url":"https://api.github.com/repos/arbass22/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arbass22/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arbass22/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/arbass22/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arbass22/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/arbass22/presto/languages","stargazers_url":"https://api.github.com/repos/arbass22/presto/stargazers","contributors_url":"https://api.github.com/repos/arbass22/presto/contributors","subscribers_url":"https://api.github.com/repos/arbass22/presto/subscribers","subscription_url":"https://api.github.com/repos/arbass22/presto/subscription","commits_url":"https://api.github.com/repos/arbass22/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/arbass22/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/arbass22/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/arbass22/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/arbass22/presto/contents/{+path}","compare_url":"https://api.github.com/repos/arbass22/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arbass22/presto/merges","archive_url":"https://api.github.com/repos/arbass22/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arbass22/presto/downloads","issues_url":"https://api.github.com/repos/arbass22/presto/issues{/number}","pulls_url":"https://api.github.com/repos/arbass22/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/arbass22/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/arbass22/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arbass22/presto/labels{/name}","releases_url":"https://api.github.com/repos/arbass22/presto/releases{/id}","deployments_url":"https://api.github.com/repos/arbass22/presto/deployments","created_at":"2018-09-10T20:11:15Z","updated_at":"2018-09-10T20:11:36Z","pushed_at":"2018-09-20T17:18:43Z","git_url":"git://github.com/arbass22/presto.git","ssh_url":"git@github.com:arbass22/presto.git","clone_url":"https://github.com/arbass22/presto.git","svn_url":"https://github.com/arbass22/presto","homepage":"https://prestodb.io","size":97658,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":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":"prestodb:master","ref":"master","sha":"70426ef03a417d7fd3e8411bb880680e47f74778","user":{"login":"prestodb","id":6882181,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4ODIxODE=","avatar_url":"https://avatars0.githubusercontent.com/u/6882181?v=4","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"repo":{"id":5349565,"node_id":"MDEwOlJlcG9zaXRvcnk1MzQ5NTY1","name":"presto","full_name":"prestodb/presto","private":false,"owner":{"login":"prestodb","id":6882181,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4ODIxODE=","avatar_url":"https://avatars0.githubusercontent.com/u/6882181?v=4","gravatar_id":"","url":"https://api.github.com/users/prestodb","html_url":"https://github.com/prestodb","followers_url":"https://api.github.com/users/prestodb/followers","following_url":"https://api.github.com/users/prestodb/following{/other_user}","gists_url":"https://api.github.com/users/prestodb/gists{/gist_id}","starred_url":"https://api.github.com/users/prestodb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prestodb/subscriptions","organizations_url":"https://api.github.com/users/prestodb/orgs","repos_url":"https://api.github.com/users/prestodb/repos","events_url":"https://api.github.com/users/prestodb/events{/privacy}","received_events_url":"https://api.github.com/users/prestodb/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/prestodb/presto","description":"Distributed SQL query engine for big data","fork":false,"url":"https://api.github.com/repos/prestodb/presto","forks_url":"https://api.github.com/repos/prestodb/presto/forks","keys_url":"https://api.github.com/repos/prestodb/presto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prestodb/presto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prestodb/presto/teams","hooks_url":"https://api.github.com/repos/prestodb/presto/hooks","issue_events_url":"https://api.github.com/repos/prestodb/presto/issues/events{/number}","events_url":"https://api.github.com/repos/prestodb/presto/events","assignees_url":"https://api.github.com/repos/prestodb/presto/assignees{/user}","branches_url":"https://api.github.com/repos/prestodb/presto/branches{/branch}","tags_url":"https://api.github.com/repos/prestodb/presto/tags","blobs_url":"https://api.github.com/repos/prestodb/presto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prestodb/presto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prestodb/presto/git/refs{/sha}","trees_url":"https://api.github.com/repos/prestodb/presto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prestodb/presto/statuses/{sha}","languages_url":"https://api.github.com/repos/prestodb/presto/languages","stargazers_url":"https://api.github.com/repos/prestodb/presto/stargazers","contributors_url":"https://api.github.com/repos/prestodb/presto/contributors","subscribers_url":"https://api.github.com/repos/prestodb/presto/subscribers","subscription_url":"https://api.github.com/repos/prestodb/presto/subscription","commits_url":"https://api.github.com/repos/prestodb/presto/commits{/sha}","git_commits_url":"https://api.github.com/repos/prestodb/presto/git/commits{/sha}","comments_url":"https://api.github.com/repos/prestodb/presto/comments{/number}","issue_comment_url":"https://api.github.com/repos/prestodb/presto/issues/comments{/number}","contents_url":"https://api.github.com/repos/prestodb/presto/contents/{+path}","compare_url":"https://api.github.com/repos/prestodb/presto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prestodb/presto/merges","archive_url":"https://api.github.com/repos/prestodb/presto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prestodb/presto/downloads","issues_url":"https://api.github.com/repos/prestodb/presto/issues{/number}","pulls_url":"https://api.github.com/repos/prestodb/presto/pulls{/number}","milestones_url":"https://api.github.com/repos/prestodb/presto/milestones{/number}","notifications_url":"https://api.github.com/repos/prestodb/presto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prestodb/presto/labels{/name}","releases_url":"https://api.github.com/repos/prestodb/presto/releases{/id}","deployments_url":"https://api.github.com/repos/prestodb/presto/deployments","created_at":"2012-08-09T01:03:37Z","updated_at":"2018-09-20T09:28:46Z","pushed_at":"2018-09-20T18:26:21Z","git_url":"git://github.com/prestodb/presto.git","ssh_url":"git@github.com:prestodb/presto.git","clone_url":"https://github.com/prestodb/presto.git","svn_url":"https://github.com/prestodb/presto","homepage":"https://prestodb.io","size":98191,"stargazers_count":8103,"watchers_count":8103,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2742,"mirror_url":null,"archived":false,"open_issues_count":1394,"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":2742,"open_issues":1394,"watchers":8103,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prestodb/presto/pulls/11496"},"html":{"href":"https://github.com/prestodb/presto/pull/11496"},"issue":{"href":"https://api.github.com/repos/prestodb/presto/issues/11496"},"comments":{"href":"https://api.github.com/repos/prestodb/presto/issues/11496/comments"},"review_comments":{"href":"https://api.github.com/repos/prestodb/presto/pulls/11496/comments"},"review_comment":{"href":"https://api.github.com/repos/prestodb/presto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prestodb/presto/pulls/11496/commits"},"statuses":{"href":"https://api.github.com/repos/prestodb/presto/statuses/9b51e8d1df069ff48e9cede89a0be9498941d97a"}},"author_association":"NONE"}}
{"actor":{"display_login":"mbasmanova"}}