rdblue commented on code in PR #6342: URL: https://github.com/apache/iceberg/pull/6342#discussion_r1044924033
########## python/pyiceberg/schema.py: ########## @@ -317,6 +331,97 @@ def primitive(self, primitive: PrimitiveType) -> T: """Visit a PrimitiveType""" +class SchemaVisitorPerPrimitiveType(SchemaVisitor[T], ABC): Review Comment: Seems reasonable to me. Should we have two visitor classes or do we not need to handle individual primitives sometimes? -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org