Maciej Bryński created SPARK-10056:
--------------------------------------

             Summary: PySpark Row - Support for row["columnName"]
                 Key: SPARK-10056
                 URL: https://issues.apache.org/jira/browse/SPARK-10056
             Project: Spark
          Issue Type: Improvement
            Reporter: Maciej Bryński


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 ishould bequite easy by 
implementing __getitem__ method.





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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to