ajantha-bhat commented on code in PR #8246:
URL: https://github.com/apache/iceberg/pull/8246#discussion_r1285455933
##########
spark/v3.4/spark/src/test/java/org/apache/iceberg/spark/data/TestParquetAvroReader.java:
##########
@@ -84,7 +84,8 @@ public class TestParquetAvroReader {
optional(22, "jumpy", Types.DoubleType.get()),
required(23, "koala", Types.TimeType.get()),
required(24, "couch rope", Types.IntegerType.get())))),
- optional(2, "slide", Types.StringType.get()));
+ optional(2, "slide", Types.StringType.get()),
+ optional(25, "foo", Types.DecimalType.of(7, 5)));
Review Comment:
I did some narrow down. The issue happens only when the schema field is
`optional`. For the `required` field it passes.
` required(25, "foo", Types.DecimalType.of(7, 5)));`
Currently, I changed field to `required` and so, this issue can be merged.
Later need to investigate for `optional` field in separate PR. My guess is
some testcode preparing data for optional schema could be missing decimal type.
--
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]