Skip to content

Commit e7c579f

Browse files
Aaaaaarondanny0405
authored andcommitted
[CALCITE-4106] Consider "listCoerced" in TypeCoercionImpl#inOperationCoercion (Jiatao Tao)
close #2214
1 parent d03ce47 commit e7c579f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/apache/calcite/sql/validate/implicit/TypeCoercionImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ protected boolean booleanEquality(SqlCallBinding binding,
529529
updateInferredType(node2, desired);
530530
}
531531
}
532+
coerced = coerced || listCoerced;
532533
} else {
533534
// Another sub-query.
534535
SqlValidatorScope scope1 = node2 instanceof SqlSelect

0 commit comments

Comments
 (0)