jerryshao commented on code in PR #4350:
URL: https://github.com/apache/gravitino/pull/4350#discussion_r1721179121


##########
catalogs/catalog-hadoop/src/main/java/org/apache/gravitino/catalog/hadoop/HadoopCatalogOperations.java:
##########
@@ -460,12 +460,13 @@ public Schema alterSchema(NameIdentifier ident, 
SchemaChange... changes)
     }
 
     try {
-      SchemaEntity entity =
-          store.update(
-              ident,
-              SchemaEntity.class,
-              Entity.EntityType.SCHEMA,
-              schemaEntity -> updateSchemaEntity(ident, schemaEntity, 
changes));
+      store.update(
+          ident,
+          SchemaEntity.class,
+          Entity.EntityType.SCHEMA,
+          schemaEntity -> updateSchemaEntity(ident, schemaEntity, changes));
+       
+      SchemaEntity entity = store.get(ident, Entity.EntityType.SCHEMA, 
SchemaEntity.class);

Review Comment:
   I'm not sure why do you add this line of code here, can you explain more?



-- 
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]

Reply via email to