spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burak Yavuz (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-18888) partitionBy in DataStreamWriter in Python throws _to_seq not defined
Date Thu, 15 Dec 2016 20:06:59 GMT

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

Burak Yavuz updated SPARK-18888:
--------------------------------
    Affects Version/s:     (was: 2.1.0)
                       2.0.2

> partitionBy in DataStreamWriter in Python throws _to_seq not defined
> --------------------------------------------------------------------
>
>                 Key: SPARK-18888
>                 URL: https://issues.apache.org/jira/browse/SPARK-18888
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark, Structured Streaming
>    Affects Versions: 2.0.2
>            Reporter: Burak Yavuz
>            Priority: Blocker
>
> {code}
> python/pyspark/sql/streaming.py in partitionBy(self, *cols)
>     716         if len(cols) == 1 and isinstance(cols[0], (list, tuple)):
>     717             cols = cols[0]
> --> 718         self._jwrite = self._jwrite.partitionBy(_to_seq(self._spark._sc, cols))
>     719         return self
>     720 
> NameError: global name '_to_seq' is not defined
> {code}



--
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


Mime
View raw message