[ 
https://issues.apache.org/jira/browse/CALCITE-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204489#comment-17204489
 ] 

Zhenghua Gao commented on CALCITE-4295:
---------------------------------------

[~danny0405] The PR contains a re-produceable test case

> The minMin function of CompositeOperandTypeChecker should returns the minimum 
> of lower bound of all SqlOperandCountRange
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4295
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4295
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.25.0
>            Reporter: Zhenghua Gao
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
>  
>     



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to