{"action":"created","issue":{"url":"https://api.github.com/repos/pingcap/tidb/issues/4914","repository_url":"https://api.github.com/repos/pingcap/tidb","labels_url":"https://api.github.com/repos/pingcap/tidb/issues/4914/labels{/name}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/4914/comments","events_url":"https://api.github.com/repos/pingcap/tidb/issues/4914/events","html_url":"https://github.com/pingcap/tidb/pull/4914","id":268752804,"number":4914,"title":"plan:  build prepared statement plan in Optimize phase.","user":{"login":"coocood","id":891222,"avatar_url":"https://avatars0.githubusercontent.com/u/891222?v=4","gravatar_id":"","url":"https://api.github.com/users/coocood","html_url":"https://github.com/coocood","followers_url":"https://api.github.com/users/coocood/followers","following_url":"https://api.github.com/users/coocood/following{/other_user}","gists_url":"https://api.github.com/users/coocood/gists{/gist_id}","starred_url":"https://api.github.com/users/coocood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coocood/subscriptions","organizations_url":"https://api.github.com/users/coocood/orgs","repos_url":"https://api.github.com/users/coocood/repos","events_url":"https://api.github.com/users/coocood/events{/privacy}","received_events_url":"https://api.github.com/users/coocood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-10-26T13:07:35Z","updated_at":"2017-10-26T13:10:09Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/4914","html_url":"https://github.com/pingcap/tidb/pull/4914","diff_url":"https://github.com/pingcap/tidb/pull/4914.diff","patch_url":"https://github.com/pingcap/tidb/pull/4914.patch"},"body":"When we build the `Execute` plan, the underlying plan is not built, so we don't know what the plan is before we execute it.\r\nThis PR move the plan building for prepared statement to optimizer, so we know what plan we are going to execute before we execute it."},"comment":{"url":"https://api.github.com/repos/pingcap/tidb/issues/comments/339660610","html_url":"https://github.com/pingcap/tidb/pull/4914#issuecomment-339660610","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/4914","id":339660610,"user":{"login":"shenli","id":1192573,"avatar_url":"https://avatars0.githubusercontent.com/u/1192573?v=4","gravatar_id":"","url":"https://api.github.com/users/shenli","html_url":"https://github.com/shenli","followers_url":"https://api.github.com/users/shenli/followers","following_url":"https://api.github.com/users/shenli/following{/other_user}","gists_url":"https://api.github.com/users/shenli/gists{/gist_id}","starred_url":"https://api.github.com/users/shenli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenli/subscriptions","organizations_url":"https://api.github.com/users/shenli/orgs","repos_url":"https://api.github.com/users/shenli/repos","events_url":"https://api.github.com/users/shenli/events{/privacy}","received_events_url":"https://api.github.com/users/shenli/received_events","type":"User","site_admin":false},"created_at":"2017-10-26T13:10:09Z","updated_at":"2017-10-26T13:10:09Z","author_association":"OWNER","body":"Will this PR improve performance?"}}
{"actor":{"display_login":"shenli"}}