Rows are serialized into records
Scala collections are serialized into arrays
Options into nulls.
Also, if you have an Avro Boolean field, you can't use a String "true" but it must be boolean true.
So it's less "forgiving" than JDBC for example which will do the automatic conversion for you.
This serializer allows it.
Serializes JVM types into the suitable Avro type.
Rows are serialized into records Scala collections are serialized into arrays Options into nulls.
Also, if you have an Avro Boolean field, you can't use a String "true" but it must be boolean true. So it's less "forgiving" than JDBC for example which will do the automatic conversion for you. This serializer allows it.