You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2020/11/12 10:08:00 UTC

[jira] [Resolved] (CALCITE-4390) SqlMatchRecognize returns wrong operand list

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

Ruben Q L resolved CALCITE-4390.
--------------------------------
    Fix Version/s: 1.27.0
       Resolution: Fixed

Fixed via https://github.com/apache/calcite/commit/0ce7685477d33374ddf0fe7f32b5a2d04040b47c

Thanks [~dwysakowicz] for the patch!

> SqlMatchRecognize returns wrong operand list
> --------------------------------------------
>
>                 Key: CALCITE-4390
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4390
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.27.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The {{SqlMatchRecognize}} does not return full list of its operands. The method {{SqlMatchRecognizeOperator#createCall}} expects 12 operands whereas {{SqlMatchRecognize#getOperandList}} returns only 10. It misses {{rowsPerMatch}} and {{interval}}.
> It results that the {{SqlShuttle}} and more concretely the {{CallCopyingArgHandler}} does not work with {{SqlMatchRecognize}}.



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