Hi All,
Does Flink support AVRO union types - Documentation says it supports nullable types: {"name": "type_double_test", "type": ["null", "double"]} But my schema has something like : {"name": "union_field", "type": ["string", "double"]} Thanks Vishnu |
Hey Vishnu, For those of us on the list that are not very familiar with Flink and Avro can you give a pointed to the docs you are referring to and how you intend to use it? Just so we gain understanding as well. Thanks, Martin On Tue, Jul 18, 2017 at 9:12 PM, Vishnu Viswanath <[hidden email]> wrote:
|
Hi Vishnu,
I took a look into the code. Actually, we should support it. However, those types might be mapped to Java Objects that will be serialized with our generic Kryo serializer. Have you tested it? Regards, Timo Am 19.07.17 um 06:30 schrieb Martin Eden:
|
In reply to this post by vishnuviswanath
Hi Timo, I just modified AvroOutputFormatTest to test this and it works fine!. I don't plan to use it to key by, but it is a good point. Thanks. Regards, Vishnu On Wed, Jul 19, 2017 at 10:57 AM, Timo Walther <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |