{"action":"opened","number":252,"pull_request":{"url":"https://api.github.com/repos/nlextract/NLExtract/pulls/252","id":186906917,"html_url":"https://github.com/nlextract/NLExtract/pull/252","diff_url":"https://github.com/nlextract/NLExtract/pull/252.diff","patch_url":"https://github.com/nlextract/NLExtract/pull/252.patch","issue_url":"https://api.github.com/repos/nlextract/NLExtract/issues/252","number":252,"state":"open","locked":false,"title":"When INSERTing, use NULL when parent doesn't have specified field","user":{"login":"MartijnVdS","id":5500947,"avatar_url":"https://avatars0.githubusercontent.com/u/5500947?v=4","gravatar_id":"","url":"https://api.github.com/users/MartijnVdS","html_url":"https://github.com/MartijnVdS","followers_url":"https://api.github.com/users/MartijnVdS/followers","following_url":"https://api.github.com/users/MartijnVdS/following{/other_user}","gists_url":"https://api.github.com/users/MartijnVdS/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnVdS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnVdS/subscriptions","organizations_url":"https://api.github.com/users/MartijnVdS/orgs","repos_url":"https://api.github.com/users/MartijnVdS/repos","events_url":"https://api.github.com/users/MartijnVdS/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnVdS/received_events","type":"User","site_admin":false},"body":"This is \"adresseerbaarobjectnevenadres\" has 3 fields, only one of which\r\nwill be present in the _parent object (ligplaatsstatus, standplaatsstatus\r\nor verblijfplaatsstatus).\r\n\r\nBecause the database uses enum types for these values, and those enums\r\ndon't contain the empty string, inserting these records breaks.\r\n\r\nBy inserting NULLs instead, everything works the same as when using the\r\n\"COPY\" statement.\r\n\r\nThis is a fix for #251 ","created_at":"2018-05-09T12:29:53Z","updated_at":"2018-05-09T12:29:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/nlextract/NLExtract/pulls/252/commits","review_comments_url":"https://api.github.com/repos/nlextract/NLExtract/pulls/252/comments","review_comment_url":"https://api.github.com/repos/nlextract/NLExtract/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nlextract/NLExtract/issues/252/comments","statuses_url":"https://api.github.com/repos/nlextract/NLExtract/statuses/c99411df50cf0816d5062cd80b8c3a45809dbea3","head":{"label":"MartijnVdS:insert_nulls_not_empty_strings","ref":"insert_nulls_not_empty_strings","sha":"c99411df50cf0816d5062cd80b8c3a45809dbea3","user":{"login":"MartijnVdS","id":5500947,"avatar_url":"https://avatars0.githubusercontent.com/u/5500947?v=4","gravatar_id":"","url":"https://api.github.com/users/MartijnVdS","html_url":"https://github.com/MartijnVdS","followers_url":"https://api.github.com/users/MartijnVdS/followers","following_url":"https://api.github.com/users/MartijnVdS/following{/other_user}","gists_url":"https://api.github.com/users/MartijnVdS/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnVdS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnVdS/subscriptions","organizations_url":"https://api.github.com/users/MartijnVdS/orgs","repos_url":"https://api.github.com/users/MartijnVdS/repos","events_url":"https://api.github.com/users/MartijnVdS/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnVdS/received_events","type":"User","site_admin":false},"repo":{"id":132752239,"name":"NLExtract","full_name":"MartijnVdS/NLExtract","owner":{"login":"MartijnVdS","id":5500947,"avatar_url":"https://avatars0.githubusercontent.com/u/5500947?v=4","gravatar_id":"","url":"https://api.github.com/users/MartijnVdS","html_url":"https://github.com/MartijnVdS","followers_url":"https://api.github.com/users/MartijnVdS/followers","following_url":"https://api.github.com/users/MartijnVdS/following{/other_user}","gists_url":"https://api.github.com/users/MartijnVdS/gists{/gist_id}","starred_url":"https://api.github.com/users/MartijnVdS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartijnVdS/subscriptions","organizations_url":"https://api.github.com/users/MartijnVdS/orgs","repos_url":"https://api.github.com/users/MartijnVdS/repos","events_url":"https://api.github.com/users/MartijnVdS/events{/privacy}","received_events_url":"https://api.github.com/users/MartijnVdS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MartijnVdS/NLExtract","description":"Convert (ETL) and visualize free Dutch geo-datasets.","fork":true,"url":"https://api.github.com/repos/MartijnVdS/NLExtract","forks_url":"https://api.github.com/repos/MartijnVdS/NLExtract/forks","keys_url":"https://api.github.com/repos/MartijnVdS/NLExtract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MartijnVdS/NLExtract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MartijnVdS/NLExtract/teams","hooks_url":"https://api.github.com/repos/MartijnVdS/NLExtract/hooks","issue_events_url":"https://api.github.com/repos/MartijnVdS/NLExtract/issues/events{/number}","events_url":"https://api.github.com/repos/MartijnVdS/NLExtract/events","assignees_url":"https://api.github.com/repos/MartijnVdS/NLExtract/assignees{/user}","branches_url":"https://api.github.com/repos/MartijnVdS/NLExtract/branches{/branch}","tags_url":"https://api.github.com/repos/MartijnVdS/NLExtract/tags","blobs_url":"https://api.github.com/repos/MartijnVdS/NLExtract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MartijnVdS/NLExtract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MartijnVdS/NLExtract/git/refs{/sha}","trees_url":"https://api.github.com/repos/MartijnVdS/NLExtract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MartijnVdS/NLExtract/statuses/{sha}","languages_url":"https://api.github.com/repos/MartijnVdS/NLExtract/languages","stargazers_url":"https://api.github.com/repos/MartijnVdS/NLExtract/stargazers","contributors_url":"https://api.github.com/repos/MartijnVdS/NLExtract/contributors","subscribers_url":"https://api.github.com/repos/MartijnVdS/NLExtract/subscribers","subscription_url":"https://api.github.com/repos/MartijnVdS/NLExtract/subscription","commits_url":"https://api.github.com/repos/MartijnVdS/NLExtract/commits{/sha}","git_commits_url":"https://api.github.com/repos/MartijnVdS/NLExtract/git/commits{/sha}","comments_url":"https://api.github.com/repos/MartijnVdS/NLExtract/comments{/number}","issue_comment_url":"https://api.github.com/repos/MartijnVdS/NLExtract/issues/comments{/number}","contents_url":"https://api.github.com/repos/MartijnVdS/NLExtract/contents/{+path}","compare_url":"https://api.github.com/repos/MartijnVdS/NLExtract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MartijnVdS/NLExtract/merges","archive_url":"https://api.github.com/repos/MartijnVdS/NLExtract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MartijnVdS/NLExtract/downloads","issues_url":"https://api.github.com/repos/MartijnVdS/NLExtract/issues{/number}","pulls_url":"https://api.github.com/repos/MartijnVdS/NLExtract/pulls{/number}","milestones_url":"https://api.github.com/repos/MartijnVdS/NLExtract/milestones{/number}","notifications_url":"https://api.github.com/repos/MartijnVdS/NLExtract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MartijnVdS/NLExtract/labels{/name}","releases_url":"https://api.github.com/repos/MartijnVdS/NLExtract/releases{/id}","deployments_url":"https://api.github.com/repos/MartijnVdS/NLExtract/deployments","created_at":"2018-05-09T12:16:29Z","updated_at":"2018-05-09T12:16:33Z","pushed_at":"2018-05-09T12:29:04Z","git_url":"git://github.com/MartijnVdS/NLExtract.git","ssh_url":"git@github.com:MartijnVdS/NLExtract.git","clone_url":"https://github.com/MartijnVdS/NLExtract.git","svn_url":"https://github.com/MartijnVdS/NLExtract","homepage":"http://nlextract.nl","size":45198,"stargazers_count":0,"watchers_count":0,"language":"Scheme","has_issues":false,"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":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nlextract:master","ref":"master","sha":"30b1f00e76519b25e978274a135140273a2fbade","user":{"login":"nlextract","id":20243892,"avatar_url":"https://avatars2.githubusercontent.com/u/20243892?v=4","gravatar_id":"","url":"https://api.github.com/users/nlextract","html_url":"https://github.com/nlextract","followers_url":"https://api.github.com/users/nlextract/followers","following_url":"https://api.github.com/users/nlextract/following{/other_user}","gists_url":"https://api.github.com/users/nlextract/gists{/gist_id}","starred_url":"https://api.github.com/users/nlextract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlextract/subscriptions","organizations_url":"https://api.github.com/users/nlextract/orgs","repos_url":"https://api.github.com/users/nlextract/repos","events_url":"https://api.github.com/users/nlextract/events{/privacy}","received_events_url":"https://api.github.com/users/nlextract/received_events","type":"Organization","site_admin":false},"repo":{"id":3124492,"name":"NLExtract","full_name":"nlextract/NLExtract","owner":{"login":"nlextract","id":20243892,"avatar_url":"https://avatars2.githubusercontent.com/u/20243892?v=4","gravatar_id":"","url":"https://api.github.com/users/nlextract","html_url":"https://github.com/nlextract","followers_url":"https://api.github.com/users/nlextract/followers","following_url":"https://api.github.com/users/nlextract/following{/other_user}","gists_url":"https://api.github.com/users/nlextract/gists{/gist_id}","starred_url":"https://api.github.com/users/nlextract/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlextract/subscriptions","organizations_url":"https://api.github.com/users/nlextract/orgs","repos_url":"https://api.github.com/users/nlextract/repos","events_url":"https://api.github.com/users/nlextract/events{/privacy}","received_events_url":"https://api.github.com/users/nlextract/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nlextract/NLExtract","description":"Convert (ETL) and visualize free Dutch geo-datasets.","fork":false,"url":"https://api.github.com/repos/nlextract/NLExtract","forks_url":"https://api.github.com/repos/nlextract/NLExtract/forks","keys_url":"https://api.github.com/repos/nlextract/NLExtract/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nlextract/NLExtract/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nlextract/NLExtract/teams","hooks_url":"https://api.github.com/repos/nlextract/NLExtract/hooks","issue_events_url":"https://api.github.com/repos/nlextract/NLExtract/issues/events{/number}","events_url":"https://api.github.com/repos/nlextract/NLExtract/events","assignees_url":"https://api.github.com/repos/nlextract/NLExtract/assignees{/user}","branches_url":"https://api.github.com/repos/nlextract/NLExtract/branches{/branch}","tags_url":"https://api.github.com/repos/nlextract/NLExtract/tags","blobs_url":"https://api.github.com/repos/nlextract/NLExtract/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nlextract/NLExtract/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nlextract/NLExtract/git/refs{/sha}","trees_url":"https://api.github.com/repos/nlextract/NLExtract/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nlextract/NLExtract/statuses/{sha}","languages_url":"https://api.github.com/repos/nlextract/NLExtract/languages","stargazers_url":"https://api.github.com/repos/nlextract/NLExtract/stargazers","contributors_url":"https://api.github.com/repos/nlextract/NLExtract/contributors","subscribers_url":"https://api.github.com/repos/nlextract/NLExtract/subscribers","subscription_url":"https://api.github.com/repos/nlextract/NLExtract/subscription","commits_url":"https://api.github.com/repos/nlextract/NLExtract/commits{/sha}","git_commits_url":"https://api.github.com/repos/nlextract/NLExtract/git/commits{/sha}","comments_url":"https://api.github.com/repos/nlextract/NLExtract/comments{/number}","issue_comment_url":"https://api.github.com/repos/nlextract/NLExtract/issues/comments{/number}","contents_url":"https://api.github.com/repos/nlextract/NLExtract/contents/{+path}","compare_url":"https://api.github.com/repos/nlextract/NLExtract/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nlextract/NLExtract/merges","archive_url":"https://api.github.com/repos/nlextract/NLExtract/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nlextract/NLExtract/downloads","issues_url":"https://api.github.com/repos/nlextract/NLExtract/issues{/number}","pulls_url":"https://api.github.com/repos/nlextract/NLExtract/pulls{/number}","milestones_url":"https://api.github.com/repos/nlextract/NLExtract/milestones{/number}","notifications_url":"https://api.github.com/repos/nlextract/NLExtract/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nlextract/NLExtract/labels{/name}","releases_url":"https://api.github.com/repos/nlextract/NLExtract/releases{/id}","deployments_url":"https://api.github.com/repos/nlextract/NLExtract/deployments","created_at":"2012-01-07T13:23:16Z","updated_at":"2018-05-03T14:56:56Z","pushed_at":"2018-05-03T14:56:54Z","git_url":"git://github.com/nlextract/NLExtract.git","ssh_url":"git@github.com:nlextract/NLExtract.git","clone_url":"https://github.com/nlextract/NLExtract.git","svn_url":"https://github.com/nlextract/NLExtract","homepage":"http://nlextract.nl","size":45198,"stargazers_count":77,"watchers_count":77,"language":"Scheme","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":45,"open_issues":28,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nlextract/NLExtract/pulls/252"},"html":{"href":"https://github.com/nlextract/NLExtract/pull/252"},"issue":{"href":"https://api.github.com/repos/nlextract/NLExtract/issues/252"},"comments":{"href":"https://api.github.com/repos/nlextract/NLExtract/issues/252/comments"},"review_comments":{"href":"https://api.github.com/repos/nlextract/NLExtract/pulls/252/comments"},"review_comment":{"href":"https://api.github.com/repos/nlextract/NLExtract/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nlextract/NLExtract/pulls/252/commits"},"statuses":{"href":"https://api.github.com/repos/nlextract/NLExtract/statuses/c99411df50cf0816d5062cd80b8c3a45809dbea3"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"MartijnVdS"}}