jackye1995 commented on code in PR #5541:
URL: https://github.com/apache/iceberg/pull/5541#discussion_r946120054
##########
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:
oh I see this comes from 2 methods. But even in that case I think it's
always good practice to use annotation only in method declaration if possible
--
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]