beam icon indicating copy to clipboard operation
beam copied to clipboard

Unknown Coder URN beam:coder:pickled_python:v1 in SnowflakeIO for Python SDK

Open damccorm opened this issue 4 years ago • 2 comments

SnowflakeIO for Python SDK is not working. Each launch of the pipelines ends with the following error message. RuntimeError:


org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.UncheckedExecutionException:
org.apache.beam.vendor.guava.v26_0_jre.com.google.common.util.concurrent.UncheckedExecutionException:
java.lang.IllegalArgumentException: Unknown Coder URN beam:coder:pickled_python:v1. Known URNs: [beam:coder:avro:generic:v1,
beam:coder:bytes:v1, beam:coder:bool:v1, beam:coder:string_utf8:v1, beam:coder:kv:v1, beam:coder:varint:v1,
beam:coder:interval_window:v1, beam:coder:iterable:v1, beam:coder:timer:v1, beam:coder:length_prefix:v1,
beam:coder:global_window:v1, beam:coder:windowed_value:v1, beam:coder:param_windowed_value:v1, beam:coder:double:v1,
beam:coder:row:v1, beam:coder:sharded_key:v1, beam:coder:custom_window:v1]

 

Imported from Jira BEAM-14075. Original Jira may contain additional context. Reported by: sfc-gh-kbregula.

damccorm avatar Jun 05 '22 00:06 damccorm

You'll probably need to set the type or custom apache_beam.coders with .with_output_types(...) in the step right before the SnowflakeIO transformation.

mmas avatar Jun 28 '23 19:06 mmas

Resolved in #17054 (commit f779a3fca3).

damccorm avatar Nov 09 '26 19:11 damccorm