{"action":"created","comment":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/comments/200531750","pull_request_review_id":134865885,"id":200531750,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDUzMTc1MA==","diff_hunk":"@@ -838,50 +838,22 @@ func (d *ddl) CreateTable(ctx sessionctx.Context, s *ast.CreateTableStmt) (err e\n \tif err != nil {\n \t\treturn errors.Trace(err)\n \t}\n-\tif s.Partition != nil {\n-\t\tpi := &model.PartitionInfo{\n-\t\t\tType:   s.Partition.Tp,\n-\t\t\tEnable: ctx.GetSessionVars().EnableTablePartition,\n-\t\t}\n-\t\tif s.Partition.Expr != nil {\n-\t\t\tbuf := new(bytes.Buffer)\n-\t\t\ts.Partition.Expr.Format(buf)\n-\t\t\tpi.Expr = buf.String()\n-\t\t\tif s.Partition.Tp == model.PartitionTypeRange {\n-\t\t\t\tif _, ok := s.Partition.Expr.(*ast.ColumnNameExpr); ok {\n-\t\t\t\t\tfor _, col := range cols {\n-\t\t\t\t\t\tname := strings.Replace(col.Name.String(), \".\", \"`.`\", -1)\n-\t\t\t\t\t\tif !(col.Tp == mysql.TypeLong || col.Tp == mysql.TypeLonglong) && fmt.Sprintf(\"`%s`\", name) == pi.Expr {\n-\t\t\t\t\t\t\treturn errors.Trace(ErrNotAllowedTypeInPartition.GenByArgs(pi.Expr))\n-\t\t\t\t\t\t}\n-\t\t\t\t\t}\n-\t\t\t\t}\n-\t\t\t}\n-\t\t} else if s.Partition.ColumnNames != nil {\n-\t\t\tpi.Columns = make([]model.CIStr, 0, len(s.Partition.ColumnNames))\n-\t\t\tfor _, cn := range s.Partition.ColumnNames {\n-\t\t\t\tpi.Columns = append(pi.Columns, cn.Name)\n-\t\t\t}\n+\n+\tpart, err := buildTablePartitionInfo(ctx, d, s, cols)\n+\tif err != nil {\n+\t\treturn errors.Trace(err)\n+\t}\n+\n+\tif part != nil && part.Type == model.PartitionTypeRange {\n+\t\terr = checkPartitionNameUnique(tbInfo, part)\n+\t\tif err != nil {\n+\t\t\treturn errors.Trace(err)\n \t\t}\n-\t\tfor _, def := range s.Partition.Definitions {\n-\t\t\t// TODO: generate multiple global ID for paritions.\n-\t\t\tpid, err1 := d.genGlobalID()\n-\t\t\tif err1 != nil {\n-\t\t\t\treturn errors.Trace(err1)\n-\t\t\t}\n-\t\t\tpiDef := model.PartitionDefinition{\n-\t\t\t\tName:    def.Name,\n-\t\t\t\tID:      pid,\n-\t\t\t\tComment: def.Comment,\n-\t\t\t}\n-\t\t\tfor _, expr := range def.LessThan {\n-\t\t\t\tbuf := new(bytes.Buffer)\n-\t\t\t\texpr.Format(buf)\n-\t\t\t\tpiDef.LessThan = append(piDef.LessThan, buf.String())\n-\t\t\t}\n-\t\t\tpi.Definitions = append(pi.Definitions, piDef)\n+\t\terr = checkCreatePartitionValue(part)\n+\t\tif err != nil {\n+\t\t\treturn errors.Trace(err)\n \t\t}\n-\t\ttbInfo.Partition = pi\n+\t\ttbInfo.Partition = part","path":"ddl/ddl_api.go","position":61,"original_position":61,"commit_id":"bbf475b33187e373cffe4379dc784c09c6946eaf","original_commit_id":"bbf475b33187e373cffe4379dc784c09c6946eaf","user":{"login":"zimulala","id":4242506,"node_id":"MDQ6VXNlcjQyNDI1MDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4242506?v=4","gravatar_id":"","url":"https://api.github.com/users/zimulala","html_url":"https://github.com/zimulala","followers_url":"https://api.github.com/users/zimulala/followers","following_url":"https://api.github.com/users/zimulala/following{/other_user}","gists_url":"https://api.github.com/users/zimulala/gists{/gist_id}","starred_url":"https://api.github.com/users/zimulala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimulala/subscriptions","organizations_url":"https://api.github.com/users/zimulala/orgs","repos_url":"https://api.github.com/users/zimulala/repos","events_url":"https://api.github.com/users/zimulala/events{/privacy}","received_events_url":"https://api.github.com/users/zimulala/received_events","type":"User","site_admin":false},"body":"If we only get the partition of type \"PartitionTypeRange\"，why do we check it so many places？","created_at":"2018-07-06T01:49:01Z","updated_at":"2018-07-06T01:49:08Z","html_url":"https://github.com/pingcap/tidb/pull/6912#discussion_r200531750","pull_request_url":"https://api.github.com/repos/pingcap/tidb/pulls/6912","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/comments/200531750"},"html":{"href":"https://github.com/pingcap/tidb/pull/6912#discussion_r200531750"},"pull_request":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6912"}}},"pull_request":{"url":"https://api.github.com/repos/pingcap/tidb/pulls/6912","id":197371623,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3MzcxNjIz","html_url":"https://github.com/pingcap/tidb/pull/6912","diff_url":"https://github.com/pingcap/tidb/pull/6912.diff","patch_url":"https://github.com/pingcap/tidb/pull/6912.patch","issue_url":"https://api.github.com/repos/pingcap/tidb/issues/6912","number":6912,"state":"open","locked":false,"title":"ddl:create table partition value must be strictly increasing","user":{"login":"ciscoxll","id":20379978,"node_id":"MDQ6VXNlcjIwMzc5OTc4","avatar_url":"https://avatars0.githubusercontent.com/u/20379978?v=4","gravatar_id":"","url":"https://api.github.com/users/ciscoxll","html_url":"https://github.com/ciscoxll","followers_url":"https://api.github.com/users/ciscoxll/followers","following_url":"https://api.github.com/users/ciscoxll/following{/other_user}","gists_url":"https://api.github.com/users/ciscoxll/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscoxll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscoxll/subscriptions","organizations_url":"https://api.github.com/users/ciscoxll/orgs","repos_url":"https://api.github.com/users/ciscoxll/repos","events_url":"https://api.github.com/users/ciscoxll/events{/privacy}","received_events_url":"https://api.github.com/users/ciscoxll/received_events","type":"User","site_admin":false},"body":"## What have you changed? (mandatory)\r\nThis pr fixes two problems.\r\n* The check partition name must be unique.\r\n*  Check whether `less than value` is strictly increasing for each partition.\r\n```\r\nErrSameNamePartition\r\nErrRangeNotIncreasing\r\nErrPartitionMaxvalue\r\nErrTooManyValues\r\n```\r\n\r\n\r\n\r\n## What are the type of the changes (mandatory)?\r\n\r\nImprovement\r\n\r\n## How has this PR been tested (mandatory)?\r\n\r\nUnit tests.","created_at":"2018-06-26T10:17:06Z","updated_at":"2018-07-06T01:49:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1e6b39043ec5744eb3b2fe671ecd5d982320bb9","assignee":{"login":"shenli","id":1192573,"node_id":"MDQ6VXNlcjExOTI1NzM=","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},"assignees":[{"login":"shenli","id":1192573,"node_id":"MDQ6VXNlcjExOTI1NzM=","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},{"login":"tiancaiamao","id":1420062,"node_id":"MDQ6VXNlcjE0MjAwNjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1420062?v=4","gravatar_id":"","url":"https://api.github.com/users/tiancaiamao","html_url":"https://github.com/tiancaiamao","followers_url":"https://api.github.com/users/tiancaiamao/followers","following_url":"https://api.github.com/users/tiancaiamao/following{/other_user}","gists_url":"https://api.github.com/users/tiancaiamao/gists{/gist_id}","starred_url":"https://api.github.com/users/tiancaiamao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiancaiamao/subscriptions","organizations_url":"https://api.github.com/users/tiancaiamao/orgs","repos_url":"https://api.github.com/users/tiancaiamao/repos","events_url":"https://api.github.com/users/tiancaiamao/events{/privacy}","received_events_url":"https://api.github.com/users/tiancaiamao/received_events","type":"User","site_admin":false},{"login":"zimulala","id":4242506,"node_id":"MDQ6VXNlcjQyNDI1MDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4242506?v=4","gravatar_id":"","url":"https://api.github.com/users/zimulala","html_url":"https://github.com/zimulala","followers_url":"https://api.github.com/users/zimulala/followers","following_url":"https://api.github.com/users/zimulala/following{/other_user}","gists_url":"https://api.github.com/users/zimulala/gists{/gist_id}","starred_url":"https://api.github.com/users/zimulala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimulala/subscriptions","organizations_url":"https://api.github.com/users/zimulala/orgs","repos_url":"https://api.github.com/users/zimulala/repos","events_url":"https://api.github.com/users/zimulala/events{/privacy}","received_events_url":"https://api.github.com/users/zimulala/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"coocood","id":891222,"node_id":"MDQ6VXNlcjg5MTIyMg==","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},{"login":"winkyao","id":6949944,"node_id":"MDQ6VXNlcjY5NDk5NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6949944?v=4","gravatar_id":"","url":"https://api.github.com/users/winkyao","html_url":"https://github.com/winkyao","followers_url":"https://api.github.com/users/winkyao/followers","following_url":"https://api.github.com/users/winkyao/following{/other_user}","gists_url":"https://api.github.com/users/winkyao/gists{/gist_id}","starred_url":"https://api.github.com/users/winkyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winkyao/subscriptions","organizations_url":"https://api.github.com/users/winkyao/orgs","repos_url":"https://api.github.com/users/winkyao/repos","events_url":"https://api.github.com/users/winkyao/events{/privacy}","received_events_url":"https://api.github.com/users/winkyao/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":745133021,"node_id":"MDU6TGFiZWw3NDUxMzMwMjE=","url":"https://api.github.com/repos/pingcap/tidb/labels/component/DDL-need-LGT3","name":"component/DDL-need-LGT3","color":"00bff4","default":false},{"id":770872605,"node_id":"MDU6TGFiZWw3NzA4NzI2MDU=","url":"https://api.github.com/repos/pingcap/tidb/labels/status/all%20tests%20passed","name":"status/all tests passed","color":"2cbe4e","default":false}],"milestone":{"url":"https://api.github.com/repos/pingcap/tidb/milestones/11","html_url":"https://github.com/pingcap/tidb/milestone/11","labels_url":"https://api.github.com/repos/pingcap/tidb/milestones/11/labels","id":3254588,"node_id":"MDk6TWlsZXN0b25lMzI1NDU4OA==","number":11,"title":"2.1","description":"","creator":{"login":"shenli","id":1192573,"node_id":"MDQ6VXNlcjExOTI1NzM=","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},"open_issues":9,"closed_issues":13,"state":"open","created_at":"2018-04-10T03:42:16Z","updated_at":"2018-07-06T01:09:23Z","due_on":"2018-07-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/pingcap/tidb/pulls/6912/commits","review_comments_url":"https://api.github.com/repos/pingcap/tidb/pulls/6912/comments","review_comment_url":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pingcap/tidb/issues/6912/comments","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/bbf475b33187e373cffe4379dc784c09c6946eaf","head":{"label":"ciscoxll:check-create-partition","ref":"check-create-partition","sha":"bbf475b33187e373cffe4379dc784c09c6946eaf","user":{"login":"ciscoxll","id":20379978,"node_id":"MDQ6VXNlcjIwMzc5OTc4","avatar_url":"https://avatars0.githubusercontent.com/u/20379978?v=4","gravatar_id":"","url":"https://api.github.com/users/ciscoxll","html_url":"https://github.com/ciscoxll","followers_url":"https://api.github.com/users/ciscoxll/followers","following_url":"https://api.github.com/users/ciscoxll/following{/other_user}","gists_url":"https://api.github.com/users/ciscoxll/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscoxll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscoxll/subscriptions","organizations_url":"https://api.github.com/users/ciscoxll/orgs","repos_url":"https://api.github.com/users/ciscoxll/repos","events_url":"https://api.github.com/users/ciscoxll/events{/privacy}","received_events_url":"https://api.github.com/users/ciscoxll/received_events","type":"User","site_admin":false},"repo":{"id":124212622,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQyMTI2MjI=","name":"tidb","full_name":"ciscoxll/tidb","owner":{"login":"ciscoxll","id":20379978,"node_id":"MDQ6VXNlcjIwMzc5OTc4","avatar_url":"https://avatars0.githubusercontent.com/u/20379978?v=4","gravatar_id":"","url":"https://api.github.com/users/ciscoxll","html_url":"https://github.com/ciscoxll","followers_url":"https://api.github.com/users/ciscoxll/followers","following_url":"https://api.github.com/users/ciscoxll/following{/other_user}","gists_url":"https://api.github.com/users/ciscoxll/gists{/gist_id}","starred_url":"https://api.github.com/users/ciscoxll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciscoxll/subscriptions","organizations_url":"https://api.github.com/users/ciscoxll/orgs","repos_url":"https://api.github.com/users/ciscoxll/repos","events_url":"https://api.github.com/users/ciscoxll/events{/privacy}","received_events_url":"https://api.github.com/users/ciscoxll/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ciscoxll/tidb","description":"TiDB is a distributed HTAP database compatible with the MySQL protocol ","fork":true,"url":"https://api.github.com/repos/ciscoxll/tidb","forks_url":"https://api.github.com/repos/ciscoxll/tidb/forks","keys_url":"https://api.github.com/repos/ciscoxll/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ciscoxll/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ciscoxll/tidb/teams","hooks_url":"https://api.github.com/repos/ciscoxll/tidb/hooks","issue_events_url":"https://api.github.com/repos/ciscoxll/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/ciscoxll/tidb/events","assignees_url":"https://api.github.com/repos/ciscoxll/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/ciscoxll/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/ciscoxll/tidb/tags","blobs_url":"https://api.github.com/repos/ciscoxll/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ciscoxll/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ciscoxll/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/ciscoxll/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ciscoxll/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/ciscoxll/tidb/languages","stargazers_url":"https://api.github.com/repos/ciscoxll/tidb/stargazers","contributors_url":"https://api.github.com/repos/ciscoxll/tidb/contributors","subscribers_url":"https://api.github.com/repos/ciscoxll/tidb/subscribers","subscription_url":"https://api.github.com/repos/ciscoxll/tidb/subscription","commits_url":"https://api.github.com/repos/ciscoxll/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/ciscoxll/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/ciscoxll/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/ciscoxll/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/ciscoxll/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/ciscoxll/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ciscoxll/tidb/merges","archive_url":"https://api.github.com/repos/ciscoxll/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ciscoxll/tidb/downloads","issues_url":"https://api.github.com/repos/ciscoxll/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/ciscoxll/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/ciscoxll/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/ciscoxll/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ciscoxll/tidb/labels{/name}","releases_url":"https://api.github.com/repos/ciscoxll/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/ciscoxll/tidb/deployments","created_at":"2018-03-07T09:33:48Z","updated_at":"2018-04-12T04:00:34Z","pushed_at":"2018-07-05T12:37:00Z","git_url":"git://github.com/ciscoxll/tidb.git","ssh_url":"git@github.com:ciscoxll/tidb.git","clone_url":"https://github.com/ciscoxll/tidb.git","svn_url":"https://github.com/ciscoxll/tidb","homepage":"https://pingcap.com","size":51142,"stargazers_count":0,"watchers_count":0,"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,"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":"pingcap:master","ref":"master","sha":"7682a74d15a8d4ecc2c08f4514670a3183ef1102","user":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"repo":{"id":41986369,"node_id":"MDEwOlJlcG9zaXRvcnk0MTk4NjM2OQ==","name":"tidb","full_name":"pingcap/tidb","owner":{"login":"pingcap","id":11855343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExODU1MzQz","avatar_url":"https://avatars3.githubusercontent.com/u/11855343?v=4","gravatar_id":"","url":"https://api.github.com/users/pingcap","html_url":"https://github.com/pingcap","followers_url":"https://api.github.com/users/pingcap/followers","following_url":"https://api.github.com/users/pingcap/following{/other_user}","gists_url":"https://api.github.com/users/pingcap/gists{/gist_id}","starred_url":"https://api.github.com/users/pingcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingcap/subscriptions","organizations_url":"https://api.github.com/users/pingcap/orgs","repos_url":"https://api.github.com/users/pingcap/repos","events_url":"https://api.github.com/users/pingcap/events{/privacy}","received_events_url":"https://api.github.com/users/pingcap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pingcap/tidb","description":"TiDB is a distributed HTAP database compatible with the MySQL protocol ","fork":false,"url":"https://api.github.com/repos/pingcap/tidb","forks_url":"https://api.github.com/repos/pingcap/tidb/forks","keys_url":"https://api.github.com/repos/pingcap/tidb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pingcap/tidb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pingcap/tidb/teams","hooks_url":"https://api.github.com/repos/pingcap/tidb/hooks","issue_events_url":"https://api.github.com/repos/pingcap/tidb/issues/events{/number}","events_url":"https://api.github.com/repos/pingcap/tidb/events","assignees_url":"https://api.github.com/repos/pingcap/tidb/assignees{/user}","branches_url":"https://api.github.com/repos/pingcap/tidb/branches{/branch}","tags_url":"https://api.github.com/repos/pingcap/tidb/tags","blobs_url":"https://api.github.com/repos/pingcap/tidb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pingcap/tidb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pingcap/tidb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pingcap/tidb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pingcap/tidb/statuses/{sha}","languages_url":"https://api.github.com/repos/pingcap/tidb/languages","stargazers_url":"https://api.github.com/repos/pingcap/tidb/stargazers","contributors_url":"https://api.github.com/repos/pingcap/tidb/contributors","subscribers_url":"https://api.github.com/repos/pingcap/tidb/subscribers","subscription_url":"https://api.github.com/repos/pingcap/tidb/subscription","commits_url":"https://api.github.com/repos/pingcap/tidb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pingcap/tidb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pingcap/tidb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pingcap/tidb/issues/comments{/number}","contents_url":"https://api.github.com/repos/pingcap/tidb/contents/{+path}","compare_url":"https://api.github.com/repos/pingcap/tidb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pingcap/tidb/merges","archive_url":"https://api.github.com/repos/pingcap/tidb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pingcap/tidb/downloads","issues_url":"https://api.github.com/repos/pingcap/tidb/issues{/number}","pulls_url":"https://api.github.com/repos/pingcap/tidb/pulls{/number}","milestones_url":"https://api.github.com/repos/pingcap/tidb/milestones{/number}","notifications_url":"https://api.github.com/repos/pingcap/tidb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pingcap/tidb/labels{/name}","releases_url":"https://api.github.com/repos/pingcap/tidb/releases{/id}","deployments_url":"https://api.github.com/repos/pingcap/tidb/deployments","created_at":"2015-09-06T04:01:52Z","updated_at":"2018-07-06T01:04:52Z","pushed_at":"2018-07-06T01:04:41Z","git_url":"git://github.com/pingcap/tidb.git","ssh_url":"git@github.com:pingcap/tidb.git","clone_url":"https://github.com/pingcap/tidb.git","svn_url":"https://github.com/pingcap/tidb","homepage":"https://pingcap.com","size":76346,"stargazers_count":13929,"watchers_count":13929,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1899,"mirror_url":null,"archived":false,"open_issues_count":451,"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":1899,"open_issues":451,"watchers":13929,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6912"},"html":{"href":"https://github.com/pingcap/tidb/pull/6912"},"issue":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6912"},"comments":{"href":"https://api.github.com/repos/pingcap/tidb/issues/6912/comments"},"review_comments":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6912/comments"},"review_comment":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pingcap/tidb/pulls/6912/commits"},"statuses":{"href":"https://api.github.com/repos/pingcap/tidb/statuses/bbf475b33187e373cffe4379dc784c09c6946eaf"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"zimulala"}}