beam-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Beam JIRA Bot (Jira)" <j...@apache.org>
Subject [jira] [Assigned] (BEAM-11940) JsonToRow can catch errors in downstream transforms
Date Thu, 15 Apr 2021 17:20:01 GMT

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

Beam JIRA Bot reassigned BEAM-11940:
------------------------------------

    Assignee:     (was: Reza ardeshir rokni)

> JsonToRow can catch errors in downstream transforms
> ---------------------------------------------------
>
>                 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, 2.27.0, 2.28.0
>            Reporter: Reza ardeshir rokni
>            Priority: P3
>              Labels: stale-assigned
>
> 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)

Mime
View raw message