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

Michael Armbrust updated SPARK-4051:
------------------------------------
    Assignee: Davies Liu

> Rows in python should support conversion to dictionary
> ------------------------------------------------------
>
>                 Key: SPARK-4051
>                 URL: https://issues.apache.org/jira/browse/SPARK-4051
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: Chris Grier
>            Assignee: Davies Liu
>
> When working with the output of a query against a sqlContext, the result a 
> Row object with fields accessible via dot notation rather than something 
> similar to a dictionary.
> The issue is that there are libraries (such as pandas and ggplot) that do not 
> know how to operate on Rows but you can supply field names for the libraries 
> to use. When the library attempts to use the row, it expects a data type like 
> a dictionary, indexable using brackets and named field i.e. obj["fieldname"].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to