You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zoltan Toth (JIRA)" <ji...@apache.org> on 2015/09/02 11:51:45 UTC

[jira] [Created] (SPARK-10417) Iterating through Column results in infinite loop

Zoltan Toth created SPARK-10417:
-----------------------------------

             Summary: Iterating through Column results in infinite loop
                 Key: SPARK-10417
                 URL: https://issues.apache.org/jira/browse/SPARK-10417
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 1.5.0
            Reporter: Zoltan Toth
            Priority: Minor


Iterating through a _Column_ object results in an infinite loop.

{code}
df = sqlContext.jsonRDD(sc.parallelize(['{"name": "El Magnifico"}']))
for i in df["name"]: print i
{code}

Result:
{code}
Column<name[0]>
Column<name[1]>
Column<name[2]>
Column<name[3]>
...
{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