[
https://issues.apache.org/jira/browse/BEAM-5638?focusedWorklogId=200635&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-200635
]
ASF GitHub Bot logged work on BEAM-5638:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Feb/19 14:54
Start Date: 19/Feb/19 14:54
Worklog Time Spent: 10m
Work Description: jklukas commented on issue #7736: [BEAM-5638] Exception
handling for Java MapElements and FlatMapElements
URL: https://github.com/apache/beam/pull/7736#issuecomment-465160750
Thanks for the thoughts, @tims. There's indeed quite a bit of nuance
surrounding how users might want to handle errors.
> I don't necessarily want my error handling to catch all errors
In the changes proposed here, it's the responsibility of your exception
handler to determine the classes of exceptions to catch. So this is explicitly
possible, although not entirely clear yet how onerous it will be to write the
handlers in practice.
> And wrapped PCollection are automatically unioned
That would be quite nice, but it does add complexity and restrictions. In
many, cases the type returned in each step of a series of transforms will be
different, and I'd generally expect it will be necessary to define an exception
handler per input type. I'm imagining that often users will want to preserve
the input element along with info about the exception, so that they can
reprocess the failed elements some time in the future.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 200635)
Time Spent: 7h 20m (was: 7h 10m)
Remaining Estimate: 160h 40m (was: 160h 50m)
> Add exception handling to single message transforms in Java SDK
> ---------------------------------------------------------------
>
> Key: BEAM-5638
> URL: https://issues.apache.org/jira/browse/BEAM-5638
> Project: Beam
> Issue Type: Improvement
> Components: sdk-java-core
> Reporter: Jeff Klukas
> Assignee: Jeff Klukas
> Priority: Minor
> Labels: triaged
> Original Estimate: 168h
> Time Spent: 7h 20m
> Remaining Estimate: 160h 40m
>
> Add methods to MapElements, FlatMapElements, and Filter that allow users to
> specify expected exceptions and tuple tags to associate with the with
> collections of the successfully and unsuccessfully processed elements.
> See discussion on dev list:
> https://lists.apache.org/thread.html/936ed2a5f2c01be066fd903abf70130625e0b8cf4028c11b89b8b23f@%3Cdev.beam.apache.org%3E
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)