You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/10/15 15:47:00 UTC
[jira] [Updated] (FLINK-36543) Table API over windows cannot be string serialized
[ https://issues.apache.org/jira/browse/FLINK-36543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-36543:
-----------------------------------
Labels: pull-request-available (was: )
> 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: 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)