You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Tathagata Das (JIRA)" <ji...@apache.org> on 2016/12/15 22:31:58 UTC
[jira] [Resolved] (SPARK-18888) partitionBy in DataStreamWriter in
Python throws _to_seq not defined
[ https://issues.apache.org/jira/browse/SPARK-18888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tathagata Das resolved SPARK-18888.
-----------------------------------
Resolution: Fixed
Assignee: Burak Yavuz
Fix Version/s: 2.1.0
> 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
> Assignee: Burak Yavuz
> Priority: Blocker
> Fix For: 2.1.0
>
>
> {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