Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4289

Wrong signature for SqlTumbleTableFunction

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.25.0
    • Fix Version/s: 1.26.0
    • Component/s: core

      Description

       

      The below code shows that it currently allows multiple descriptor operands, which is incorrect.

      
         @Override public String getAllowedSignatures(SqlOperator op, String opName) {
            return opName + "(TABLE table_name, DESCRIPTOR(col1, col2 ...), datetime interval"
                + "[, datetime interval])";
          }
      

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                liupengcheng liupengcheng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m