You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2024/10/22 17:02:00 UTC
[jira] [Closed] (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 ]
Dawid Wysakowicz closed FLINK-36543.
------------------------------------
Resolution: Fixed
Fixed in:
* master
** 55cc36a81553523b90b58d89c11ec5ba495f23f4
* 1.20
** 1aba7fd7ce369804e474bda7154c9976305d240c
> 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)