You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Rong Rong (Jira)" <ji...@apache.org> on 2020/01/03 17:00:00 UTC
[jira] [Created] (FLINK-15475) Add isOutputTypeUsed() API to
Transformation
Rong Rong created FLINK-15475:
---------------------------------
Summary: Add isOutputTypeUsed() API to Transformation
Key: FLINK-15475
URL: https://issues.apache.org/jira/browse/FLINK-15475
Project: Flink
Issue Type: Improvement
Components: API / Core, API / DataSet, API / DataStream
Reporter: Rong Rong
Assignee: Rong Rong
Currently there's no way to "peek" into a Transformation and see if OutputType has been used or not. The only way is to invoke the {{setOutputType}} API and wrap around it with a try-catch block.
It would be nice if we have a `isTypeUsed()` or `isOutputTypeUsed()` API to check whether a particular transformation has a definitive output type set / used or not.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)