beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmet Altay (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-1947) DisplayData raises exception when passed unicode string
Date Mon, 17 Apr 2017 16:18:41 GMT

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

Ahmet Altay resolved BEAM-1947.
-------------------------------
       Resolution: Fixed
    Fix Version/s: First stable release

> DisplayData raises exception when passed unicode string
> -------------------------------------------------------
>
>                 Key: BEAM-1947
>                 URL: https://issues.apache.org/jira/browse/BEAM-1947
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>    Affects Versions: 0.6.0
>         Environment: Python 2.7.13
>            Reporter: Brent Walter
>            Assignee: Pablo Estrada
>            Priority: Trivial
>              Labels: newbie
>             Fix For: First stable release
>
>
> Passing a unicode string as file_pattern to apache_beam.io.ReadFromText generates a ValueError:
'Invalid DisplayDataItem. Value {} is of an unsupported type.'
> Cause:
> In apache_beam/transforms/display.py:
> typeDict in DisplayDataItem doesn't contain an entry for unicode
> _get_value_type(u'unicode') == None
> is_valid() raises ValueError



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message