Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
-
None
Description
While working on BEAM-12384 to preserve correctly the typeDescriptor of the Read transform. I noticed that ParDo passes the outputType information into the next transforms by taking the output of `getOutputTypeDescriptor` specified in the `DoFn`, but the subsequent transform does not get the full inputTypeDescriptor.
There are other open questions:
1. How can we make this easier for users who rarely override the getOutputTypeDescriptor?
2. Where the typeDescriptor should come in the SDF case, from the Restriction?
For more details:
https://github.com/apache/beam/pull/14854#issuecomment-848793500
Attachments
Issue Links
- is related to
-
BEAM-12384 Read.Bounded typeDescriptor is not set properly
- Resolved