projectnessie / nessie

Nessie: Transactional Catalog for Data Lakes with Git-like semantics
https://projectnessie.org
Apache License 2.0
989 stars 130 forks source link

Refactor `MultiTableUpdate` #9001

Closed snazy closed 3 months ago

snazy commented 3 months ago

Refactors CatalogServiceImpl.MultiTableUpdate to be a top-level type and adds a list of successfully written objects/files in a separate exceptionally() stage, that calls ObjectIO.deleteObjects() for the written objects/files.

The change is unfortunately quite verbose.

Prerequisite for testing #8889 and #8768