You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pete Fein (JIRA)" <ji...@apache.org> on 2016/10/06 17:05:20 UTC

[jira] [Updated] (SPARK-17808) BinaryType fails in Python 3 due to outdated Pyrolite

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

Pete Fein updated SPARK-17808:
------------------------------
    Attachment: demo_output.txt
                demo.py

> BinaryType fails in Python 3 due to outdated Pyrolite
> -----------------------------------------------------
>
>                 Key: SPARK-17808
>                 URL: https://issues.apache.org/jira/browse/SPARK-17808
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 2.0.1
>         Environment: spark-2.0.1-bin-hadoop2.7 with Python 3.4.3 on Ubuntu 14.04.4 LTS
>            Reporter: Pete Fein
>         Attachments: demo.py, demo_output.txt
>
>
> Attempting to create a DataFrame using a BinaryType field fails under Python 3 because the underlying Pyrolite library is out of date. Spark appears to be using Pyrolite 4.9; this issue was fixed in Pyrolite 4.12. See [original bug report|https://github.com/irmen/Pyrolite/issues/36] and [patch|https://github.com/irmen/Pyrolite/commit/eec11786746d933b9d2c3eaeb1e1486319ae436e]
> Test case & output attached. I'm just a Python guy, not really sure how to build Spark / do classpath magic to test if this works correctly with updated Pyrolite.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org