JonasJ-ap commented on code in PR #5541:
URL: https://github.com/apache/iceberg/pull/5541#discussion_r946135997
##########
core/src/test/java/org/apache/iceberg/avro/TestAvroNameMapping.java:
##########
@@ -102,6 +102,7 @@ public void testMapProjections() throws IOException {
Types.NestedField.required(1, "lat",
Types.FloatType.get()))))));
projected = writeAndRead(writeSchema, readSchema, record, nameMapping);
+ @SuppressWarnings("unchecked")
Review Comment:
Thank you for your suggestion. Since there are in total 5 unchecked warnings
(2 Map types and 3 List types). I think it may be better to place one
SuppressWarnings on top of the class to eliminate all the unchecked warning
messages.
--
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]