thswlsqls opened a new pull request, #17086: URL: https://github.com/apache/iceberg/pull/17086
Closes #17083 ## Summary - The JDBC catalog Java API example assigned `CatalogUtil.buildIcebergCatalog(...)`'s result directly to a `JdbcCatalog` variable, but the method's only declared return type is `Catalog`, causing an "incompatible types" compile error. - Added an explicit `(JdbcCatalog)` cast so the example compiles as written. ## Testing done - Docs-only change, no behavior change — no test added. Verified against `core/src/main/java/org/apache/iceberg/CatalogUtil.java` line 312 (`public static Catalog buildIcebergCatalog(...)`). -- 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]
