You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Mark Liu (Jira)" <ji...@apache.org> on 2019/09/25 15:32:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16937841#comment-16937841 ] 

Mark Liu commented on BEAM-8301:
--------------------------------

fix and cp is merged, can we close this jira?

> 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)