ygerzhedovich commented on code in PR #1590:
URL: https://github.com/apache/ignite-3/pull/1590#discussion_r1090388575
##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItDmlTest.java:
##########
@@ -107,13 +106,7 @@ public void mergeOpChangePrimaryKey() {
+ "WHEN MATCHED THEN UPDATE SET b = src.b, k1 = src.k1 "
+ "WHEN NOT MATCHED THEN INSERT (k1, k2, a, b) VALUES (src.k1,
src.k2, src.a, src.b)";
- sql(sql);
-
- assertQuery("SELECT * FROM test2 ORDER BY k1")
- .returns(222, 222, 1, 300, null)
- .returns(111, 333, 0, 100, "")
- .returns(444, 444, 2, 200, null)
- .check();
+ assertThrows(CalciteContextException.class, () -> sql(sql));
Review Comment:
Let's add the check SQL code here.
--
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]