zhangwl9 commented on code in PR #4334:
URL: https://github.com/apache/amoro/pull/4334#discussion_r3868490099
##########
amoro-ams/src/main/java/org/apache/amoro/server/catalog/CatalogBuilder.java:
##########
@@ -86,6 +86,13 @@ public static ServerCatalog buildServerCatalog(
"Table format %s is not supported for metastore type: %s",
tableFormats,
type);
+ Preconditions.checkState(
+ !(CATALOG_TYPE_REST.equals(type)
+ && tableFormats.contains(TableFormat.LANCE)
+ && tableFormats.size() > 1),
+ "REST catalog serves a single protocol per uri,"
+ + " Lance cannot be combined with other table formats: %s",
+ tableFormats);
Review Comment:
fixup in https://github.com/apache/amoro/pull/4341
--
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]