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

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

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

Sean Owen updated SPARK-7544:
-----------------------------
    Assignee: Yanbo Liang

> 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
>            Assignee: Yanbo Liang
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> 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