You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nicholas Chammas (JIRA)" <ji...@apache.org> on 2015/05/12 01:01:01 UTC

[jira] [Created] (SPARK-7544) pyspark.sql.types.Row should implement __getitem__

Nicholas Chammas created SPARK-7544:
---------------------------------------

             Summary: pyspark.sql.types.Row should implement __getitem__
                 Key: SPARK-7544
                 URL: https://issues.apache.org/jira/browse/SPARK-7544
             Project: Spark
          Issue Type: Sub-task
          Components: PySpark, SQL
            Reporter: Nicholas Chammas
            Priority: Minor


Following from the related discussions in [SPARK-7505] and [SPARK-7133], the {{Row}} type should implement {{\_\_getitem\_\_}} so that people can do this

{code}
row['field']
{code}

instead of this:

{code}
row.field
{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