yuqi1129 commented on code in PR #8354:
URL: https://github.com/apache/gravitino/pull/8354#discussion_r2321600420
##########
core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/CatalogMetaPostgreSQLProvider.java:
##########
@@ -29,17 +29,17 @@ public class CatalogMetaPostgreSQLProvider extends
CatalogMetaBaseSQLProvider {
public String softDeleteCatalogMetasByCatalogId(Long catalogId) {
return "UPDATE "
+ TABLE_NAME
- + " SET deleted_at = floor(extract(epoch from((current_timestamp -"
- + " timestamp '1970-01-01 00:00:00')*1000)))"
+ + " SET deleted_at = floor(extract(epoch from(current_timestamp -"
+ + " timestamp '1970-01-01 00:00:00'))*1000) "
Review Comment:
OK, it's best to do so.
--
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]