Feature Request / Improvement
Currently Spark's Register Table Procedure requires a full, direct path to a specific metadata file as input to register a table in a catalog.
This can be improved by allowing a metadata folder path as input, where the procedure automatically identifies and uses the latest metadata.json file within that directory to register the table, making the process more user-friendly.
This behavior is already implemented in Presto Iceberg (PR / Implementation]), and adding the same support in Spark would simplify table registration.
Query engine
Spark
Willingness to contribute