You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Rui Wang (Jira)" <ji...@apache.org> on 2020/09/28 18:02:00 UTC

[jira] [Resolved] (CALCITE-4289) Wrong signature for SqlTumbleTableFunction

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

Rui Wang resolved CALCITE-4289.
-------------------------------
    Resolution: Fixed

> Wrong signature for SqlTumbleTableFunction
> ------------------------------------------
>
>                 Key: CALCITE-4289
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4289
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.25.0
>            Reporter: liupengcheng
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.26.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
>  
> The below code shows that it currently allows multiple descriptor operands, which is incorrect.
> {code:java}
>    @Override public String getAllowedSignatures(SqlOperator op, String opName) {
>       return opName + "(TABLE table_name, DESCRIPTOR(col1, col2 ...), datetime interval"
>           + "[, datetime interval])";
>     }
> {code}
>  
>  



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