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

[jira] [Commented] (BEAM-8188) pyarrow imports should be guarded with try/except

    [ https://issues.apache.org/jira/browse/BEAM-8188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926211#comment-16926211 ] 

Valentyn Tymofieiev commented on BEAM-8188:
-------------------------------------------

Sample import guard: https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/tfrecordio_test.py#L50

> pyarrow imports should be guarded with try/except
> -------------------------------------------------
>
>                 Key: BEAM-8188
>                 URL: https://issues.apache.org/jira/browse/BEAM-8188
>             Project: Beam
>          Issue Type: Bug
>          Components: io-py-parquet
>            Reporter: Valentyn Tymofieiev
>            Priority: Major
>
> pyarrow has elaborate requirements to target platform, see BEAM-6287, BEAM-8181.
> Rather than repeating them through the codebase, we should attempt to import and fail gracefully. 
> cc: [~udim] [~heejong] [~ostrokach]



--
This message was sent by Atlassian Jira
(v8.3.2#803003)