Need a SerializableThrowable for PAssert to capture the point of an assertion
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
For the regular Error class in Java, its stack trace is a transient attribute, so it's not serialized by any framework. We need a class that allows us to serialize these AssertionErrors to have them in PCollections.
Imported from Jira [BEAM-1898](https://issues.apache.org/jira/browse/BEAM-1898). Original Jira may contain additional context.
Reported by: pabloem.
Contributor guide
Research direction
Start by locating PAssert and the existing throwable or assertion handling, then inspect how failures are placed in PCollections. Confirm how Java Error stack traces behave during serialization; done means AssertionErrors can be serialized while retaining the assertion point in the resulting PCollections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100