Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.25.0
Description
If we define a type checker with:
```
OperandTypes.or(
OperandTypes.variadic(SqlOperandCountRanges.from(3),
OperandTypes.variadic(SqlOperandCountRanges.from(4))
```
will throw a java.lang.IllegalArgumentException
The root cause is:
the minMin function of CompositeOperandTypeChecker should return the minimum of lower bound of all SqlOperandCountRange
Attachments
Issue Links
- links to