julianhyde commented on a change in pull request #1110: [CALCITE-2920]
RelBuilder: new method to create an antijoin
URL: https://github.com/apache/calcite/pull/1110#discussion_r266184059
##########
File path: core/src/test/java/org/apache/calcite/test/RelBuilderTest.java
##########
@@ -1428,6 +1428,27 @@ private void project1(int value, SqlTypeName
sqlTypeName, String message, String
assertThat(root, hasTree(expected));
}
+ @Test public void testAntiJoin() {
+ // Equivalent SQL:
+ // SELECT * FROM dept d WHERE NOT EXISTS (SELECT 1 FROM emp e WHERE
e.deptno = d.deptno)
+ final RelBuilder builder = RelBuilder.create(config().build());
+ RelNode root = builder
Review comment:
Indent should be 4 not 8
----------------------------------------------------------------
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]
With regards,
Apache Git Services