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

Danny Chen commented on CALCITE-4295:
-------------------------------------

Thanks [~docete] for reporting this issue. Can you show a test case here ? A 
re-produceable test case would help people to understand your idea better.

> 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
>
> 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