You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Zhenghua Gao (Jira)" <ji...@apache.org> on 2020/09/30 07:57:00 UTC
[jira] [Updated] (CALCITE-4295) Composite of two checker with
SqlOperandCountRange throws IllegalArgumentException
[ https://issues.apache.org/jira/browse/CALCITE-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhenghua Gao updated CALCITE-4295:
----------------------------------
Summary: Composite of two checker with SqlOperandCountRange throws IllegalArgumentException (was: The minMin function of CompositeOperandTypeChecker should returns the minimum of lower bound of all SqlOperandCountRange)
> Composite of two checker with SqlOperandCountRange throws IllegalArgumentException
> ----------------------------------------------------------------------------------
>
> 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: 0.5h
> 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)