binarybrain-009 opened a new pull request, #18912: URL: https://github.com/apache/iceberg/pull/18912
`NessieCatalog.dropTable` throws when the identifier belongs to an Iceberg view, although the table does not exist and the catalog contract calls for `false`. Return `false` for that type mismatch before attempting deletion. This was found while moving the Hive regression into shared catalog tests during review of #18691; the view and its metadata must remain intact for both purge settings. Test plan: Create a view, call `dropTable` with `purge=false` and `purge=true` against both Nessie API versions, and verify it returns `false` and the view can still be loaded. The regression fails on unmodified main for all four combinations. The full Nessie build, test suite, formatting and checkstyle checks pass with the fix. --- **AI Disclosure** - Model: GPT-6 - Platform/Tool: Codex - Human Oversight: unreviewed - Prompt Summary: Address review feedback on #18691, investigate the shared regression across catalogs, and prepare the requested follow-up for Nessie; the fix and regression test are generated. -- 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]
