{"action":"created","issue":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1773","labels_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1773/labels{/name}","comments_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1773/comments","events_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1773/events","html_url":"https://github.com/cockroachdb/cockroach/pull/1773","id":96700233,"number":1773,"title":"Skeleton of a query planner.","user":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-23T00:51:03Z","updated_at":"2015-07-23T14:57:59Z","closed_at":"2015-07-23T14:54:03Z","pull_request":{"url":"https://api.github.com/repos/cockroachdb/cockroach/pulls/1773","html_url":"https://github.com/cockroachdb/cockroach/pull/1773","diff_url":"https://github.com/cockroachdb/cockroach/pull/1773.diff","patch_url":"https://github.com/cockroachdb/cockroach/pull/1773.patch"},"body":"Split the query planning/execution out of sql.Server and into a new\nsql.planner struct. Added the skeleton of a query plan tree composed of\nplanNodes.\n\nThis is mostly just code movement. The only additional functionality yet\nis that INSERT statements can use SELECT statements as sources of\nvalues. For example, \"INSERT INTO foo (SELECT * FROM bar)\" should\nwork. This falls out naturally from how individual statements create\n\"plan\" objects which are then iterated over.\n\nFixes #1623."},"comment":{"url":"https://api.github.com/repos/cockroachdb/cockroach/issues/comments/124132237","html_url":"https://github.com/cockroachdb/cockroach/pull/1773#issuecomment-124132237","issue_url":"https://api.github.com/repos/cockroachdb/cockroach/issues/1773","id":124132237,"user":{"login":"tschottdorf","id":5076964,"avatar_url":"https://avatars.githubusercontent.com/u/5076964?v=3","gravatar_id":"","url":"https://api.github.com/users/tschottdorf","html_url":"https://github.com/tschottdorf","followers_url":"https://api.github.com/users/tschottdorf/followers","following_url":"https://api.github.com/users/tschottdorf/following{/other_user}","gists_url":"https://api.github.com/users/tschottdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/tschottdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschottdorf/subscriptions","organizations_url":"https://api.github.com/users/tschottdorf/orgs","repos_url":"https://api.github.com/users/tschottdorf/repos","events_url":"https://api.github.com/users/tschottdorf/events{/privacy}","received_events_url":"https://api.github.com/users/tschottdorf/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T14:57:59Z","updated_at":"2015-07-23T14:57:59Z","body":"> It's a little confusing that the planner encompasses the DDL stuff.\r\n\r\nwhich DDL stuff?"}}