johnclara opened a new issue #2318: URL: https://github.com/apache/iceberg/issues/2318
Catalog's default name() calls toString: https://github.com/apache/iceberg/blob/master/api/src/main/java/org/apache/iceberg/catalog/Catalog.java#L44 BaseMetastoreCatalog's toString calls name: https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/BaseMetastoreCatalog.java#L149 Without overrides, results in: ``` java.lang.StackOverflowError at org.apache.iceberg.BaseMetastoreCatalog.toString(BaseMetastoreCatalog.java:149) at org.apache.iceberg.catalog.Catalog.name(Catalog.java:44) at org.apache.iceberg.BaseMetastoreCatalog.toString(BaseMetastoreCatalog.java:149) at org.apache.iceberg.catalog.Catalog.name(Catalog.java:44) ``` Is this expected? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
