You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "Abacn (via GitHub)" <gi...@apache.org> on 2023/03/07 22:18:49 UTC
[GitHub] [beam] Abacn commented on issue #25749: [Task]: Make beam.Row() more robust for cross-language use
Abacn commented on issue #25749:
URL: https://github.com/apache/beam/issues/25749#issuecomment-1458950868
I think #11901 is working here. That PR added method to create schema from typehint.
The typehint of this lambda is int:
```
beam.Map(lambda el: beam.Row(num=int(el['num'])))
```
so it works.
This lambda does not have typehint so it gives Any:
```
beam.Map(lambda el: beam.Row(num=el['num']))
```
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org