Skip to content

Commit eaa0867

Browse files
mongodbchezschmalliso
authored andcommitted
DOCSP-20035 Adds info about unsupported Avro types (#212)
* DOCSP-20035 Adds info about unsupported Avro types * Warning should be above the important callout, if we are going to keep said warning * Adds workarounds for some unsupported types * formatting, phrasing, adds more details * Fix formatting * tech review edits
1 parent 0b3eb69 commit eaa0867

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

source/introduction/data-formats.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,16 @@ specification of the following groups of data types:
150150
- `Complex Types <https://avro.apache.org/docs/current/spec.html#schema_complex>`__
151151
- `Logical Types <https://avro.apache.org/docs/current/spec.html#Logical+Types>`__
152152

153+
.. warning:: Unsupported Avro Types
154+
155+
{+mkc+} does not support the following Avro types:
156+
157+
- ``enum`` types. Use ``string`` instead.
158+
- ``fixed`` types. Use ``bytes`` instead.
159+
- ``null`` as a primitive type. However, ``null`` as an element in a ``union`` is supported.
160+
- ``union`` types with more than 2 elements.
161+
- ``union`` types with more than one ``null`` element.
162+
153163
.. important:: Sink Connectors and Logical Types
154164

155165
{+mkc+} sink connectors support all Avro schema primitive and complex types,

0 commit comments

Comments
 (0)