rdblue commented on a change in pull request #2952:
URL: https://github.com/apache/iceberg/pull/2952#discussion_r693533021
##########
File path: api/src/main/java/org/apache/iceberg/types/PruneColumns.java
##########
@@ -125,4 +143,44 @@ public Type map(Types.MapType map, Type ignored, Type
valueResult) {
public Type primitive(Type.PrimitiveType primitive) {
return null;
}
+
+ private ListType projectList(ListType list, Type elementResult) {
+ Preconditions.checkArgument(elementResult != null);
Review comment:
Can you add friendly error messages to all of the preconditions?
--
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]