nizhikov commented on a change in pull request #8821:
URL: https://github.com/apache/ignite/pull/8821#discussion_r582062269



##########
File path: 
modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/sql/GridSqlMerge.java
##########
@@ -36,24 +38,26 @@
 
     /** {@inheritDoc} */
     @Override public String getSQL() {
+        char delim = delimeter();
+
         StatementBuilder buff = new StatementBuilder(explain() ? "EXPLAIN " : 
"");
         buff.append("MERGE INTO ")
             .append(into.getSQL())
             .append("(");
 
         for (GridSqlColumn col : cols) {
             buff.appendExceptFirst(", ");
-            buff.append('\n')
+            buff.append(delim)
                 .append(col.getSQL());
         }
-        buff.append("\n)\n");
+        buff.append(delim).append(")").append(delim);

Review comment:
       Fixed.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to