Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34338

An exception is thrown when some named params change order when using window tvf

    XMLWordPrintableJSON

Details

    Description

      This bug can be reproduced by the following sql in `WindowTableFunctionTest`

       

      @Test
      def test(): Unit = {
        val sql =
          """
            |SELECT *
            |FROM TABLE(TUMBLE(
            |   DATA => TABLE MyTable,
            |   SIZE => INTERVAL '15' MINUTE,
            |   TIMECOL => DESCRIPTOR(rowtime)
            |   ))
            |""".stripMargin
        util.verifyRelPlan(sql)
      }

      In Flip-145 and user doc, we can found `the DATA param must be the first`, but it seems that we also can't change the order about other params.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xuyangzhong xuyang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: