You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/10/05 03:26:00 UTC
[jira] [Created] (FLINK-14323) Serialize Expression to String and
parse String to Expression
Jark Wu created FLINK-14323:
-------------------------------
Summary: Serialize Expression to String and parse String to Expression
Key: FLINK-14323
URL: https://issues.apache.org/jira/browse/FLINK-14323
Project: Flink
Issue Type: Sub-task
Components: Table SQL / API, Table SQL / Planner
Reporter: Jark Wu
In order to persist/store the watermark strategy expression (and the future computed column expression), we should find a way to serialize Expression to String and parse String back to Expression.
More details can be discussed under this JIRA issue, and this may need another FLIP.
There are two ways:
1) introduce a {{SqlExpression}} which wraps the raw SQL string and resolved DataType. Only implement the asSerializableString for {{SqlExpression}}.
2) support all of the ResolvedExpressions’ asSerializableString.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)