AMashenkov commented on code in PR #2271:
URL: https://github.com/apache/ignite-3/pull/2271#discussion_r1262390464


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/prepare/ddl/DdlSqlToCommandConverter.java:
##########
@@ -772,7 +766,7 @@ private <S, T> void updateCommandOption(
         try {
             value0 = value.getValueAs(optInfo.type);
         } catch (Throwable e) {
-            throw new IgniteException(QUERY_VALIDATION_ERR, String.format(
+            throw new IgniteException(STMT_VALIDATION_ERR, String.format(

Review Comment:
   ```suggestion
               throw new SqlException(STMT_VALIDATION_ERR, String.format(
   ```



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to