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

Wrong signature for SqlTumbleTableFunction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.25.0
    • 1.26.0
    • 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

              Unassigned Unassigned
              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