Skip to content

Follow up on Iceberg REST catalog review comments - #1802

Merged
yili-db merged 2 commits into
unitycatalog:mainfrom
yili-db:iceberg-rest-write-endpoints-follow-up
Sep 22, 2026
Merged

yili-db merged 2 commits into
unitycatalog:mainfrom
yili-db:iceberg-rest-write-endpoints-follow-up

Conversation

@yili-db

@yili-db yili-db commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

PR Checklist

  • A description of the changes is added to the description of this PR.
  • If there is a related issue, make sure it is linked to this PR.
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added or modified a feature, documentation in docs is updated

Description of changes

  • Log at warn before swallowing best-effort Iceberg metadata cleanup failures, so a persistent credential or permission problem stays diagnosable instead of being dropped silently.
  • Document that uniform_iceberg_metadata_location holds either a Delta UniForm projection or a native Iceberg pointer: the name is a misnomer, a non-null value does not imply a Delta table, and the field must be read together with data_source_format.

@timothyw553 timothyw553 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a follow up to #1696 (comment). LGTM.

* Iceberg metadata pointer for either a Delta UniForm projection or a native Iceberg table. The
* meaning is distinguished by {@link #dataSourceFormat}: Delta is authoritative for UniForm;
* Iceberg is authoritative for native Iceberg tables.
* {@code uniform_iceberg_} name predates native Iceberg support and is a misnomer here: a

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename it to the icebergMetadataLocation ? for now, I think it's better to rename it for now rather than leaving to some time in future ?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at least we can rename the class member name to the icebergMetadataLocation, even if we want to keep the original uniform_iceberg_metadata_location in the database.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed

@openinx openinx left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one comment , others look good to me. Thanks @yili-db !

- Log at warn before swallowing best-effort Iceberg metadata cleanup failures, so a persistent credential or permission problem stays diagnosable instead of being dropped silently.
- Document that uniform_iceberg_metadata_location holds either a Delta UniForm projection or a native Iceberg pointer: the name is a misnomer, a non-null value does not imply a Delta table, and the field must be read together with data_source_format.

Signed-off-by: Yi Li <[email protected]>
@yili-db
yili-db force-pushed the iceberg-rest-write-endpoints-follow-up branch from 3dcbaba to 740908b Compare September 22, 2026 17:16
@yili-db
yili-db force-pushed the iceberg-rest-write-endpoints-follow-up branch from 740908b to cb71527 Compare September 22, 2026 18:12
@yili-db
yili-db merged commit 2725aee into unitycatalog:main Sep 22, 2026
16 checks passed
newfront pushed a commit to newfront/unitycatalog that referenced this pull request Sep 24, 2026
**PR Checklist**

- [x] A description of the changes is added to the description of this
PR.
- [ ] If there is a related issue, make sure it is linked to this PR.
- [ ] If you've fixed a bug or added code that should be tested, add
tests!
- [ ] If you've added or modified a feature, documentation in `docs` is
updated

**Description of changes**

- Log at warn before swallowing best-effort Iceberg metadata cleanup
failures, so a persistent credential or permission problem stays
diagnosable instead of being dropped silently.
- Document that uniform_iceberg_metadata_location holds either a Delta
UniForm projection or a native Iceberg pointer: the name is a misnomer,
a non-null value does not imply a Delta table, and the field must be
read together with data_source_format.

---------

Signed-off-by: Yi Li <[email protected]>
moomindani added a commit to moomindani/unitycatalog that referenced this pull request Sep 24, 2026
Resolves the conflict with unitycatalog#1802, which renamed TableInfoDAO's
uniformIcebergMetadataLocation field to icebergMetadataLocation. The
listing's criteria predicate names that attribute as a string, so it is
renamed there too; the compiler cannot catch it.

Co-authored-by: Isaac <[email protected]>
Signed-off-by: Noritaka Sekiyama <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants