Brian Hulette created BEAM-11690:
------------------------------------
Summary: Python SqlTransform fails with an unhelpful Java error
when type inference uses the pythonsdk_any fallback
Key: BEAM-11690
URL: https://issues.apache.org/jira/browse/BEAM-11690
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Reporter: Brian Hulette
Assignee: Brian Hulette
See
https://stackoverflow.com/questions/65903919/local-testing-apache-beam-with-sqltransform-in-python-sdk-i-receive-an-error
for a good example of this.
We should throw a more helpful error in this situation:
- It should mention the problematic field(s)
- It should suggest a solution (try wrapping in casts if using beam.Row, don't
use Any in a NamedTuple)
- It might point to some documentation about supported SQL types.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)