xuyang created FLINK-34338:
------------------------------

             Summary: An exception is thrown when some named params change 
order when using window tvf
                 Key: FLINK-34338
                 URL: https://issues.apache.org/jira/browse/FLINK-34338
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / API
    Affects Versions: 1.15.0
            Reporter: xuyang
             Fix For: 1.19.0


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

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

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to