You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Brent Walter (JIRA)" <ji...@apache.org> on 2017/04/12 13:14:41 UTC
[jira] [Created] (BEAM-1947) DisplayData raises exception when
passed unicode string
Brent Walter created BEAM-1947:
----------------------------------
Summary: 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: Ahmet Altay
Priority: Trivial
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)