For logical types, the AVRO schema.getLogicalType() always returns null although the name of the logical type is populated. The NativeJsonConverter for now relies on the schema.getName() instead to select the right converter. Some debugging is required to decide why the logical type is not populated. Here is an example:
For logical types, the AVRO
schema.getLogicalType()
always returns null although the name of the logical type is populated. The NativeJsonConverter for now relies on theschema.getName()
instead to select the right converter. Some debugging is required to decide why the logical type is not populated. Here is an example:schema.getLogicalType()
is expected to returncql_decimal
but it returns null instead.