[
https://issues.apache.org/jira/browse/FLINK-24024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743845#comment-17743845
]
Sergey Nuyanzin commented on FLINK-24024:
-----------------------------------------
Currently it seems that from one side SQL Standard's syntax like
{code:sql}
SESSION(data [PARTITION BY (keycols, ...)], DESCRIPTOR(timecol), gap)
{code}
is supported, however queries with {{PARTITION BY}}, {{ORDER BY}} do not pass
Calcite's validation and fail with
{quote}
Only tables with set semantics may be partitioned. Invalid PARTITION BY clause
in the 0-th operand of table function 'SESSION'
{quote}
queries without {{PARTITION BY}}, {{ORDER BY}} seems working
> Support session Window TVF
> ---------------------------
>
> Key: FLINK-24024
> URL: https://issues.apache.org/jira/browse/FLINK-24024
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Jing Zhang
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available, stale-assigned
>
>
> # Fix calcite syntax CALCITE-4337
> # Introduce session window TVF in Flink
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)