[ 
https://issues.apache.org/jira/browse/CALCITE-5949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claude Brisson updated CALCITE-5949:
------------------------------------
    Description: 
While reducing, when encountering an invalid expression in the list of constant 
expressions, RexExecutor is meant to return all initial expressions unchanged.

It fails to do so, because already handled correct expressions have already 
been added to the returned list, which can be greater than the input list.

For instance, when given the list \{ LN(2), LN(-2) }, the RexExecutor will 
output a list of length 3.

  was:
While reducing, when encountering an invalid expression in the list of constant 
expressions, RexExecutor is meant to return all initial expressions unchanged.

It fails to do so, because already handled correct expressions have already 
been added to the returned list, which can be greater than the input list.

 


> RexExecutable correct handling of invalid constant expressions
> --------------------------------------------------------------
>
>                 Key: CALCITE-5949
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5949
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: Claude Brisson
>            Priority: Major
>
> While reducing, when encountering an invalid expression in the list of 
> constant expressions, RexExecutor is meant to return all initial expressions 
> unchanged.
> It fails to do so, because already handled correct expressions have already 
> been added to the returned list, which can be greater than the input list.
> For instance, when given the list \{ LN(2), LN(-2) }, the RexExecutor will 
> output a list of length 3.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to