wangxiaojing commented on PR #10475:
URL: https://github.com/apache/gravitino/pull/10475#issuecomment-4551838639
Good point. loadTable(...) and paimonCatalog.alterTable(...) serve different
purposes here.
loadTable(...) is still on the Gravitino path for existence check /
authorization, so Gravitino remains the metadata authority.
paimonCatalog.getTable(...) is only for final Flink-side materialization
of the native Paimon table object.
The extra paimonCatalog.alterTable(...) is there to keep the embedded
paimonCatalog view aligned with the Gravitino-applied change, because otherwise
subsequent paimonCatalog.getTable(...) calls may still observe stale metadata.
--
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]