{"action":"created","comment":{"url":"https://api.github.com/repos/citusdata/citus/pulls/comments/324176034","pull_request_review_id":287993574,"id":324176034,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMyNDE3NjAzNA==","diff_hunk":"@@ -47,6 +47,12 @@ CREATE OR REPLACE FUNCTION worker_create_or_replace_object(statement text)\n   LANGUAGE C STRICT\n   AS 'MODULE_PATHNAME', $$worker_create_or_replace_object$$;\n \n+\n+CREATE OR REPLACE FUNCTION create_distributed_function(function_name regprocedure)\n+  RETURNS void\n+  LANGUAGE C STRICT","path":"src/backend/distributed/citus--8.3-1--8.4-1.sql","position":null,"original_position":7,"commit_id":"d9dcf678e33e4951f6aeb2ece2afccf3908428fd","original_commit_id":"bf554a8463123cc3629ee7ed18b4232e645d246e","user":{"login":"hanefi","id":6772247,"node_id":"MDQ6VXNlcjY3NzIyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/6772247?v=4","gravatar_id":"","url":"https://api.github.com/users/hanefi","html_url":"https://github.com/hanefi","followers_url":"https://api.github.com/users/hanefi/followers","following_url":"https://api.github.com/users/hanefi/following{/other_user}","gists_url":"https://api.github.com/users/hanefi/gists{/gist_id}","starred_url":"https://api.github.com/users/hanefi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanefi/subscriptions","organizations_url":"https://api.github.com/users/hanefi/orgs","repos_url":"https://api.github.com/users/hanefi/repos","events_url":"https://api.github.com/users/hanefi/events{/privacy}","received_events_url":"https://api.github.com/users/hanefi/received_events","type":"User","site_admin":false},"body":"I added a seperate commit that will log an `ERROR` and abort the udf call. Does d9dcf67 look good?","created_at":"2019-09-13T12:47:59Z","updated_at":"2019-09-13T12:47:59Z","html_url":"https://github.com/citusdata/citus/pull/2961#discussion_r324176034","pull_request_url":"https://api.github.com/repos/citusdata/citus/pulls/2961","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/citusdata/citus/pulls/comments/324176034"},"html":{"href":"https://github.com/citusdata/citus/pull/2961#discussion_r324176034"},"pull_request":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2961"}},"in_reply_to_id":323788159},"pull_request":{"url":"https://api.github.com/repos/citusdata/citus/pulls/2961","id":316893252,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE2ODkzMjUy","html_url":"https://github.com/citusdata/citus/pull/2961","diff_url":"https://github.com/citusdata/citus/pull/2961.diff","patch_url":"https://github.com/citusdata/citus/pull/2961.patch","issue_url":"https://api.github.com/repos/citusdata/citus/issues/2961","number":2961,"state":"open","locked":false,"title":"Feature/distribute functions","user":{"login":"hanefi","id":6772247,"node_id":"MDQ6VXNlcjY3NzIyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/6772247?v=4","gravatar_id":"","url":"https://api.github.com/users/hanefi","html_url":"https://github.com/hanefi","followers_url":"https://api.github.com/users/hanefi/followers","following_url":"https://api.github.com/users/hanefi/following{/other_user}","gists_url":"https://api.github.com/users/hanefi/gists{/gist_id}","starred_url":"https://api.github.com/users/hanefi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanefi/subscriptions","organizations_url":"https://api.github.com/users/hanefi/orgs","repos_url":"https://api.github.com/users/hanefi/repos","events_url":"https://api.github.com/users/hanefi/events{/privacy}","received_events_url":"https://api.github.com/users/hanefi/received_events","type":"User","site_admin":false},"body":"DESCRIPTION: Introduces create_distributed_function UDF\r\n\r\nThis PR aims to make the minimal changes required to introduce a new UDF that will use an existing function in the coordinator to create it in all the active worker nodes.\r\n\r\nFixes #2948 ","created_at":"2019-09-12T12:57:22Z","updated_at":"2019-09-13T12:47:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"622c44cdf6707ea6a748b8e824cc6e0740d5b909","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/citusdata/citus/pulls/2961/commits","review_comments_url":"https://api.github.com/repos/citusdata/citus/pulls/2961/comments","review_comment_url":"https://api.github.com/repos/citusdata/citus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/citusdata/citus/issues/2961/comments","statuses_url":"https://api.github.com/repos/citusdata/citus/statuses/d9dcf678e33e4951f6aeb2ece2afccf3908428fd","head":{"label":"citusdata:feature/distribute-functions","ref":"feature/distribute-functions","sha":"d9dcf678e33e4951f6aeb2ece2afccf3908428fd","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","private":false,"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},"html_url":"https://github.com/citusdata/citus","description":"Scalable PostgreSQL for multi-tenant and real-time analytics 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":"2019-09-13T12:04:26Z","pushed_at":"2019-09-13T12:40:53Z","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":17015,"stargazers_count":3750,"watchers_count":3750,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":286,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":619,"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":286,"open_issues":619,"watchers":3750,"default_branch":"master"}},"base":{"label":"citusdata:feature/distribute-types","ref":"feature/distribute-types","sha":"5640951bfc94f98c40f821daf82f73d11b5c0ca1","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","private":false,"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},"html_url":"https://github.com/citusdata/citus","description":"Scalable PostgreSQL for multi-tenant and real-time analytics 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":"2019-09-13T12:04:26Z","pushed_at":"2019-09-13T12:40:53Z","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":17015,"stargazers_count":3750,"watchers_count":3750,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":286,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":619,"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":286,"open_issues":619,"watchers":3750,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2961"},"html":{"href":"https://github.com/citusdata/citus/pull/2961"},"issue":{"href":"https://api.github.com/repos/citusdata/citus/issues/2961"},"comments":{"href":"https://api.github.com/repos/citusdata/citus/issues/2961/comments"},"review_comments":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2961/comments"},"review_comment":{"href":"https://api.github.com/repos/citusdata/citus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/citusdata/citus/pulls/2961/commits"},"statuses":{"href":"https://api.github.com/repos/citusdata/citus/statuses/d9dcf678e33e4951f6aeb2ece2afccf3908428fd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hanefi"}}