korlov42 commented on code in PR #6599:
URL: https://github.com/apache/ignite-3/pull/6599#discussion_r2358045631


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/ddl/DdlSqlToCommandConverter.java:
##########
@@ -365,6 +365,11 @@ private CompletableFuture<CatalogCommand> 
convertCreateTable(IgniteSqlCreateTabl
         }
 
         IgniteSqlPrimaryKeyConstraint pkConstraint = pkConstraints.get(0);
+        String pkName = null;
+        SqlIdentifier pkIdentifier = pkConstraint.getName();
+        if (pkIdentifier != null) {
+            pkName = deriveObjectName(pkIdentifier, ctx, "name of pk 
constraint");
+        }

Review Comment:
   I filed another jira for this improvement 
https://issues.apache.org/jira/browse/IGNITE-26462.



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