{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/jysui123/esql/pulls/3","id":286750279,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjg2NzUwMjc5","html_url":"https://github.com/jysui123/esql/pull/3","diff_url":"https://github.com/jysui123/esql/pull/3.diff","patch_url":"https://github.com/jysui123/esql/pull/3.patch","issue_url":"https://api.github.com/repos/jysui123/esql/issues/3","number":3,"state":"closed","locked":false,"title":"PR for M3","user":{"login":"jysui123","id":22061232,"node_id":"MDQ6VXNlcjIyMDYxMjMy","avatar_url":"https://avatars1.githubusercontent.com/u/22061232?v=4","gravatar_id":"","url":"https://api.github.com/users/jysui123","html_url":"https://github.com/jysui123","followers_url":"https://api.github.com/users/jysui123/followers","following_url":"https://api.github.com/users/jysui123/following{/other_user}","gists_url":"https://api.github.com/users/jysui123/gists{/gist_id}","starred_url":"https://api.github.com/users/jysui123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jysui123/subscriptions","organizations_url":"https://api.github.com/users/jysui123/orgs","repos_url":"https://api.github.com/users/jysui123/repos","events_url":"https://api.github.com/users/jysui123/events{/privacy}","received_events_url":"https://api.github.com/users/jysui123/received_events","type":"User","site_admin":false},"body":"M3 is mainly about aggregations, which includes:\r\n1. SELECT <agg func>\r\n2. ORDER BY <agg func>\r\n3. HAVING <agg func>\r\n4. GROUP BY <col name>\r\n\r\n\r\nSupported aggregation functions: \r\nSUM, AVG, MIN, MAX, COUNT, COUNT(DISTINCT)\r\n","created_at":"2019-06-10T16:44:45Z","updated_at":"2019-06-10T23:31:03Z","closed_at":"2019-06-10T23:31:03Z","merged_at":"2019-06-10T23:31:03Z","merge_commit_sha":"73af8a959d26154754337b30b0620a30d83833d7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jysui123/esql/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jysui123/esql/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jysui123/esql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jysui123/esql/issues/3/comments","statuses_url":"https://api.github.com/repos/jysui123/esql/statuses/73af8a959d26154754337b30b0620a30d83833d7","head":{"label":"jysui123:dev","ref":"dev","sha":"73af8a959d26154754337b30b0620a30d83833d7","user":{"login":"jysui123","id":22061232,"node_id":"MDQ6VXNlcjIyMDYxMjMy","avatar_url":"https://avatars1.githubusercontent.com/u/22061232?v=4","gravatar_id":"","url":"https://api.github.com/users/jysui123","html_url":"https://github.com/jysui123","followers_url":"https://api.github.com/users/jysui123/followers","following_url":"https://api.github.com/users/jysui123/following{/other_user}","gists_url":"https://api.github.com/users/jysui123/gists{/gist_id}","starred_url":"https://api.github.com/users/jysui123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jysui123/subscriptions","organizations_url":"https://api.github.com/users/jysui123/orgs","repos_url":"https://api.github.com/users/jysui123/repos","events_url":"https://api.github.com/users/jysui123/events{/privacy}","received_events_url":"https://api.github.com/users/jysui123/received_events","type":"User","site_admin":false},"repo":{"id":189304212,"node_id":"MDEwOlJlcG9zaXRvcnkxODkzMDQyMTI=","name":"esql","full_name":"jysui123/esql","private":false,"owner":{"login":"jysui123","id":22061232,"node_id":"MDQ6VXNlcjIyMDYxMjMy","avatar_url":"https://avatars1.githubusercontent.com/u/22061232?v=4","gravatar_id":"","url":"https://api.github.com/users/jysui123","html_url":"https://github.com/jysui123","followers_url":"https://api.github.com/users/jysui123/followers","following_url":"https://api.github.com/users/jysui123/following{/other_user}","gists_url":"https://api.github.com/users/jysui123/gists{/gist_id}","starred_url":"https://api.github.com/users/jysui123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jysui123/subscriptions","organizations_url":"https://api.github.com/users/jysui123/orgs","repos_url":"https://api.github.com/users/jysui123/repos","events_url":"https://api.github.com/users/jysui123/events{/privacy}","received_events_url":"https://api.github.com/users/jysui123/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jysui123/esql","description":"esql: convert sql to elasticsearch dsl","fork":false,"url":"https://api.github.com/repos/jysui123/esql","forks_url":"https://api.github.com/repos/jysui123/esql/forks","keys_url":"https://api.github.com/repos/jysui123/esql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jysui123/esql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jysui123/esql/teams","hooks_url":"https://api.github.com/repos/jysui123/esql/hooks","issue_events_url":"https://api.github.com/repos/jysui123/esql/issues/events{/number}","events_url":"https://api.github.com/repos/jysui123/esql/events","assignees_url":"https://api.github.com/repos/jysui123/esql/assignees{/user}","branches_url":"https://api.github.com/repos/jysui123/esql/branches{/branch}","tags_url":"https://api.github.com/repos/jysui123/esql/tags","blobs_url":"https://api.github.com/repos/jysui123/esql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jysui123/esql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jysui123/esql/git/refs{/sha}","trees_url":"https://api.github.com/repos/jysui123/esql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jysui123/esql/statuses/{sha}","languages_url":"https://api.github.com/repos/jysui123/esql/languages","stargazers_url":"https://api.github.com/repos/jysui123/esql/stargazers","contributors_url":"https://api.github.com/repos/jysui123/esql/contributors","subscribers_url":"https://api.github.com/repos/jysui123/esql/subscribers","subscription_url":"https://api.github.com/repos/jysui123/esql/subscription","commits_url":"https://api.github.com/repos/jysui123/esql/commits{/sha}","git_commits_url":"https://api.github.com/repos/jysui123/esql/git/commits{/sha}","comments_url":"https://api.github.com/repos/jysui123/esql/comments{/number}","issue_comment_url":"https://api.github.com/repos/jysui123/esql/issues/comments{/number}","contents_url":"https://api.github.com/repos/jysui123/esql/contents/{+path}","compare_url":"https://api.github.com/repos/jysui123/esql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jysui123/esql/merges","archive_url":"https://api.github.com/repos/jysui123/esql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jysui123/esql/downloads","issues_url":"https://api.github.com/repos/jysui123/esql/issues{/number}","pulls_url":"https://api.github.com/repos/jysui123/esql/pulls{/number}","milestones_url":"https://api.github.com/repos/jysui123/esql/milestones{/number}","notifications_url":"https://api.github.com/repos/jysui123/esql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jysui123/esql/labels{/name}","releases_url":"https://api.github.com/repos/jysui123/esql/releases{/id}","deployments_url":"https://api.github.com/repos/jysui123/esql/deployments","created_at":"2019-05-29T21:53:39Z","updated_at":"2019-06-06T23:30:45Z","pushed_at":"2019-06-10T23:31:03Z","git_url":"git://github.com/jysui123/esql.git","ssh_url":"git@github.com:jysui123/esql.git","clone_url":"https://github.com/jysui123/esql.git","svn_url":"https://github.com/jysui123/esql","homepage":null,"size":69,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"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":null,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"jysui123:master","ref":"master","sha":"6f1c2e2d1f3bc16ddf9752c3727a6ec42e598d48","user":{"login":"jysui123","id":22061232,"node_id":"MDQ6VXNlcjIyMDYxMjMy","avatar_url":"https://avatars1.githubusercontent.com/u/22061232?v=4","gravatar_id":"","url":"https://api.github.com/users/jysui123","html_url":"https://github.com/jysui123","followers_url":"https://api.github.com/users/jysui123/followers","following_url":"https://api.github.com/users/jysui123/following{/other_user}","gists_url":"https://api.github.com/users/jysui123/gists{/gist_id}","starred_url":"https://api.github.com/users/jysui123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jysui123/subscriptions","organizations_url":"https://api.github.com/users/jysui123/orgs","repos_url":"https://api.github.com/users/jysui123/repos","events_url":"https://api.github.com/users/jysui123/events{/privacy}","received_events_url":"https://api.github.com/users/jysui123/received_events","type":"User","site_admin":false},"repo":{"id":189304212,"node_id":"MDEwOlJlcG9zaXRvcnkxODkzMDQyMTI=","name":"esql","full_name":"jysui123/esql","private":false,"owner":{"login":"jysui123","id":22061232,"node_id":"MDQ6VXNlcjIyMDYxMjMy","avatar_url":"https://avatars1.githubusercontent.com/u/22061232?v=4","gravatar_id":"","url":"https://api.github.com/users/jysui123","html_url":"https://github.com/jysui123","followers_url":"https://api.github.com/users/jysui123/followers","following_url":"https://api.github.com/users/jysui123/following{/other_user}","gists_url":"https://api.github.com/users/jysui123/gists{/gist_id}","starred_url":"https://api.github.com/users/jysui123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jysui123/subscriptions","organizations_url":"https://api.github.com/users/jysui123/orgs","repos_url":"https://api.github.com/users/jysui123/repos","events_url":"https://api.github.com/users/jysui123/events{/privacy}","received_events_url":"https://api.github.com/users/jysui123/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jysui123/esql","description":"esql: convert sql to elasticsearch dsl","fork":false,"url":"https://api.github.com/repos/jysui123/esql","forks_url":"https://api.github.com/repos/jysui123/esql/forks","keys_url":"https://api.github.com/repos/jysui123/esql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jysui123/esql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jysui123/esql/teams","hooks_url":"https://api.github.com/repos/jysui123/esql/hooks","issue_events_url":"https://api.github.com/repos/jysui123/esql/issues/events{/number}","events_url":"https://api.github.com/repos/jysui123/esql/events","assignees_url":"https://api.github.com/repos/jysui123/esql/assignees{/user}","branches_url":"https://api.github.com/repos/jysui123/esql/branches{/branch}","tags_url":"https://api.github.com/repos/jysui123/esql/tags","blobs_url":"https://api.github.com/repos/jysui123/esql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jysui123/esql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jysui123/esql/git/refs{/sha}","trees_url":"https://api.github.com/repos/jysui123/esql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jysui123/esql/statuses/{sha}","languages_url":"https://api.github.com/repos/jysui123/esql/languages","stargazers_url":"https://api.github.com/repos/jysui123/esql/stargazers","contributors_url":"https://api.github.com/repos/jysui123/esql/contributors","subscribers_url":"https://api.github.com/repos/jysui123/esql/subscribers","subscription_url":"https://api.github.com/repos/jysui123/esql/subscription","commits_url":"https://api.github.com/repos/jysui123/esql/commits{/sha}","git_commits_url":"https://api.github.com/repos/jysui123/esql/git/commits{/sha}","comments_url":"https://api.github.com/repos/jysui123/esql/comments{/number}","issue_comment_url":"https://api.github.com/repos/jysui123/esql/issues/comments{/number}","contents_url":"https://api.github.com/repos/jysui123/esql/contents/{+path}","compare_url":"https://api.github.com/repos/jysui123/esql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jysui123/esql/merges","archive_url":"https://api.github.com/repos/jysui123/esql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jysui123/esql/downloads","issues_url":"https://api.github.com/repos/jysui123/esql/issues{/number}","pulls_url":"https://api.github.com/repos/jysui123/esql/pulls{/number}","milestones_url":"https://api.github.com/repos/jysui123/esql/milestones{/number}","notifications_url":"https://api.github.com/repos/jysui123/esql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jysui123/esql/labels{/name}","releases_url":"https://api.github.com/repos/jysui123/esql/releases{/id}","deployments_url":"https://api.github.com/repos/jysui123/esql/deployments","created_at":"2019-05-29T21:53:39Z","updated_at":"2019-06-06T23:30:45Z","pushed_at":"2019-06-10T23:31:03Z","git_url":"git://github.com/jysui123/esql.git","ssh_url":"git@github.com:jysui123/esql.git","clone_url":"https://github.com/jysui123/esql.git","svn_url":"https://github.com/jysui123/esql","homepage":null,"size":69,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"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":null,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jysui123/esql/pulls/3"},"html":{"href":"https://github.com/jysui123/esql/pull/3"},"issue":{"href":"https://api.github.com/repos/jysui123/esql/issues/3"},"comments":{"href":"https://api.github.com/repos/jysui123/esql/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jysui123/esql/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jysui123/esql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jysui123/esql/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jysui123/esql/statuses/73af8a959d26154754337b30b0620a30d83833d7"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jysui123","id":22061232,"node_id":"MDQ6VXNlcjIyMDYxMjMy","avatar_url":"https://avatars1.githubusercontent.com/u/22061232?v=4","gravatar_id":"","url":"https://api.github.com/users/jysui123","html_url":"https://github.com/jysui123","followers_url":"https://api.github.com/users/jysui123/followers","following_url":"https://api.github.com/users/jysui123/following{/other_user}","gists_url":"https://api.github.com/users/jysui123/gists{/gist_id}","starred_url":"https://api.github.com/users/jysui123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jysui123/subscriptions","organizations_url":"https://api.github.com/users/jysui123/orgs","repos_url":"https://api.github.com/users/jysui123/repos","events_url":"https://api.github.com/users/jysui123/events{/privacy}","received_events_url":"https://api.github.com/users/jysui123/received_events","type":"User","site_admin":false},"comments":0,"review_comments":8,"maintainer_can_modify":false,"commits":24,"additions":780,"deletions":119,"changed_files":7}}
{"actor":{"display_login":"jysui123"}}