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


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/api/IgniteSqlImpl.java:
##########
@@ -660,7 +661,8 @@ private static SqlProperties toPropertiesBuilder(Statement 
statement) {
         return new SqlProperties()
                 .timeZoneId(statement.timeZoneId())
                 
.defaultSchema(IgniteNameUtils.parseIdentifier(statement.defaultSchema()))
-                .queryTimeout(statement.queryTimeout(TimeUnit.MILLISECONDS));
+                .queryTimeout(statement.queryTimeout(TimeUnit.MILLISECONDS))
+                .userName(Commons.SYSTEM_USER_NAME);

Review Comment:
   No, we set name SYSTEM for embedded case only. In other cases, default user 
name is "unknown".



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