[ 
https://issues.apache.org/jira/browse/FLINK-36543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891817#comment-17891817
 ] 

Martijn Visser commented on FLINK-36543:
----------------------------------------

[~dwysakowicz] Don't forget to close this one :)

> Table API over windows cannot be string serialized
> --------------------------------------------------
>
>                 Key: FLINK-36543
>                 URL: https://issues.apache.org/jira/browse/FLINK-36543
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>    Affects Versions: 1.20.0
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0, 1.20.1
>
>
> {code}
> Table res = env.from("data")
>   .window(Over.partitionBy($("k")).orderBy($("ts")).as("w"))
>   .select($("k"), $("ts"), $("v").lastValue().over($("w")));
> {code}
> Query like above cannot be string serialized. It fails with:
> {code}
> Caused by: org.apache.flink.table.api.TableException: Literals with SYMBOL 
> NOT NULL are not SQL serializable.
> {code}



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

Reply via email to