{"action":"closed","number":111,"pull_request":{"url":"https://api.github.com/repos/hailocab/gocassa/pulls/111","id":44652991,"html_url":"https://github.com/hailocab/gocassa/pull/111","diff_url":"https://github.com/hailocab/gocassa/pull/111.diff","patch_url":"https://github.com/hailocab/gocassa/pull/111.patch","issue_url":"https://api.github.com/repos/hailocab/gocassa/issues/111","number":111,"state":"closed","locked":false,"title":"Allow creating tables with compound keys","user":{"login":"capitancambio","id":1718009,"avatar_url":"https://avatars.githubusercontent.com/u/1718009?v=3","gravatar_id":"","url":"https://api.github.com/users/capitancambio","html_url":"https://github.com/capitancambio","followers_url":"https://api.github.com/users/capitancambio/followers","following_url":"https://api.github.com/users/capitancambio/following{/other_user}","gists_url":"https://api.github.com/users/capitancambio/gists{/gist_id}","starred_url":"https://api.github.com/users/capitancambio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capitancambio/subscriptions","organizations_url":"https://api.github.com/users/capitancambio/orgs","repos_url":"https://api.github.com/users/capitancambio/repos","events_url":"https://api.github.com/users/capitancambio/events{/privacy}","received_events_url":"https://api.github.com/users/capitancambio/received_events","type":"User","site_admin":false},"body":"I'm quite new to cassandra so I don't know if I grasp all the details in this issue. I needed to create a certain schema in order to get the best performance when querying against it.  In order to achieve that I needed to create a compound primary key (instead of a composite one), so I've modified a bit the table creation logic and the Keys structure. \r\n\r\ncheers","created_at":"2015-09-10T10:50:15Z","updated_at":"2015-11-05T14:04:25Z","closed_at":"2015-11-05T14:04:25Z","merged_at":null,"merge_commit_sha":"8fe05ba0cad32867baeda0b71b85e913d8e562d4","assignee":null,"milestone":{"url":"https://api.github.com/repos/hailocab/gocassa/milestones/1","html_url":"https://github.com/hailocab/gocassa/milestones/v1.0.0","labels_url":"https://api.github.com/repos/hailocab/gocassa/milestones/1/labels","id":1395584,"number":1,"title":"v1.0.0","description":"","creator":{"login":"dancannon","id":414768,"avatar_url":"https://avatars.githubusercontent.com/u/414768?v=3","gravatar_id":"","url":"https://api.github.com/users/dancannon","html_url":"https://github.com/dancannon","followers_url":"https://api.github.com/users/dancannon/followers","following_url":"https://api.github.com/users/dancannon/following{/other_user}","gists_url":"https://api.github.com/users/dancannon/gists{/gist_id}","starred_url":"https://api.github.com/users/dancannon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancannon/subscriptions","organizations_url":"https://api.github.com/users/dancannon/orgs","repos_url":"https://api.github.com/users/dancannon/repos","events_url":"https://api.github.com/users/dancannon/events{/privacy}","received_events_url":"https://api.github.com/users/dancannon/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2015-11-05T13:28:25Z","updated_at":"2015-11-05T14:04:25Z","due_on":"2015-11-13T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/hailocab/gocassa/pulls/111/commits","review_comments_url":"https://api.github.com/repos/hailocab/gocassa/pulls/111/comments","review_comment_url":"https://api.github.com/repos/hailocab/gocassa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hailocab/gocassa/issues/111/comments","statuses_url":"https://api.github.com/repos/hailocab/gocassa/statuses/52a52b4266732e754025d16562eda2b4818b4977","head":{"label":"capitancambio:compound","ref":"compound","sha":"52a52b4266732e754025d16562eda2b4818b4977","user":{"login":"capitancambio","id":1718009,"avatar_url":"https://avatars.githubusercontent.com/u/1718009?v=3","gravatar_id":"","url":"https://api.github.com/users/capitancambio","html_url":"https://github.com/capitancambio","followers_url":"https://api.github.com/users/capitancambio/followers","following_url":"https://api.github.com/users/capitancambio/following{/other_user}","gists_url":"https://api.github.com/users/capitancambio/gists{/gist_id}","starred_url":"https://api.github.com/users/capitancambio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capitancambio/subscriptions","organizations_url":"https://api.github.com/users/capitancambio/orgs","repos_url":"https://api.github.com/users/capitancambio/repos","events_url":"https://api.github.com/users/capitancambio/events{/privacy}","received_events_url":"https://api.github.com/users/capitancambio/received_events","type":"User","site_admin":false},"repo":{"id":41421417,"name":"gocassa","full_name":"capitancambio/gocassa","owner":{"login":"capitancambio","id":1718009,"avatar_url":"https://avatars.githubusercontent.com/u/1718009?v=3","gravatar_id":"","url":"https://api.github.com/users/capitancambio","html_url":"https://github.com/capitancambio","followers_url":"https://api.github.com/users/capitancambio/followers","following_url":"https://api.github.com/users/capitancambio/following{/other_user}","gists_url":"https://api.github.com/users/capitancambio/gists{/gist_id}","starred_url":"https://api.github.com/users/capitancambio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capitancambio/subscriptions","organizations_url":"https://api.github.com/users/capitancambio/orgs","repos_url":"https://api.github.com/users/capitancambio/repos","events_url":"https://api.github.com/users/capitancambio/events{/privacy}","received_events_url":"https://api.github.com/users/capitancambio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/capitancambio/gocassa","description":"A high level Cassandra library in Go, on top of gocql","fork":true,"url":"https://api.github.com/repos/capitancambio/gocassa","forks_url":"https://api.github.com/repos/capitancambio/gocassa/forks","keys_url":"https://api.github.com/repos/capitancambio/gocassa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/capitancambio/gocassa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/capitancambio/gocassa/teams","hooks_url":"https://api.github.com/repos/capitancambio/gocassa/hooks","issue_events_url":"https://api.github.com/repos/capitancambio/gocassa/issues/events{/number}","events_url":"https://api.github.com/repos/capitancambio/gocassa/events","assignees_url":"https://api.github.com/repos/capitancambio/gocassa/assignees{/user}","branches_url":"https://api.github.com/repos/capitancambio/gocassa/branches{/branch}","tags_url":"https://api.github.com/repos/capitancambio/gocassa/tags","blobs_url":"https://api.github.com/repos/capitancambio/gocassa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/capitancambio/gocassa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/capitancambio/gocassa/git/refs{/sha}","trees_url":"https://api.github.com/repos/capitancambio/gocassa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/capitancambio/gocassa/statuses/{sha}","languages_url":"https://api.github.com/repos/capitancambio/gocassa/languages","stargazers_url":"https://api.github.com/repos/capitancambio/gocassa/stargazers","contributors_url":"https://api.github.com/repos/capitancambio/gocassa/contributors","subscribers_url":"https://api.github.com/repos/capitancambio/gocassa/subscribers","subscription_url":"https://api.github.com/repos/capitancambio/gocassa/subscription","commits_url":"https://api.github.com/repos/capitancambio/gocassa/commits{/sha}","git_commits_url":"https://api.github.com/repos/capitancambio/gocassa/git/commits{/sha}","comments_url":"https://api.github.com/repos/capitancambio/gocassa/comments{/number}","issue_comment_url":"https://api.github.com/repos/capitancambio/gocassa/issues/comments{/number}","contents_url":"https://api.github.com/repos/capitancambio/gocassa/contents/{+path}","compare_url":"https://api.github.com/repos/capitancambio/gocassa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/capitancambio/gocassa/merges","archive_url":"https://api.github.com/repos/capitancambio/gocassa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/capitancambio/gocassa/downloads","issues_url":"https://api.github.com/repos/capitancambio/gocassa/issues{/number}","pulls_url":"https://api.github.com/repos/capitancambio/gocassa/pulls{/number}","milestones_url":"https://api.github.com/repos/capitancambio/gocassa/milestones{/number}","notifications_url":"https://api.github.com/repos/capitancambio/gocassa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/capitancambio/gocassa/labels{/name}","releases_url":"https://api.github.com/repos/capitancambio/gocassa/releases{/id}","created_at":"2015-08-26T11:13:54Z","updated_at":"2015-08-26T11:13:54Z","pushed_at":"2015-09-10T10:32:36Z","git_url":"git://github.com/capitancambio/gocassa.git","ssh_url":"git@github.com:capitancambio/gocassa.git","clone_url":"https://github.com/capitancambio/gocassa.git","svn_url":"https://github.com/capitancambio/gocassa","homepage":"","size":382,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hailocab:master","ref":"master","sha":"48cdcb5a9a59c0620cc18be22ef92699ae76f51f","user":{"login":"hailocab","id":560650,"avatar_url":"https://avatars.githubusercontent.com/u/560650?v=3","gravatar_id":"","url":"https://api.github.com/users/hailocab","html_url":"https://github.com/hailocab","followers_url":"https://api.github.com/users/hailocab/followers","following_url":"https://api.github.com/users/hailocab/following{/other_user}","gists_url":"https://api.github.com/users/hailocab/gists{/gist_id}","starred_url":"https://api.github.com/users/hailocab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailocab/subscriptions","organizations_url":"https://api.github.com/users/hailocab/orgs","repos_url":"https://api.github.com/users/hailocab/repos","events_url":"https://api.github.com/users/hailocab/events{/privacy}","received_events_url":"https://api.github.com/users/hailocab/received_events","type":"Organization","site_admin":false},"repo":{"id":27129616,"name":"gocassa","full_name":"hailocab/gocassa","owner":{"login":"hailocab","id":560650,"avatar_url":"https://avatars.githubusercontent.com/u/560650?v=3","gravatar_id":"","url":"https://api.github.com/users/hailocab","html_url":"https://github.com/hailocab","followers_url":"https://api.github.com/users/hailocab/followers","following_url":"https://api.github.com/users/hailocab/following{/other_user}","gists_url":"https://api.github.com/users/hailocab/gists{/gist_id}","starred_url":"https://api.github.com/users/hailocab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hailocab/subscriptions","organizations_url":"https://api.github.com/users/hailocab/orgs","repos_url":"https://api.github.com/users/hailocab/repos","events_url":"https://api.github.com/users/hailocab/events{/privacy}","received_events_url":"https://api.github.com/users/hailocab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hailocab/gocassa","description":"A high level Cassandra library in Go, on top of gocql","fork":false,"url":"https://api.github.com/repos/hailocab/gocassa","forks_url":"https://api.github.com/repos/hailocab/gocassa/forks","keys_url":"https://api.github.com/repos/hailocab/gocassa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hailocab/gocassa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hailocab/gocassa/teams","hooks_url":"https://api.github.com/repos/hailocab/gocassa/hooks","issue_events_url":"https://api.github.com/repos/hailocab/gocassa/issues/events{/number}","events_url":"https://api.github.com/repos/hailocab/gocassa/events","assignees_url":"https://api.github.com/repos/hailocab/gocassa/assignees{/user}","branches_url":"https://api.github.com/repos/hailocab/gocassa/branches{/branch}","tags_url":"https://api.github.com/repos/hailocab/gocassa/tags","blobs_url":"https://api.github.com/repos/hailocab/gocassa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hailocab/gocassa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hailocab/gocassa/git/refs{/sha}","trees_url":"https://api.github.com/repos/hailocab/gocassa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hailocab/gocassa/statuses/{sha}","languages_url":"https://api.github.com/repos/hailocab/gocassa/languages","stargazers_url":"https://api.github.com/repos/hailocab/gocassa/stargazers","contributors_url":"https://api.github.com/repos/hailocab/gocassa/contributors","subscribers_url":"https://api.github.com/repos/hailocab/gocassa/subscribers","subscription_url":"https://api.github.com/repos/hailocab/gocassa/subscription","commits_url":"https://api.github.com/repos/hailocab/gocassa/commits{/sha}","git_commits_url":"https://api.github.com/repos/hailocab/gocassa/git/commits{/sha}","comments_url":"https://api.github.com/repos/hailocab/gocassa/comments{/number}","issue_comment_url":"https://api.github.com/repos/hailocab/gocassa/issues/comments{/number}","contents_url":"https://api.github.com/repos/hailocab/gocassa/contents/{+path}","compare_url":"https://api.github.com/repos/hailocab/gocassa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hailocab/gocassa/merges","archive_url":"https://api.github.com/repos/hailocab/gocassa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hailocab/gocassa/downloads","issues_url":"https://api.github.com/repos/hailocab/gocassa/issues{/number}","pulls_url":"https://api.github.com/repos/hailocab/gocassa/pulls{/number}","milestones_url":"https://api.github.com/repos/hailocab/gocassa/milestones{/number}","notifications_url":"https://api.github.com/repos/hailocab/gocassa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hailocab/gocassa/labels{/name}","releases_url":"https://api.github.com/repos/hailocab/gocassa/releases{/id}","created_at":"2014-11-25T14:32:04Z","updated_at":"2015-10-28T18:35:49Z","pushed_at":"2015-11-05T13:59:29Z","git_url":"git://github.com/hailocab/gocassa.git","ssh_url":"git@github.com:hailocab/gocassa.git","clone_url":"https://github.com/hailocab/gocassa.git","svn_url":"https://github.com/hailocab/gocassa","homepage":"","size":1891,"stargazers_count":170,"watchers_count":170,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":7,"forks":19,"open_issues":7,"watchers":170,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hailocab/gocassa/pulls/111"},"html":{"href":"https://github.com/hailocab/gocassa/pull/111"},"issue":{"href":"https://api.github.com/repos/hailocab/gocassa/issues/111"},"comments":{"href":"https://api.github.com/repos/hailocab/gocassa/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/hailocab/gocassa/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/hailocab/gocassa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hailocab/gocassa/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/hailocab/gocassa/statuses/52a52b4266732e754025d16562eda2b4818b4977"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":4,"commits":1,"additions":65,"deletions":4,"changed_files":4}}