You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Bradshaw (Jira)" <ji...@apache.org> on 2019/09/23 17:49:00 UTC
[jira] [Created] (BEAM-8301) Argument inference breaks on
incomparable types as defaults.
Robert Bradshaw created BEAM-8301:
-------------------------------------
Summary: Argument inference breaks on incomparable types as defaults.
Key: BEAM-8301
URL: https://issues.apache.org/jira/browse/BEAM-8301
Project: Beam
Issue Type: Bug
Components: sdk-py-core
Affects Versions: 2.16.0
Reporter: Robert Bradshaw
Fix For: 2.16.0
A common culprit is numpy arrays, e.g.
{code:python}
class MyDoFn(beam.DoFn):
def process(element, arg=np.ndarray(...)):
...
{code}
This bug was introduced as part of [BEAM-7060].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)