{"action":"created","comment":{"url":"https://api.github.com/repos/citusdata/citus/pulls/comments/194038637","pull_request_review_id":127068745,"id":194038637,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDAzODYzNw==","diff_hunk":"@@ -0,0 +1,785 @@\n+SET citus.shard_replication_factor TO 1;\n+SET citus.shard_count TO 8;\n+CREATE SCHEMA fkey_reference_table;","path":"src/test/regress/expected/foreign_key_to_reference_table.out","position":3,"original_position":3,"commit_id":"942f6177182fb07a99db3a8ddf1c4e92b148732a","original_commit_id":"942f6177182fb07a99db3a8ddf1c4e92b148732a","user":{"login":"onderkalaci","id":7829470,"node_id":"MDQ6VXNlcjc4Mjk0NzA=","avatar_url":"https://avatars2.githubusercontent.com/u/7829470?v=4","gravatar_id":"","url":"https://api.github.com/users/onderkalaci","html_url":"https://github.com/onderkalaci","followers_url":"https://api.github.com/users/onderkalaci/followers","following_url":"https://api.github.com/users/onderkalaci/following{/other_user}","gists_url":"https://api.github.com/users/onderkalaci/gists{/gist_id}","starred_url":"https://api.github.com/users/onderkalaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onderkalaci/subscriptions","organizations_url":"https://api.github.com/users/onderkalaci/orgs","repos_url":"https://api.github.com/users/onderkalaci/repos","events_url":"https://api.github.com/users/onderkalaci/events{/privacy}","received_events_url":"https://api.github.com/users/onderkalaci/received_events","type":"User","site_admin":false},"body":"Can you move create schema & set search path to the first line? (that's probably more readable)\r\n\r\nAlso, in general, we start with a file comment in the regression test as well.","created_at":"2018-06-08T12:16:45Z","updated_at":"2018-06-08T12:17:16Z","html_url":"https://github.com/citusdata/citus/pull/2206#discussion_r194038637","pull_request_url":"https://api.github.com/repos/citusdata/citus/pulls/2206","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/citusdata/citus/pulls/comments/194038637"},"html":{"href":"https://github.com/citusdata/citus/pull/2206#discussion_r194038637"},"pull_request":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2206"}}},"pull_request":{"url":"https://api.github.com/repos/citusdata/citus/pulls/2206","id":193533902,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNTMzOTAy","html_url":"https://github.com/citusdata/citus/pull/2206","diff_url":"https://github.com/citusdata/citus/pull/2206.diff","patch_url":"https://github.com/citusdata/citus/pull/2206.patch","issue_url":"https://api.github.com/repos/citusdata/citus/issues/2206","number":2206,"state":"open","locked":false,"title":"Add constraint ... foreign key from hash distributed to reference tables","user":{"login":"furkansahin","id":6233557,"node_id":"MDQ6VXNlcjYyMzM1NTc=","avatar_url":"https://avatars3.githubusercontent.com/u/6233557?v=4","gravatar_id":"","url":"https://api.github.com/users/furkansahin","html_url":"https://github.com/furkansahin","followers_url":"https://api.github.com/users/furkansahin/followers","following_url":"https://api.github.com/users/furkansahin/following{/other_user}","gists_url":"https://api.github.com/users/furkansahin/gists{/gist_id}","starred_url":"https://api.github.com/users/furkansahin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/furkansahin/subscriptions","organizations_url":"https://api.github.com/users/furkansahin/orgs","repos_url":"https://api.github.com/users/furkansahin/repos","events_url":"https://api.github.com/users/furkansahin/events{/privacy}","received_events_url":"https://api.github.com/users/furkansahin/received_events","type":"User","site_admin":false},"body":"This PR adds \r\n\r\n`ALTER TABLE ... ADD CONSTRAINT ... FOREIGN KEY` \r\n\r\nsupport from hash distributed tables to reference tables.","created_at":"2018-06-08T07:47:12Z","updated_at":"2018-06-08T12:17:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a12dba8297a5eefe80567ba82f1bd37bcae1bd75","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/citusdata/citus/pulls/2206/commits","review_comments_url":"https://api.github.com/repos/citusdata/citus/pulls/2206/comments","review_comment_url":"https://api.github.com/repos/citusdata/citus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citusdata/citus/issues/2206/comments","statuses_url":"https://api.github.com/repos/citusdata/citus/statuses/942f6177182fb07a99db3a8ddf1c4e92b148732a","head":{"label":"citusdata:foreign_add_constraint","ref":"foreign_add_constraint","sha":"942f6177182fb07a99db3a8ddf1c4e92b148732a","user":{"login":"citusdata","id":2545424,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NDU0MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2545424?v=4","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"repo":{"id":50874442,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg3NDQ0Mg==","name":"citus","full_name":"citusdata/citus","owner":{"login":"citusdata","id":2545424,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NDU0MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2545424?v=4","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citusdata/citus","description":"Scalable PostgreSQL for multi-tenant and real-time workloads","fork":false,"url":"https://api.github.com/repos/citusdata/citus","forks_url":"https://api.github.com/repos/citusdata/citus/forks","keys_url":"https://api.github.com/repos/citusdata/citus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citusdata/citus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citusdata/citus/teams","hooks_url":"https://api.github.com/repos/citusdata/citus/hooks","issue_events_url":"https://api.github.com/repos/citusdata/citus/issues/events{/number}","events_url":"https://api.github.com/repos/citusdata/citus/events","assignees_url":"https://api.github.com/repos/citusdata/citus/assignees{/user}","branches_url":"https://api.github.com/repos/citusdata/citus/branches{/branch}","tags_url":"https://api.github.com/repos/citusdata/citus/tags","blobs_url":"https://api.github.com/repos/citusdata/citus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citusdata/citus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citusdata/citus/git/refs{/sha}","trees_url":"https://api.github.com/repos/citusdata/citus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citusdata/citus/statuses/{sha}","languages_url":"https://api.github.com/repos/citusdata/citus/languages","stargazers_url":"https://api.github.com/repos/citusdata/citus/stargazers","contributors_url":"https://api.github.com/repos/citusdata/citus/contributors","subscribers_url":"https://api.github.com/repos/citusdata/citus/subscribers","subscription_url":"https://api.github.com/repos/citusdata/citus/subscription","commits_url":"https://api.github.com/repos/citusdata/citus/commits{/sha}","git_commits_url":"https://api.github.com/repos/citusdata/citus/git/commits{/sha}","comments_url":"https://api.github.com/repos/citusdata/citus/comments{/number}","issue_comment_url":"https://api.github.com/repos/citusdata/citus/issues/comments{/number}","contents_url":"https://api.github.com/repos/citusdata/citus/contents/{+path}","compare_url":"https://api.github.com/repos/citusdata/citus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citusdata/citus/merges","archive_url":"https://api.github.com/repos/citusdata/citus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citusdata/citus/downloads","issues_url":"https://api.github.com/repos/citusdata/citus/issues{/number}","pulls_url":"https://api.github.com/repos/citusdata/citus/pulls{/number}","milestones_url":"https://api.github.com/repos/citusdata/citus/milestones{/number}","notifications_url":"https://api.github.com/repos/citusdata/citus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citusdata/citus/labels{/name}","releases_url":"https://api.github.com/repos/citusdata/citus/releases{/id}","deployments_url":"https://api.github.com/repos/citusdata/citus/deployments","created_at":"2016-02-01T21:58:39Z","updated_at":"2018-06-07T17:10:16Z","pushed_at":"2018-06-08T08:45:46Z","git_url":"git://github.com/citusdata/citus.git","ssh_url":"git@github.com:citusdata/citus.git","clone_url":"https://github.com/citusdata/citus.git","svn_url":"https://github.com/citusdata/citus","homepage":"https://www.citusdata.com","size":10591,"stargazers_count":2736,"watchers_count":2736,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":196,"mirror_url":null,"archived":false,"open_issues_count":527,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":196,"open_issues":527,"watchers":2736,"default_branch":"master"}},"base":{"label":"citusdata:foreign_master","ref":"foreign_master","sha":"a0651df57472ae598eddfabce99994698e57f59e","user":{"login":"citusdata","id":2545424,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NDU0MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2545424?v=4","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"repo":{"id":50874442,"node_id":"MDEwOlJlcG9zaXRvcnk1MDg3NDQ0Mg==","name":"citus","full_name":"citusdata/citus","owner":{"login":"citusdata","id":2545424,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NDU0MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2545424?v=4","gravatar_id":"","url":"https://api.github.com/users/citusdata","html_url":"https://github.com/citusdata","followers_url":"https://api.github.com/users/citusdata/followers","following_url":"https://api.github.com/users/citusdata/following{/other_user}","gists_url":"https://api.github.com/users/citusdata/gists{/gist_id}","starred_url":"https://api.github.com/users/citusdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citusdata/subscriptions","organizations_url":"https://api.github.com/users/citusdata/orgs","repos_url":"https://api.github.com/users/citusdata/repos","events_url":"https://api.github.com/users/citusdata/events{/privacy}","received_events_url":"https://api.github.com/users/citusdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/citusdata/citus","description":"Scalable PostgreSQL for multi-tenant and real-time workloads","fork":false,"url":"https://api.github.com/repos/citusdata/citus","forks_url":"https://api.github.com/repos/citusdata/citus/forks","keys_url":"https://api.github.com/repos/citusdata/citus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/citusdata/citus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/citusdata/citus/teams","hooks_url":"https://api.github.com/repos/citusdata/citus/hooks","issue_events_url":"https://api.github.com/repos/citusdata/citus/issues/events{/number}","events_url":"https://api.github.com/repos/citusdata/citus/events","assignees_url":"https://api.github.com/repos/citusdata/citus/assignees{/user}","branches_url":"https://api.github.com/repos/citusdata/citus/branches{/branch}","tags_url":"https://api.github.com/repos/citusdata/citus/tags","blobs_url":"https://api.github.com/repos/citusdata/citus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/citusdata/citus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/citusdata/citus/git/refs{/sha}","trees_url":"https://api.github.com/repos/citusdata/citus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/citusdata/citus/statuses/{sha}","languages_url":"https://api.github.com/repos/citusdata/citus/languages","stargazers_url":"https://api.github.com/repos/citusdata/citus/stargazers","contributors_url":"https://api.github.com/repos/citusdata/citus/contributors","subscribers_url":"https://api.github.com/repos/citusdata/citus/subscribers","subscription_url":"https://api.github.com/repos/citusdata/citus/subscription","commits_url":"https://api.github.com/repos/citusdata/citus/commits{/sha}","git_commits_url":"https://api.github.com/repos/citusdata/citus/git/commits{/sha}","comments_url":"https://api.github.com/repos/citusdata/citus/comments{/number}","issue_comment_url":"https://api.github.com/repos/citusdata/citus/issues/comments{/number}","contents_url":"https://api.github.com/repos/citusdata/citus/contents/{+path}","compare_url":"https://api.github.com/repos/citusdata/citus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/citusdata/citus/merges","archive_url":"https://api.github.com/repos/citusdata/citus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/citusdata/citus/downloads","issues_url":"https://api.github.com/repos/citusdata/citus/issues{/number}","pulls_url":"https://api.github.com/repos/citusdata/citus/pulls{/number}","milestones_url":"https://api.github.com/repos/citusdata/citus/milestones{/number}","notifications_url":"https://api.github.com/repos/citusdata/citus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/citusdata/citus/labels{/name}","releases_url":"https://api.github.com/repos/citusdata/citus/releases{/id}","deployments_url":"https://api.github.com/repos/citusdata/citus/deployments","created_at":"2016-02-01T21:58:39Z","updated_at":"2018-06-07T17:10:16Z","pushed_at":"2018-06-08T08:45:46Z","git_url":"git://github.com/citusdata/citus.git","ssh_url":"git@github.com:citusdata/citus.git","clone_url":"https://github.com/citusdata/citus.git","svn_url":"https://github.com/citusdata/citus","homepage":"https://www.citusdata.com","size":10591,"stargazers_count":2736,"watchers_count":2736,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":196,"mirror_url":null,"archived":false,"open_issues_count":527,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":196,"open_issues":527,"watchers":2736,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2206"},"html":{"href":"https://github.com/citusdata/citus/pull/2206"},"issue":{"href":"https://api.github.com/repos/citusdata/citus/issues/2206"},"comments":{"href":"https://api.github.com/repos/citusdata/citus/issues/2206/comments"},"review_comments":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2206/comments"},"review_comment":{"href":"https://api.github.com/repos/citusdata/citus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2206/commits"},"statuses":{"href":"https://api.github.com/repos/citusdata/citus/statuses/942f6177182fb07a99db3a8ddf1c4e92b148732a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"onderkalaci"}}