{"action":"created","issue":{"url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations/issues/11","repository_url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations","labels_url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations/issues/11/comments","events_url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations/issues/11/events","html_url":"https://github.com/julianpeeters/avro-scala-macro-annotations/issues/11","id":74306035,"number":11,"title":"Namespaced case class and Namespace-less schema: Avro fails to resolve if record is part of a union","user":{"login":"julianpeeters","id":589614,"avatar_url":"https://avatars.githubusercontent.com/u/589614?v=3","gravatar_id":"","url":"https://api.github.com/users/julianpeeters","html_url":"https://github.com/julianpeeters","followers_url":"https://api.github.com/users/julianpeeters/followers","following_url":"https://api.github.com/users/julianpeeters/following{/other_user}","gists_url":"https://api.github.com/users/julianpeeters/gists{/gist_id}","starred_url":"https://api.github.com/users/julianpeeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianpeeters/subscriptions","organizations_url":"https://api.github.com/users/julianpeeters/orgs","repos_url":"https://api.github.com/users/julianpeeters/repos","events_url":"https://api.github.com/users/julianpeeters/events{/privacy}","received_events_url":"https://api.github.com/users/julianpeeters/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-05-08T09:51:32Z","updated_at":"2017-01-07T21:24:36Z","closed_at":null,"body":"Records in namespace-less schemas are most naturally represented by case classes in the default package (i.e. no package). That's not very useful, so it's nice that Avro can resolve the record just fine if the case class is in a package when there is no namespace in the schema, however reading and writing fails for records whose fields are unions of `record` types. \n\n  The issues seem to be due to the mismatch between a) the expected and actual schemas, and b) the full names of records vs specific classes. Avro tries to resolve the record found in the union but no class matches the full name. \n\n  Thus, I believe this is an Avro issue, but so far no response on the users mailing list:\n  http://apache-avro.679487.n3.nabble.com/Issues-reading-and-writing-namespace-less-schemas-from-namespaced-Specific-Records-tc4032092.html\n"},"comment":{"url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations/issues/comments/271111209","html_url":"https://github.com/julianpeeters/avro-scala-macro-annotations/issues/11#issuecomment-271111209","issue_url":"https://api.github.com/repos/julianpeeters/avro-scala-macro-annotations/issues/11","id":271111209,"user":{"login":"julianpeeters","id":589614,"avatar_url":"https://avatars.githubusercontent.com/u/589614?v=3","gravatar_id":"","url":"https://api.github.com/users/julianpeeters","html_url":"https://github.com/julianpeeters","followers_url":"https://api.github.com/users/julianpeeters/followers","following_url":"https://api.github.com/users/julianpeeters/following{/other_user}","gists_url":"https://api.github.com/users/julianpeeters/gists{/gist_id}","starred_url":"https://api.github.com/users/julianpeeters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianpeeters/subscriptions","organizations_url":"https://api.github.com/users/julianpeeters/orgs","repos_url":"https://api.github.com/users/julianpeeters/repos","events_url":"https://api.github.com/users/julianpeeters/events{/privacy}","received_events_url":"https://api.github.com/users/julianpeeters/received_events","type":"User","site_admin":false},"created_at":"2017-01-07T21:24:36Z","updated_at":"2017-01-07T21:24:36Z","body":"The idea is certainly appreciated! Unfortunately the error even occurs when using Java Avro exclusively."}}
{"actor":{"display_login":"julianpeeters"}}