suibianwanwank commented on code in PR #4177:
URL: https://github.com/apache/calcite/pull/4177#discussion_r1949539330
##########
core/src/main/java/org/apache/calcite/rel/rel2sql/RelToSqlConverter.java:
##########
@@ -456,7 +458,10 @@ public Result visit(Filter e) {
builder.context.toSql(null, e.getCondition())));
return builder.result();
} else {
- final Result x = visitInput(e, 0, Clause.WHERE);
+ Result x = visitInput(e, 0, Clause.WHERE);
+ if (e.getCondition().getKind() == NOT || e.getCondition().getKind() ==
EXISTS) {
Review Comment:
Could you add this test to the commit? I can't get it to pass on my
local(Maybe I got something wrong).
[Workflow](https://github.com/suibianwanwank/calcite/actions/runs/13245946689/job/36972377823)
--
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]