mattalbr commented on issue #33802:
URL: https://github.com/apache/beam/issues/33802#issuecomment-4483802385
So, a handful of months later I learned of an unfortunate side-effect of the
lack of generics -- I ended up writing these instead of
```
@dataclass.dataclass()
class NeatOutputClass[T]:
data: T
```
as
```
@dataclass.dataclass()
class NeatOutputClass:
data: Any
```
which prohibits us from using RowCoder and possibly (though I'm not quite
sure) results in data getting pickled. Unsurprisingly, this has been very bad
for performance of our pipeline. While I know we're unlikely to get full
generic support before 3.0, is there anything else we can do here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]