JingsongLi commented on code in PR #6446:
URL: https://github.com/apache/paimon/pull/6446#discussion_r2453817060
##########
paimon-core/src/main/java/org/apache/paimon/table/CatalogEnvironment.java:
##########
@@ -115,7 +115,7 @@ public SnapshotCommit snapshotCommit(SnapshotManager
snapshotManager) {
@Nullable
public SnapshotLoader snapshotLoader() {
- if (catalogLoader == null) {
+ if (catalogLoader == null || !supportsVersionManagement) {
Review Comment:
external paimon table should not have catalog loader.
##########
paimon-core/src/main/java/org/apache/paimon/rest/RESTCatalog.java:
##########
@@ -442,6 +442,7 @@ public void createTable(Identifier identifier, Schema
schema, boolean ignoreIfEx
checkNotSystemTable(identifier, "createTable");
validateCreateTable(schema);
createExternalTablePathIfNotExist(schema);
+
Review Comment:
remove this
--
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]