{"action":"closed","number":4646,"pull_request":{"url":"https://api.github.com/repos/apache/beam/pulls/4646","id":168118485,"html_url":"https://github.com/apache/beam/pull/4646","diff_url":"https://github.com/apache/beam/pull/4646.diff","patch_url":"https://github.com/apache/beam/pull/4646.patch","issue_url":"https://api.github.com/repos/apache/beam/issues/4646","number":4646,"state":"closed","locked":false,"title":"[SQL] Refactor BeamSql interface","user":{"login":"akedin","id":33067037,"avatar_url":"https://avatars0.githubusercontent.com/u/33067037?v=4","gravatar_id":"","url":"https://api.github.com/users/akedin","html_url":"https://github.com/akedin","followers_url":"https://api.github.com/users/akedin/followers","following_url":"https://api.github.com/users/akedin/following{/other_user}","gists_url":"https://api.github.com/users/akedin/gists{/gist_id}","starred_url":"https://api.github.com/users/akedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akedin/subscriptions","organizations_url":"https://api.github.com/users/akedin/orgs","repos_url":"https://api.github.com/users/akedin/repos","events_url":"https://api.github.com/users/akedin/events{/privacy}","received_events_url":"https://api.github.com/users/akedin/received_events","type":"User","site_admin":false},"body":"Currently it's hard to add extra configuration to BeamSql (e.g. schemas or default windowing behavior).\r\n\r\nThis PR introduces more flexible builder and combines QueryTransform and SimpleQueryTransform. \r\n\r\n\r\n------------------------\r\n\r\nFollow this checklist to help us incorporate your contribution quickly and easily:\r\n\r\n - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.\r\n - [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA issue.\r\n - [x] Write a pull request description that is detailed enough to understand:\r\n   - [x] What the pull request does\r\n   - [x] Why it does it\r\n   - [x] How it does it\r\n   - [ ] Why this approach\r\n - [x] Each commit in the pull request should have a meaningful subject line and body.\r\n - [x] Run `mvn clean verify` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.\r\n - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).\r\n\r\n","created_at":"2018-02-08T23:46:47Z","updated_at":"2018-02-14T23:51:53Z","closed_at":"2018-02-14T23:51:52Z","merged_at":"2018-02-14T23:51:52Z","merge_commit_sha":"e668688690325127becfaef7486d02a6dae3e101","assignee":{"login":"jkff","id":343722,"avatar_url":"https://avatars2.githubusercontent.com/u/343722?v=4","gravatar_id":"","url":"https://api.github.com/users/jkff","html_url":"https://github.com/jkff","followers_url":"https://api.github.com/users/jkff/followers","following_url":"https://api.github.com/users/jkff/following{/other_user}","gists_url":"https://api.github.com/users/jkff/gists{/gist_id}","starred_url":"https://api.github.com/users/jkff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkff/subscriptions","organizations_url":"https://api.github.com/users/jkff/orgs","repos_url":"https://api.github.com/users/jkff/repos","events_url":"https://api.github.com/users/jkff/events{/privacy}","received_events_url":"https://api.github.com/users/jkff/received_events","type":"User","site_admin":false},"assignees":[{"login":"jkff","id":343722,"avatar_url":"https://avatars2.githubusercontent.com/u/343722?v=4","gravatar_id":"","url":"https://api.github.com/users/jkff","html_url":"https://github.com/jkff","followers_url":"https://api.github.com/users/jkff/followers","following_url":"https://api.github.com/users/jkff/following{/other_user}","gists_url":"https://api.github.com/users/jkff/gists{/gist_id}","starred_url":"https://api.github.com/users/jkff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkff/subscriptions","organizations_url":"https://api.github.com/users/jkff/orgs","repos_url":"https://api.github.com/users/jkff/repos","events_url":"https://api.github.com/users/jkff/events{/privacy}","received_events_url":"https://api.github.com/users/jkff/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/beam/pulls/4646/commits","review_comments_url":"https://api.github.com/repos/apache/beam/pulls/4646/comments","review_comment_url":"https://api.github.com/repos/apache/beam/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/beam/issues/4646/comments","statuses_url":"https://api.github.com/repos/apache/beam/statuses/01bb580608ebff79c0c1db63ba825907d18f0f64","head":{"label":"akedin:refactor-beamsql","ref":"refactor-beamsql","sha":"01bb580608ebff79c0c1db63ba825907d18f0f64","user":{"login":"akedin","id":33067037,"avatar_url":"https://avatars0.githubusercontent.com/u/33067037?v=4","gravatar_id":"","url":"https://api.github.com/users/akedin","html_url":"https://github.com/akedin","followers_url":"https://api.github.com/users/akedin/followers","following_url":"https://api.github.com/users/akedin/following{/other_user}","gists_url":"https://api.github.com/users/akedin/gists{/gist_id}","starred_url":"https://api.github.com/users/akedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akedin/subscriptions","organizations_url":"https://api.github.com/users/akedin/orgs","repos_url":"https://api.github.com/users/akedin/repos","events_url":"https://api.github.com/users/akedin/events{/privacy}","received_events_url":"https://api.github.com/users/akedin/received_events","type":"User","site_admin":false},"repo":{"id":108159679,"name":"beam","full_name":"akedin/beam","owner":{"login":"akedin","id":33067037,"avatar_url":"https://avatars0.githubusercontent.com/u/33067037?v=4","gravatar_id":"","url":"https://api.github.com/users/akedin","html_url":"https://github.com/akedin","followers_url":"https://api.github.com/users/akedin/followers","following_url":"https://api.github.com/users/akedin/following{/other_user}","gists_url":"https://api.github.com/users/akedin/gists{/gist_id}","starred_url":"https://api.github.com/users/akedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akedin/subscriptions","organizations_url":"https://api.github.com/users/akedin/orgs","repos_url":"https://api.github.com/users/akedin/repos","events_url":"https://api.github.com/users/akedin/events{/privacy}","received_events_url":"https://api.github.com/users/akedin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akedin/beam","description":"Mirror of Apache Beam","fork":true,"url":"https://api.github.com/repos/akedin/beam","forks_url":"https://api.github.com/repos/akedin/beam/forks","keys_url":"https://api.github.com/repos/akedin/beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akedin/beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akedin/beam/teams","hooks_url":"https://api.github.com/repos/akedin/beam/hooks","issue_events_url":"https://api.github.com/repos/akedin/beam/issues/events{/number}","events_url":"https://api.github.com/repos/akedin/beam/events","assignees_url":"https://api.github.com/repos/akedin/beam/assignees{/user}","branches_url":"https://api.github.com/repos/akedin/beam/branches{/branch}","tags_url":"https://api.github.com/repos/akedin/beam/tags","blobs_url":"https://api.github.com/repos/akedin/beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akedin/beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akedin/beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/akedin/beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akedin/beam/statuses/{sha}","languages_url":"https://api.github.com/repos/akedin/beam/languages","stargazers_url":"https://api.github.com/repos/akedin/beam/stargazers","contributors_url":"https://api.github.com/repos/akedin/beam/contributors","subscribers_url":"https://api.github.com/repos/akedin/beam/subscribers","subscription_url":"https://api.github.com/repos/akedin/beam/subscription","commits_url":"https://api.github.com/repos/akedin/beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/akedin/beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/akedin/beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/akedin/beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/akedin/beam/contents/{+path}","compare_url":"https://api.github.com/repos/akedin/beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akedin/beam/merges","archive_url":"https://api.github.com/repos/akedin/beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akedin/beam/downloads","issues_url":"https://api.github.com/repos/akedin/beam/issues{/number}","pulls_url":"https://api.github.com/repos/akedin/beam/pulls{/number}","milestones_url":"https://api.github.com/repos/akedin/beam/milestones{/number}","notifications_url":"https://api.github.com/repos/akedin/beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akedin/beam/labels{/name}","releases_url":"https://api.github.com/repos/akedin/beam/releases{/id}","deployments_url":"https://api.github.com/repos/akedin/beam/deployments","created_at":"2017-10-24T17:18:33Z","updated_at":"2017-10-24T17:18:45Z","pushed_at":"2018-02-14T21:17:08Z","git_url":"git://github.com/akedin/beam.git","ssh_url":"git@github.com:akedin/beam.git","clone_url":"https://github.com/akedin/beam.git","svn_url":"https://github.com/akedin/beam","homepage":"","size":51601,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"e12500e6ca03f661538a7bd21404c8f60012831b","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":50904245,"name":"beam","full_name":"apache/beam","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/beam","description":"Apache Beam","fork":false,"url":"https://api.github.com/repos/apache/beam","forks_url":"https://api.github.com/repos/apache/beam/forks","keys_url":"https://api.github.com/repos/apache/beam/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/beam/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/beam/teams","hooks_url":"https://api.github.com/repos/apache/beam/hooks","issue_events_url":"https://api.github.com/repos/apache/beam/issues/events{/number}","events_url":"https://api.github.com/repos/apache/beam/events","assignees_url":"https://api.github.com/repos/apache/beam/assignees{/user}","branches_url":"https://api.github.com/repos/apache/beam/branches{/branch}","tags_url":"https://api.github.com/repos/apache/beam/tags","blobs_url":"https://api.github.com/repos/apache/beam/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/beam/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/beam/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/beam/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/beam/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/beam/languages","stargazers_url":"https://api.github.com/repos/apache/beam/stargazers","contributors_url":"https://api.github.com/repos/apache/beam/contributors","subscribers_url":"https://api.github.com/repos/apache/beam/subscribers","subscription_url":"https://api.github.com/repos/apache/beam/subscription","commits_url":"https://api.github.com/repos/apache/beam/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/beam/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/beam/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/beam/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/beam/contents/{+path}","compare_url":"https://api.github.com/repos/apache/beam/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/beam/merges","archive_url":"https://api.github.com/repos/apache/beam/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/beam/downloads","issues_url":"https://api.github.com/repos/apache/beam/issues{/number}","pulls_url":"https://api.github.com/repos/apache/beam/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/beam/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/beam/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/beam/labels{/name}","releases_url":"https://api.github.com/repos/apache/beam/releases{/id}","deployments_url":"https://api.github.com/repos/apache/beam/deployments","created_at":"2016-02-02T08:00:06Z","updated_at":"2018-02-14T13:46:15Z","pushed_at":"2018-02-14T23:51:52Z","git_url":"git://github.com/apache/beam.git","ssh_url":"git@github.com:apache/beam.git","clone_url":"https://github.com/apache/beam.git","svn_url":"https://github.com/apache/beam","homepage":"","size":52792,"stargazers_count":1682,"watchers_count":1682,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1013,"mirror_url":null,"archived":false,"open_issues_count":91,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":1013,"open_issues":91,"watchers":1682,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/beam/pulls/4646"},"html":{"href":"https://github.com/apache/beam/pull/4646"},"issue":{"href":"https://api.github.com/repos/apache/beam/issues/4646"},"comments":{"href":"https://api.github.com/repos/apache/beam/issues/4646/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/beam/pulls/4646/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/beam/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/beam/pulls/4646/commits"},"statuses":{"href":"https://api.github.com/repos/apache/beam/statuses/01bb580608ebff79c0c1db63ba825907d18f0f64"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kennknowles","id":575353,"avatar_url":"https://avatars0.githubusercontent.com/u/575353?v=4","gravatar_id":"","url":"https://api.github.com/users/kennknowles","html_url":"https://github.com/kennknowles","followers_url":"https://api.github.com/users/kennknowles/followers","following_url":"https://api.github.com/users/kennknowles/following{/other_user}","gists_url":"https://api.github.com/users/kennknowles/gists{/gist_id}","starred_url":"https://api.github.com/users/kennknowles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennknowles/subscriptions","organizations_url":"https://api.github.com/users/kennknowles/orgs","repos_url":"https://api.github.com/users/kennknowles/repos","events_url":"https://api.github.com/users/kennknowles/events{/privacy}","received_events_url":"https://api.github.com/users/kennknowles/received_events","type":"User","site_admin":false},"comments":8,"review_comments":17,"maintainer_can_modify":false,"commits":2,"additions":375,"deletions":220,"changed_files":16}}
{"actor":{"display_login":"kennknowles"}}