You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Burak Yavuz (JIRA)" <ji...@apache.org> on 2016/12/15 20:03:58 UTC
[jira] [Created] (SPARK-18888) partitionBy in DataStreamWriter in
Python throws _to_seq not defined
Burak Yavuz created SPARK-18888:
-----------------------------------
Summary: 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.1.0
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