{"action":"created","issue":{"url":"https://api.github.com/repos/debezium/debezium/issues/506","repository_url":"https://api.github.com/repos/debezium/debezium","labels_url":"https://api.github.com/repos/debezium/debezium/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/debezium/debezium/issues/506/comments","events_url":"https://api.github.com/repos/debezium/debezium/issues/506/events","html_url":"https://github.com/debezium/debezium/pull/506","id":314718454,"number":506,"title":" DBZ-649 Support for heterogenous arrays","user":{"login":"jpechane","id":650600,"avatar_url":"https://avatars1.githubusercontent.com/u/650600?v=4","gravatar_id":"","url":"https://api.github.com/users/jpechane","html_url":"https://github.com/jpechane","followers_url":"https://api.github.com/users/jpechane/followers","following_url":"https://api.github.com/users/jpechane/following{/other_user}","gists_url":"https://api.github.com/users/jpechane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpechane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpechane/subscriptions","organizations_url":"https://api.github.com/users/jpechane/orgs","repos_url":"https://api.github.com/users/jpechane/repos","events_url":"https://api.github.com/users/jpechane/events{/privacy}","received_events_url":"https://api.github.com/users/jpechane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T15:57:52Z","updated_at":"2018-05-23T18:52:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/debezium/debezium/pulls/506","html_url":"https://github.com/debezium/debezium/pull/506","diff_url":"https://github.com/debezium/debezium/pull/506.diff","patch_url":"https://github.com/debezium/debezium/pull/506.patch"},"body":"https://issues.jboss.org/browse/DBZ-649\r\n\r\nThis PR provides the following functionality\r\n1) Before it encodes arrays it checks whether all elements are of the same type\r\n2) If all elements are of type document it makes a union of all fields of all elements to create the schema valid for all elements. It also checks that the fields of elements do not change types accross elements\r\n3) Introduces a new array encoding that encodes array as struct as is case for BSON - see array in document http://bsonspec.org/spec.html Such encoding is able to handle arbitrary array values."},"comment":{"url":"https://api.github.com/repos/debezium/debezium/issues/comments/391458063","html_url":"https://github.com/debezium/debezium/pull/506#issuecomment-391458063","issue_url":"https://api.github.com/repos/debezium/debezium/issues/506","id":391458063,"user":{"login":"jpechane","id":650600,"avatar_url":"https://avatars1.githubusercontent.com/u/650600?v=4","gravatar_id":"","url":"https://api.github.com/users/jpechane","html_url":"https://github.com/jpechane","followers_url":"https://api.github.com/users/jpechane/followers","following_url":"https://api.github.com/users/jpechane/following{/other_user}","gists_url":"https://api.github.com/users/jpechane/gists{/gist_id}","starred_url":"https://api.github.com/users/jpechane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpechane/subscriptions","organizations_url":"https://api.github.com/users/jpechane/orgs","repos_url":"https://api.github.com/users/jpechane/repos","events_url":"https://api.github.com/users/jpechane/events{/privacy}","received_events_url":"https://api.github.com/users/jpechane/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T18:52:42Z","updated_at":"2018-05-23T18:52:42Z","author_association":"CONTRIBUTOR","body":"@gunnarmorling The test is fixed - the schema struct should be optional. Regarding schema assertion - I just expanded what was already present. We can extract the schema assetion code from postgres module and make it shared.\r\nRegarding the removing Envelope suffix, the explanations is here https://github.com/debezium/debezium/pull/505\r\n > Because we are ripping out part of Envelope - so I think it make sense to name the schema after the collection only.\r\n"}}
{"actor":{"display_login":"jpechane"}}