{"action":"opened","issue":{"url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/35","labels_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/35/comments","events_url":"https://api.github.com/repos/ScaleUnlimited/cascading.avro/issues/35/events","html_url":"https://github.com/ScaleUnlimited/cascading.avro/issues/35","id":54179221,"number":35,"title":"Support for (Specific|Generic)Records inside Tuples","user":{"login":"mjwillson","id":4502,"avatar_url":"https://avatars.githubusercontent.com/u/4502?v=3","gravatar_id":"","url":"https://api.github.com/users/mjwillson","html_url":"https://github.com/mjwillson","followers_url":"https://api.github.com/users/mjwillson/followers","following_url":"https://api.github.com/users/mjwillson/following{/other_user}","gists_url":"https://api.github.com/users/mjwillson/gists{/gist_id}","starred_url":"https://api.github.com/users/mjwillson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjwillson/subscriptions","organizations_url":"https://api.github.com/users/mjwillson/orgs","repos_url":"https://api.github.com/users/mjwillson/repos","events_url":"https://api.github.com/users/mjwillson/events{/privacy}","received_events_url":"https://api.github.com/users/mjwillson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-13T11:08:46Z","updated_at":"2015-01-13T11:08:46Z","closed_at":null,"body":"Hiya\r\n\r\nWondering if you'd consider supporting SpecificRecord or GenericRecords directly inside tuples, rather than requiring them to be converted to and from nested Tuple or TupleEntry?\r\n\r\nThis would make it easier to re-use existing code which works with avro records without needing to convert them to / from nested tuples at every level, only to have them converted back to GenericRecord again behind the scenes.\r\n\r\nLooks like it shouldn't be too much work to add, so I'm happy to make a pull request if you're open to it, just checking if there were any pitfalls I haven't spotted. It seems like it'd be easy to support either records or nested tuples when sinking, although when sourcing there might need to be an option on the AvroScheme for whether to generate a GenericRecord, SpecificRecord or a nested Tuple."}}