spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davies Liu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-10056) PySpark Row - Support for row["columnName"] syntax
Date Thu, 10 Sep 2015 20:56:45 GMT

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

Davies Liu resolved SPARK-10056.
--------------------------------
       Resolution: Fixed
         Assignee: Yanbo Liang
    Fix Version/s: 1.6.0

> PySpark Row - Support for row["columnName"] syntax
> --------------------------------------------------
>
>                 Key: SPARK-10056
>                 URL: https://issues.apache.org/jira/browse/SPARK-10056
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>            Reporter: Maciej BryƄski
>            Assignee: Yanbo Liang
>            Priority: Minor
>             Fix For: 1.6.0
>
>
> Right now you can get Row element:
> - by column name: row.columnName
> - by index: row[index] (where index is integer)
> My proposition is to add following syntax:
> row["columnName"]
> It will be solution similar to DataFrame behaviour and should be quite easy to implement
with __getitem__ method.



--
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


Mime
View raw message