nssalian commented on code in PR #17520:
URL: https://github.com/apache/iceberg/pull/17520#discussion_r3790719632
##########
kafka-connect/kafka-connect/src/test/java/org/apache/iceberg/connect/data/TestRecordConverter.java:
##########
@@ -1387,6 +1387,30 @@ public void testConvertVariantValueFromNull() {
assertThat(variant.value().type()).isEqualTo(PhysicalType.NULL);
}
+ @Test
+ public void testConvertOrdersOutputByTableSchemaNotSourceFieldOrder() {
Review Comment:
Added TestVariantShreddingWrite in kafka-connect and updated the PR
description with details.
It builds a Connect Struct with a variant field, runs it through
RecordConverter.convert(), writes with shred-variants=true via
createTableWriter, and asserts typed_value on read-back.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]