[
https://issues.apache.org/jira/browse/FLINK-25844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488174#comment-17488174
]
Francesco Guardiani commented on FLINK-25844:
---------------------------------------------
> We should check whether StreamStatementSet throws a helpful exception for
> DataStreams that we don't support yet.
For this particular point, simply executing {{StatementSet#compilePlan}} as
implemented in https://github.com/apache/flink/pull/18649 won't throw any
exception at all. But, when you invoke `CompiledPlan#writeFile`, it will fail
when going through the serializers, telling you the proper cause. I guess this
makes sense, as logically a plan can be compiled with {{DataStream}}s, but it
can't be persisted.
> Expose plan via StatementSet.compilePlan
> ----------------------------------------
>
> Key: FLINK-25844
> URL: https://issues.apache.org/jira/browse/FLINK-25844
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Timo Walther
> Assignee: Francesco Guardiani
> Priority: Major
> Labels: pull-request-available
>
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=191336489#FLIP190:SupportVersionUpgradesforTableAPI&SQLPrograms-StatementSets
> It should be marked as {{@Experimental}}. We should check whether
> {{StreamStatementSet}} throws a helpful exception for DataStreams that we
> don't support yet.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)