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)