You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "stankiewicz (via GitHub)" <gi...@apache.org> on 2026/04/01 20:49:23 UTC

Re: [PR] Add python example for nested fields in programming guide [beam]

stankiewicz commented on code in PR #37958:
URL: https://github.com/apache/beam/pull/37958#discussion_r3024570079


##########
website/www/site/content/en/documentation/programming-guide.md:
##########
@@ -4206,6 +4206,11 @@ output_pc = input_pc | beam.Select("user_id")
 Support for Nested fields hasn't been developed for the Python SDK yet.
 {{< /paragraph >}}
 
+<< highlight py >>
+input_pc = ...  # {"shippingAddress": {"postCode": "12345"}}
+output_pc = input_pc | beam.Select("shippingAddress.postCode")

Review Comment:
   Hi, do you think it would work? can you validate?



-- 
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