mansehajsingh commented on code in PR #1037:
URL: https://github.com/apache/polaris/pull/1037#discussion_r2004240212
##########
service/common/src/main/java/org/apache/polaris/service/catalog/PolarisCatalogHandlerWrapper.java:
##########
@@ -585,10 +595,19 @@ public LoadTableResponse createTableDirect(Namespace
namespace, CreateTableReque
if (isExternal(catalog)) {
throw new BadRequestException("Cannot create table on external
catalogs.");
}
- return doCatalogOperation(() -> CatalogHandlers.createTable(baseCatalog,
namespace, request));
+ return new ETaggedResponse<>(
+ doCatalogOperation(() -> CatalogHandlers.createTable(baseCatalog,
namespace, request)),
+ generateETagValueForTable(getTableEntity(identifier))
Review Comment:
See https://github.com/apache/polaris/pull/1037#issuecomment-2738021251 for
explanation of the new fix!
--
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]