fix: bypass Iceberg tables in HiveTableValidator SD check (rebuilt glue-datacatalog-hive3-client jar) - #360
Merged
jamespfaulkner merged 2 commits intoJul 29, 2026
Conversation
…tor bypass Patches HiveTableValidator.notApplicableTableType() to also bypass required-SD validation when table_type=ICEBERG, not just storage_handler. Iceberg tables whose StorageDescriptor gets stripped (e.g. by the Glue managed column-stats service) were failing get_table with "StorageDescriptor#InputFormat cannot be null" instead of falling through the Iceberg bypass path. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
jamespfaulkner
marked this pull request as ready for review
July 29, 2026 15:11
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
javsanbel2
approved these changes
Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rebuilds
lib/aws-glue-datacatalog-hive3-client-3.4.0-WD-1.jarto include a defense-in-depth fix inHiveTableValidator.notApplicableTableType(): the required-StorageDescriptor-properties validator is now also bypassed when a table'stable_typeparameter isICEBERG, not just whenstorage_handleris set.This guards against Iceberg tables whose StorageDescriptor gets stripped by external processes (e.g. Glue's managed column-statistics service issuing an
UpdateTablewithoutInputFormat/OutputFormat/SerdeInfo), which previously causedget_tableto fail with:No source changes in this repo — the jar is a prebuilt dependency checked into
lib/. Verified via javap decompilation that the only functional bytecode change is the newisIcebergTable(Table)check inHiveTableValidator; all other class files differ only due to constant-pool churn from the full module recompile. Class file version is unchanged (Java 8 / major version 52).Test plan
table_type=ICEBERGand nostorage_handlerparam, including one with a stripped StorageDescriptor