josephglanville commented on a change in pull request #10505:
URL: https://github.com/apache/druid/pull/10505#discussion_r649537774
##########
File path: docs/development/extensions-core/avro.md
##########
@@ -39,13 +39,24 @@ Make sure to
[include](../../development/extensions.md#loading-extensions) `drui
Druid supports most Avro types natively, there are however some exceptions
which are detailed here.
-`union` types which aren't of the form `[null, otherType]` aren't supported at
this time.
+#### Unions
+Druid has two modes for supporting `union` types. The original legacy mode can
only support unions of the form `[null, otherType]`.
+The newer mode can be enabled by setting `extractUnions` on the Avro parser in
which case unions will be expanded according to the following rules:
Review comment:
No problem, I think you are right and I will make these changes next
week.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]