This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new b4d34586ac [#8664] improvement(core): add missing space between the
table name and column list in insertModelMetaOnDuplicateKeyUpdate query (#8686)
b4d34586ac is described below
commit b4d34586ac6a4bf92844d05d4b26d5af4d41ba1d
Author: keepConcentration <[email protected]>
AuthorDate: Thu Sep 25 18:11:23 2025 +0900
[#8664] improvement(core): add missing space between the table name and
column list in insertModelMetaOnDuplicateKeyUpdate query (#8686)
### What changes were proposed in this pull request?
Fixed a missing space in the `insertModelMetaOnDuplicateKeyUpdate` query
where the column list directly followed `TABLE_NAME` without whitespace.
### Why are the changes needed?
Fix: #8664
### Does this PR introduce _any_ user-facing change?
No user-facing changes.
### How was this patch tested?
Executed existing unit tests
---
.../mapper/provider/postgresql/ModelMetaPostgreSQLProvider.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/ModelMetaPostgreSQLProvider.java
b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/ModelMetaPostgreSQLProvider.java
index 6ebfc639ad..0bfd0363f4 100644
---
a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/ModelMetaPostgreSQLProvider.java
+++
b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/ModelMetaPostgreSQLProvider.java
@@ -29,7 +29,7 @@ public class ModelMetaPostgreSQLProvider extends
ModelMetaBaseSQLProvider {
public String insertModelMetaOnDuplicateKeyUpdate(@Param("modelMeta")
ModelPO modelPO) {
return "INSERT INTO "
+ ModelMetaMapper.TABLE_NAME
- + "(model_id, model_name, metalake_id, catalog_id, schema_id,"
+ + " (model_id, model_name, metalake_id, catalog_id, schema_id,"
+ " model_comment, model_properties, model_latest_version, audit_info,
deleted_at)"
+ " VALUES (#{modelMeta.modelId}, #{modelMeta.modelName},
#{modelMeta.metalakeId},"
+ " #{modelMeta.catalogId}, #{modelMeta.schemaId},
#{modelMeta.modelComment},"