KevinGG commented on PR #17278:
URL: https://github.com/apache/beam/pull/17278#issuecomment-1115475473

   This seems to have broken the `RowCoder.from_type_hint`.
   
   So for `SqlTransform` with `NamedTuple` defined in the `main` module, the 
below code will fail because `schema_from_element_type` does not know how to 
handle a `str` type hint:
   
   ```
   beam.coders.registry.register_coder(NamedTupleInMain, beam.coders.RowCoder)
   coder = beam.coders.registry.get_coder(NamedTupleInMain)
   ```
   
   I'll see if I can send an amendment to it.
   


-- 
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-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to