[jira] [Updated] (FLINK-15475) Add isOutputTypeUsed() API to Transformation

2021-07-29 Thread Konstantin Knauf (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Knauf updated FLINK-15475:
-
  Labels: stale-assigned  (was: auto-closed stale-assigned)
Priority: Not a Priority  (was: Minor)

> 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
>Priority: Not a Priority
>  Labels: stale-assigned
>
> Currently there's no way to "peek" into a `Transformation` object and see if 
> `typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
> API and wrap around it with a try-catch block similar to:
> {code:java}
> try {
>   (SingleOutputStreamOperator)dataStream
> .returns(myOutputType);
> } catch (ValidationException ex) {
>   // ... handle exception when type has been used.
> }
> {code}
> 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)


[jira] [Updated] (FLINK-15475) Add isOutputTypeUsed() API to Transformation

2021-04-22 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-15475:
---
Labels: stale-assigned stale-minor  (was: stale-minor)

> 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
>Priority: Minor
>  Labels: stale-assigned, stale-minor
>
> Currently there's no way to "peek" into a `Transformation` object and see if 
> `typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
> API and wrap around it with a try-catch block similar to:
> {code:java}
> try {
>   (SingleOutputStreamOperator)dataStream
> .returns(myOutputType);
> } catch (ValidationException ex) {
>   // ... handle exception when type has been used.
> }
> {code}
> 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)


[jira] [Updated] (FLINK-15475) Add isOutputTypeUsed() API to Transformation

2021-04-14 Thread Flink Jira Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flink Jira Bot updated FLINK-15475:
---
Labels: stale-minor  (was: )

> 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
>Priority: Minor
>  Labels: stale-minor
>
> Currently there's no way to "peek" into a `Transformation` object and see if 
> `typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
> API and wrap around it with a try-catch block similar to:
> {code:java}
> try {
>   (SingleOutputStreamOperator)dataStream
> .returns(myOutputType);
> } catch (ValidationException ex) {
>   // ... handle exception when type has been used.
> }
> {code}
> 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)


[jira] [Updated] (FLINK-15475) Add isOutputTypeUsed() API to Transformation

2020-01-03 Thread Rong Rong (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rong Rong updated FLINK-15475:
--
Description: 
Currently there's no way to "peek" into a `Transformation` object and see if 
`typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
API and wrap around it with a try-catch block similar to:

{code:java}
try {
  (SingleOutputStreamOperator)dataStream
.returns(myOutputType);
} catch (ValidationException ex) {
  // ... handle exception when type has been used.
}
{code}


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.



  was:
Currently there's no way to "peek" into a `Transformation` object and see if 
`typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
API and wrap around it with a try-catch block. See: 

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.




> 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
>Priority: Minor
>
> Currently there's no way to "peek" into a `Transformation` object and see if 
> `typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
> API and wrap around it with a try-catch block similar to:
> {code:java}
> try {
>   (SingleOutputStreamOperator)dataStream
> .returns(myOutputType);
> } catch (ValidationException ex) {
>   // ... handle exception when type has been used.
> }
> {code}
> 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)


[jira] [Updated] (FLINK-15475) Add isOutputTypeUsed() API to Transformation

2020-01-03 Thread Rong Rong (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rong Rong updated FLINK-15475:
--
Description: 
Currently there's no way to "peek" into a `Transformation` object and see if 
`typeUsed` has been set 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.



  was:
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.




> 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
>Priority: Minor
>
> Currently there's no way to "peek" into a `Transformation` object and see if 
> `typeUsed` has been set 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)


[jira] [Updated] (FLINK-15475) Add isOutputTypeUsed() API to Transformation

2020-01-03 Thread Rong Rong (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-15475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rong Rong updated FLINK-15475:
--
Description: 
Currently there's no way to "peek" into a `Transformation` object and see if 
`typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
API and wrap around it with a try-catch block. See: 

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.



  was:
Currently there's no way to "peek" into a `Transformation` object and see if 
`typeUsed` has been set 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.




> 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
>Priority: Minor
>
> Currently there's no way to "peek" into a `Transformation` object and see if 
> `typeUsed` has been set or not. The only way is to invoke the `setOutputType` 
> API and wrap around it with a try-catch block. See: 
> 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)