snuyanzin commented on code in PR #21759:
URL: https://github.com/apache/flink/pull/21759#discussion_r1091853874
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/SearchOperatorGen.scala:
##########
@@ -97,6 +97,9 @@ object SearchOperatorGen {
|if (!${needle.nullTerm}) {
| $resultTerm = $negation$setTerm.contains(${needle.resultTerm});
| $nullTerm = !$resultTerm && $setTerm.containsNull();
+ |} else if (${sarg.nullAs == RexUnknownAs.TRUE}) {
+ | $resultTerm = $negation$setTerm.containsNull();
+ | $nullTerm = !$resultTerm && $setTerm.containsNull();
Review Comment:
thanks for your feedback, i was able to reproduce the issue
will have a look and add more tests for that
--
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]