We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb0496 commit a6880afCopy full SHA for a6880af
core/trino-main/src/main/java/io/trino/sql/DynamicFilters.java
@@ -305,8 +305,8 @@ public Domain applyComparison(Domain domain)
305
Range span = domain.getValues().getRanges().getSpan();
306
return switch (operator) {
307
case EQUAL -> {
308
- if (!nullAllowed && domain.isNullAllowed()) {
309
- yield Domain.create(domain.getValues(), false);
+ if (nullAllowed != domain.isNullAllowed()) {
+ yield Domain.create(domain.getValues(), nullAllowed);
310
}
311
yield domain;
312
0 commit comments