-
Notifications
You must be signed in to change notification settings - Fork 3k
Core, Data: Implementation of AvroFormatModel #15254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
core/src/main/java/org/apache/iceberg/avro/AvroFormatModel.java
Outdated
Show resolved
Hide resolved
data/src/main/java/org/apache/iceberg/data/GenericFormatModels.java
Outdated
Show resolved
Hide resolved
data/src/main/java/org/apache/iceberg/data/GenericFormatModels.java
Outdated
Show resolved
Hide resolved
data/src/test/java/org/apache/iceberg/data/TestGenericFormatModels.java
Outdated
Show resolved
Hide resolved
| DataTestHelpers.assertEquals( | ||
| TestBase.SCHEMA.asStruct(), TEST_RECORDS.get(0), readRecords.get(0)); | ||
| DataTestHelpers.assertEquals( | ||
| TestBase.SCHEMA.asStruct(), TEST_RECORDS.get(1), readRecords.get(1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: I'd prefer a loop here so that we could add more cases or pass a random data generator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added random generated data and moved to looped check.
Please check the changes in DataTestHelpers
Part of: #12298
Implementation of the new API: #12774
AvroFormatModel and related tests