|
Author:
{'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}
Message: Combine compatible schemas for array elements (#128)
1. Where two struct types differ only where one has a field that the other does not. In this case, the
extra field is added to the combined schema
2. Where two struct types differ only where one has a field that the other has whose value is null in
the source document. In this case, the extra field is added to the combined schema with the type of the
field that has the non-null value.
3. Where two struct types differ where corresponding fields in the struct have a type conflict. In this case, the type
conflict is pushed down to the field, and the type of that field is what becomes string.
4. Where two array types differ only in that one of the arrays is empty. In this case, the value schema for the
empty array is changed to the one for the non-empty array
KAFKA-343
Co-authored-by: Ross Lawley <ross.lawley@gmail.com>
Branch: master
https://github.com/mongodb/mongo-kafka/commit/5530385ee5432559be558279532c1c21157c91fa
|