[
https://issues.apache.org/jira/browse/BEAM-5638?focusedWorklogId=199444&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-199444
]
ASF GitHub Bot logged work on BEAM-5638:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Feb/19 21:37
Start Date: 15/Feb/19 21:37
Worklog Time Spent: 10m
Work Description: wtanaka commented on issue #7736: [BEAM-5638] Exception
handling for Java MapElements and FlatMapElements
URL: https://github.com/apache/beam/pull/7736#issuecomment-464210191
The main advantage of an Either<BadT, GoodT> that I'm picturing is compile
time type safety for hooking up ptransforms and pcollections. With the
pcollection tuple class, I couldn't figure out a way to indicate at compile
time what the types of its constituent pcollections are. This then leads to
having difficulty coming up with a good statically type checked pattern for
creating reusable ptransform classes that have both a success outpit and a dead
letter output.
----------------------------------------------------------------
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: 199444)
Time Spent: 5h 50m (was: 5h 40m)
Remaining Estimate: 162h 10m (was: 162h 20m)
> 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: 5h 50m
> Remaining Estimate: 162h 10m
>
> 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)