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: [email protected]
For additional commands, e-mail: [email protected]