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

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

liupengcheng created CALCITE-4289:
-------------------------------------

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


 

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)