You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Dawid Wysakowicz (Jira)" <ji...@apache.org> on 2024/10/15 15:43:00 UTC
[jira] [Created] (FLINK-36543) Table API over windows cannot be string serialized
Dawid Wysakowicz created FLINK-36543:
----------------------------------------
Summary: 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
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)