[
https://issues.apache.org/jira/browse/BEAM-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971142#comment-15971142
]
Pablo Estrada commented on BEAM-1947:
-------------------------------------
This was fixed in
https://github.com/apache/beam/commit/7daf9abd52d4b89c563d370396506d2db71b7700,
and should be available on the first stable release. Do you think we can mark
it as fixed?
> 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
>
> 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)