You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Reza ardeshir rokni (Jira)" <ji...@apache.org> on 2021/03/09 15:02:00 UTC
[jira] [Assigned] (BEAM-11940) JsonToRow try{}catch{} around output
can cause confusing behaviour
[ https://issues.apache.org/jira/browse/BEAM-11940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reza ardeshir rokni reassigned BEAM-11940:
------------------------------------------
Assignee: Reza ardeshir rokni
> JsonToRow try{}catch{} around output can cause confusing behaviour
> ------------------------------------------------------------------
>
> Key: BEAM-11940
> URL: https://issues.apache.org/jira/browse/BEAM-11940
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Affects Versions: 2.26.0
> Reporter: Reza ardeshir rokni
> Assignee: Reza ardeshir rokni
> Priority: P3
>
> JsonToRow :
>
> |try {|
> | | |
> | |output.get(PARSED_LINE).output(jsonToRow(objectMapper(), element));|
> | | |
> | |} catch (Exception ex) {|
> Can catch errors thrown downstream with runners that have fusion. This can be confusing as it can appear that the issue happens in the parse operation , when its really happening in a transform further down the DAG. This is made worse as different runners can show different behaviour in this situation.
>
> Replace with try\{i = parse}catch{} if i not null output
--
This message was sent by Atlassian Jira
(v8.3.4#803005)