{"action":"closed","number":74,"pull_request":{"url":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/74","id":184363589,"html_url":"https://github.com/statisticsnorway/java-vtl/pull/74","diff_url":"https://github.com/statisticsnorway/java-vtl/pull/74.diff","patch_url":"https://github.com/statisticsnorway/java-vtl/pull/74.patch","issue_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/74","number":74,"state":"closed","locked":false,"title":"Union rewrite to support children with different structure ordering","user":{"login":"hadrienk","id":207345,"avatar_url":"https://avatars0.githubusercontent.com/u/207345?v=4","gravatar_id":"","url":"https://api.github.com/users/hadrienk","html_url":"https://github.com/hadrienk","followers_url":"https://api.github.com/users/hadrienk/followers","following_url":"https://api.github.com/users/hadrienk/following{/other_user}","gists_url":"https://api.github.com/users/hadrienk/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrienk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrienk/subscriptions","organizations_url":"https://api.github.com/users/hadrienk/orgs","repos_url":"https://api.github.com/users/hadrienk/repos","events_url":"https://api.github.com/users/hadrienk/events{/privacy}","received_events_url":"https://api.github.com/users/hadrienk/received_events","type":"User","site_admin":false},"body":"Note that most of the commits are not really merged. The reason is that we used revert instead of merging from a point back in time. \r\n\r\nThis PR rewrites the union operation to support children with structures (and datapoints) with different orders. It also rewrite the operation to support streaming.\r\n\r\nImportant changes: \r\n- Order.createDefault() doesn't sort on measures and attributes anymore.\r\n- StaticDataset streams create a copy of the datapoints.\r\n\r\n","created_at":"2018-04-26T14:41:45Z","updated_at":"2018-04-30T11:45:29Z","closed_at":"2018-04-30T11:45:28Z","merged_at":"2018-04-30T11:45:28Z","merge_commit_sha":"90d18c1f0aced4b86fa7914b1fb24a8f76ab8cfd","assignee":null,"assignees":[],"requested_reviewers":[{"login":"trygu","id":3669823,"avatar_url":"https://avatars0.githubusercontent.com/u/3669823?v=4","gravatar_id":"","url":"https://api.github.com/users/trygu","html_url":"https://github.com/trygu","followers_url":"https://api.github.com/users/trygu/followers","following_url":"https://api.github.com/users/trygu/following{/other_user}","gists_url":"https://api.github.com/users/trygu/gists{/gist_id}","starred_url":"https://api.github.com/users/trygu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trygu/subscriptions","organizations_url":"https://api.github.com/users/trygu/orgs","repos_url":"https://api.github.com/users/trygu/repos","events_url":"https://api.github.com/users/trygu/events{/privacy}","received_events_url":"https://api.github.com/users/trygu/received_events","type":"User","site_admin":false},{"login":"takvamborgen","id":5525293,"avatar_url":"https://avatars2.githubusercontent.com/u/5525293?v=4","gravatar_id":"","url":"https://api.github.com/users/takvamborgen","html_url":"https://github.com/takvamborgen","followers_url":"https://api.github.com/users/takvamborgen/followers","following_url":"https://api.github.com/users/takvamborgen/following{/other_user}","gists_url":"https://api.github.com/users/takvamborgen/gists{/gist_id}","starred_url":"https://api.github.com/users/takvamborgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takvamborgen/subscriptions","organizations_url":"https://api.github.com/users/takvamborgen/orgs","repos_url":"https://api.github.com/users/takvamborgen/repos","events_url":"https://api.github.com/users/takvamborgen/events{/privacy}","received_events_url":"https://api.github.com/users/takvamborgen/received_events","type":"User","site_admin":false},{"login":"jonolehagemo","id":12557193,"avatar_url":"https://avatars0.githubusercontent.com/u/12557193?v=4","gravatar_id":"","url":"https://api.github.com/users/jonolehagemo","html_url":"https://github.com/jonolehagemo","followers_url":"https://api.github.com/users/jonolehagemo/followers","following_url":"https://api.github.com/users/jonolehagemo/following{/other_user}","gists_url":"https://api.github.com/users/jonolehagemo/gists{/gist_id}","starred_url":"https://api.github.com/users/jonolehagemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonolehagemo/subscriptions","organizations_url":"https://api.github.com/users/jonolehagemo/orgs","repos_url":"https://api.github.com/users/jonolehagemo/repos","events_url":"https://api.github.com/users/jonolehagemo/events{/privacy}","received_events_url":"https://api.github.com/users/jonolehagemo/received_events","type":"User","site_admin":false},{"login":"pawbu","id":23167730,"avatar_url":"https://avatars3.githubusercontent.com/u/23167730?v=4","gravatar_id":"","url":"https://api.github.com/users/pawbu","html_url":"https://github.com/pawbu","followers_url":"https://api.github.com/users/pawbu/followers","following_url":"https://api.github.com/users/pawbu/following{/other_user}","gists_url":"https://api.github.com/users/pawbu/gists{/gist_id}","starred_url":"https://api.github.com/users/pawbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawbu/subscriptions","organizations_url":"https://api.github.com/users/pawbu/orgs","repos_url":"https://api.github.com/users/pawbu/repos","events_url":"https://api.github.com/users/pawbu/events{/privacy}","received_events_url":"https://api.github.com/users/pawbu/received_events","type":"User","site_admin":false},{"login":"olbredes","id":32703813,"avatar_url":"https://avatars1.githubusercontent.com/u/32703813?v=4","gravatar_id":"","url":"https://api.github.com/users/olbredes","html_url":"https://github.com/olbredes","followers_url":"https://api.github.com/users/olbredes/followers","following_url":"https://api.github.com/users/olbredes/following{/other_user}","gists_url":"https://api.github.com/users/olbredes/gists{/gist_id}","starred_url":"https://api.github.com/users/olbredes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olbredes/subscriptions","organizations_url":"https://api.github.com/users/olbredes/orgs","repos_url":"https://api.github.com/users/olbredes/repos","events_url":"https://api.github.com/users/olbredes/events{/privacy}","received_events_url":"https://api.github.com/users/olbredes/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/74/commits","review_comments_url":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/74/comments","review_comment_url":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/74/comments","statuses_url":"https://api.github.com/repos/statisticsnorway/java-vtl/statuses/90d18c1f0aced4b86fa7914b1fb24a8f76ab8cfd","head":{"label":"statisticsnorway:feature/union-structure-order","ref":"feature/union-structure-order","sha":"90d18c1f0aced4b86fa7914b1fb24a8f76ab8cfd","user":{"login":"statisticsnorway","id":5849578,"avatar_url":"https://avatars0.githubusercontent.com/u/5849578?v=4","gravatar_id":"","url":"https://api.github.com/users/statisticsnorway","html_url":"https://github.com/statisticsnorway","followers_url":"https://api.github.com/users/statisticsnorway/followers","following_url":"https://api.github.com/users/statisticsnorway/following{/other_user}","gists_url":"https://api.github.com/users/statisticsnorway/gists{/gist_id}","starred_url":"https://api.github.com/users/statisticsnorway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statisticsnorway/subscriptions","organizations_url":"https://api.github.com/users/statisticsnorway/orgs","repos_url":"https://api.github.com/users/statisticsnorway/repos","events_url":"https://api.github.com/users/statisticsnorway/events{/privacy}","received_events_url":"https://api.github.com/users/statisticsnorway/received_events","type":"Organization","site_admin":false},"repo":{"id":69868063,"name":"java-vtl","full_name":"statisticsnorway/java-vtl","owner":{"login":"statisticsnorway","id":5849578,"avatar_url":"https://avatars0.githubusercontent.com/u/5849578?v=4","gravatar_id":"","url":"https://api.github.com/users/statisticsnorway","html_url":"https://github.com/statisticsnorway","followers_url":"https://api.github.com/users/statisticsnorway/followers","following_url":"https://api.github.com/users/statisticsnorway/following{/other_user}","gists_url":"https://api.github.com/users/statisticsnorway/gists{/gist_id}","starred_url":"https://api.github.com/users/statisticsnorway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statisticsnorway/subscriptions","organizations_url":"https://api.github.com/users/statisticsnorway/orgs","repos_url":"https://api.github.com/users/statisticsnorway/repos","events_url":"https://api.github.com/users/statisticsnorway/events{/privacy}","received_events_url":"https://api.github.com/users/statisticsnorway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statisticsnorway/java-vtl","description":"An Open Source Java implementation of the Validation Transformation Language, based on the VTL 1.1 draft specification.  The implementation follows the JSR-223 Java Scripting API and exposes a simple connector interface one can implement in order to integrate with any data stores. VTL is a standard language for defining validation and transformation rules (set of operators, their syntax and semantics) for any kind of statistical data. ","fork":true,"url":"https://api.github.com/repos/statisticsnorway/java-vtl","forks_url":"https://api.github.com/repos/statisticsnorway/java-vtl/forks","keys_url":"https://api.github.com/repos/statisticsnorway/java-vtl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statisticsnorway/java-vtl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statisticsnorway/java-vtl/teams","hooks_url":"https://api.github.com/repos/statisticsnorway/java-vtl/hooks","issue_events_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/events{/number}","events_url":"https://api.github.com/repos/statisticsnorway/java-vtl/events","assignees_url":"https://api.github.com/repos/statisticsnorway/java-vtl/assignees{/user}","branches_url":"https://api.github.com/repos/statisticsnorway/java-vtl/branches{/branch}","tags_url":"https://api.github.com/repos/statisticsnorway/java-vtl/tags","blobs_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/refs{/sha}","trees_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statisticsnorway/java-vtl/statuses/{sha}","languages_url":"https://api.github.com/repos/statisticsnorway/java-vtl/languages","stargazers_url":"https://api.github.com/repos/statisticsnorway/java-vtl/stargazers","contributors_url":"https://api.github.com/repos/statisticsnorway/java-vtl/contributors","subscribers_url":"https://api.github.com/repos/statisticsnorway/java-vtl/subscribers","subscription_url":"https://api.github.com/repos/statisticsnorway/java-vtl/subscription","commits_url":"https://api.github.com/repos/statisticsnorway/java-vtl/commits{/sha}","git_commits_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/commits{/sha}","comments_url":"https://api.github.com/repos/statisticsnorway/java-vtl/comments{/number}","issue_comment_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/comments{/number}","contents_url":"https://api.github.com/repos/statisticsnorway/java-vtl/contents/{+path}","compare_url":"https://api.github.com/repos/statisticsnorway/java-vtl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statisticsnorway/java-vtl/merges","archive_url":"https://api.github.com/repos/statisticsnorway/java-vtl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statisticsnorway/java-vtl/downloads","issues_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues{/number}","pulls_url":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls{/number}","milestones_url":"https://api.github.com/repos/statisticsnorway/java-vtl/milestones{/number}","notifications_url":"https://api.github.com/repos/statisticsnorway/java-vtl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statisticsnorway/java-vtl/labels{/name}","releases_url":"https://api.github.com/repos/statisticsnorway/java-vtl/releases{/id}","deployments_url":"https://api.github.com/repos/statisticsnorway/java-vtl/deployments","created_at":"2016-10-03T12:22:41Z","updated_at":"2018-04-25T18:01:20Z","pushed_at":"2018-04-30T11:45:27Z","git_url":"git://github.com/statisticsnorway/java-vtl.git","ssh_url":"git@github.com:statisticsnorway/java-vtl.git","clone_url":"https://github.com/statisticsnorway/java-vtl.git","svn_url":"https://github.com/statisticsnorway/java-vtl","homepage":"http://java-vtl.org","size":17165,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":13,"watchers":16,"default_branch":"develop"}},"base":{"label":"statisticsnorway:develop","ref":"develop","sha":"5eafd2d64f1ebe1a9df0fb1ce32f13277fe57dae","user":{"login":"statisticsnorway","id":5849578,"avatar_url":"https://avatars0.githubusercontent.com/u/5849578?v=4","gravatar_id":"","url":"https://api.github.com/users/statisticsnorway","html_url":"https://github.com/statisticsnorway","followers_url":"https://api.github.com/users/statisticsnorway/followers","following_url":"https://api.github.com/users/statisticsnorway/following{/other_user}","gists_url":"https://api.github.com/users/statisticsnorway/gists{/gist_id}","starred_url":"https://api.github.com/users/statisticsnorway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statisticsnorway/subscriptions","organizations_url":"https://api.github.com/users/statisticsnorway/orgs","repos_url":"https://api.github.com/users/statisticsnorway/repos","events_url":"https://api.github.com/users/statisticsnorway/events{/privacy}","received_events_url":"https://api.github.com/users/statisticsnorway/received_events","type":"Organization","site_admin":false},"repo":{"id":69868063,"name":"java-vtl","full_name":"statisticsnorway/java-vtl","owner":{"login":"statisticsnorway","id":5849578,"avatar_url":"https://avatars0.githubusercontent.com/u/5849578?v=4","gravatar_id":"","url":"https://api.github.com/users/statisticsnorway","html_url":"https://github.com/statisticsnorway","followers_url":"https://api.github.com/users/statisticsnorway/followers","following_url":"https://api.github.com/users/statisticsnorway/following{/other_user}","gists_url":"https://api.github.com/users/statisticsnorway/gists{/gist_id}","starred_url":"https://api.github.com/users/statisticsnorway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statisticsnorway/subscriptions","organizations_url":"https://api.github.com/users/statisticsnorway/orgs","repos_url":"https://api.github.com/users/statisticsnorway/repos","events_url":"https://api.github.com/users/statisticsnorway/events{/privacy}","received_events_url":"https://api.github.com/users/statisticsnorway/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/statisticsnorway/java-vtl","description":"An Open Source Java implementation of the Validation Transformation Language, based on the VTL 1.1 draft specification.  The implementation follows the JSR-223 Java Scripting API and exposes a simple connector interface one can implement in order to integrate with any data stores. VTL is a standard language for defining validation and transformation rules (set of operators, their syntax and semantics) for any kind of statistical data. ","fork":true,"url":"https://api.github.com/repos/statisticsnorway/java-vtl","forks_url":"https://api.github.com/repos/statisticsnorway/java-vtl/forks","keys_url":"https://api.github.com/repos/statisticsnorway/java-vtl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/statisticsnorway/java-vtl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/statisticsnorway/java-vtl/teams","hooks_url":"https://api.github.com/repos/statisticsnorway/java-vtl/hooks","issue_events_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/events{/number}","events_url":"https://api.github.com/repos/statisticsnorway/java-vtl/events","assignees_url":"https://api.github.com/repos/statisticsnorway/java-vtl/assignees{/user}","branches_url":"https://api.github.com/repos/statisticsnorway/java-vtl/branches{/branch}","tags_url":"https://api.github.com/repos/statisticsnorway/java-vtl/tags","blobs_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/refs{/sha}","trees_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/statisticsnorway/java-vtl/statuses/{sha}","languages_url":"https://api.github.com/repos/statisticsnorway/java-vtl/languages","stargazers_url":"https://api.github.com/repos/statisticsnorway/java-vtl/stargazers","contributors_url":"https://api.github.com/repos/statisticsnorway/java-vtl/contributors","subscribers_url":"https://api.github.com/repos/statisticsnorway/java-vtl/subscribers","subscription_url":"https://api.github.com/repos/statisticsnorway/java-vtl/subscription","commits_url":"https://api.github.com/repos/statisticsnorway/java-vtl/commits{/sha}","git_commits_url":"https://api.github.com/repos/statisticsnorway/java-vtl/git/commits{/sha}","comments_url":"https://api.github.com/repos/statisticsnorway/java-vtl/comments{/number}","issue_comment_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/comments{/number}","contents_url":"https://api.github.com/repos/statisticsnorway/java-vtl/contents/{+path}","compare_url":"https://api.github.com/repos/statisticsnorway/java-vtl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/statisticsnorway/java-vtl/merges","archive_url":"https://api.github.com/repos/statisticsnorway/java-vtl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/statisticsnorway/java-vtl/downloads","issues_url":"https://api.github.com/repos/statisticsnorway/java-vtl/issues{/number}","pulls_url":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls{/number}","milestones_url":"https://api.github.com/repos/statisticsnorway/java-vtl/milestones{/number}","notifications_url":"https://api.github.com/repos/statisticsnorway/java-vtl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/statisticsnorway/java-vtl/labels{/name}","releases_url":"https://api.github.com/repos/statisticsnorway/java-vtl/releases{/id}","deployments_url":"https://api.github.com/repos/statisticsnorway/java-vtl/deployments","created_at":"2016-10-03T12:22:41Z","updated_at":"2018-04-25T18:01:20Z","pushed_at":"2018-04-30T11:45:27Z","git_url":"git://github.com/statisticsnorway/java-vtl.git","ssh_url":"git@github.com:statisticsnorway/java-vtl.git","clone_url":"https://github.com/statisticsnorway/java-vtl.git","svn_url":"https://github.com/statisticsnorway/java-vtl","homepage":"http://java-vtl.org","size":17165,"stargazers_count":16,"watchers_count":16,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":2,"open_issues":13,"watchers":16,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/74"},"html":{"href":"https://github.com/statisticsnorway/java-vtl/pull/74"},"issue":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/74"},"comments":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/statisticsnorway/java-vtl/statuses/90d18c1f0aced4b86fa7914b1fb24a8f76ab8cfd"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"hadrienk","id":207345,"avatar_url":"https://avatars0.githubusercontent.com/u/207345?v=4","gravatar_id":"","url":"https://api.github.com/users/hadrienk","html_url":"https://github.com/hadrienk","followers_url":"https://api.github.com/users/hadrienk/followers","following_url":"https://api.github.com/users/hadrienk/following{/other_user}","gists_url":"https://api.github.com/users/hadrienk/gists{/gist_id}","starred_url":"https://api.github.com/users/hadrienk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hadrienk/subscriptions","organizations_url":"https://api.github.com/users/hadrienk/orgs","repos_url":"https://api.github.com/users/hadrienk/repos","events_url":"https://api.github.com/users/hadrienk/events{/privacy}","received_events_url":"https://api.github.com/users/hadrienk/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"maintainer_can_modify":false,"commits":44,"additions":661,"deletions":126,"changed_files":10}}
{"actor":{"display_login":"hadrienk"}}