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/25 16:20:00 UTC

[jira] [Closed] (BEAM-8301) Argument inference breaks on incomparable types as defaults.

     [ https://issues.apache.org/jira/browse/BEAM-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Bradshaw closed BEAM-8301.
---------------------------------
    Resolution: Fixed

> 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
>            Priority: Blocker
>             Fix For: 2.16.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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)