Description
Following from the related discussions in SPARK-7505 and SPARK-7133, the Row type should implement __getitem__ so that people can do this
row['field']
instead of this:
row.field
Attachments
Attachments
Issue Links
- is duplicated by
-
SPARK-10056 PySpark Row - Support for row["columnName"] syntax
-
- Resolved
-
- relates to
-
SPARK-7133 Implement struct, array, and map field accessor using apply in Scala and __getitem__ in Python
-
- Resolved
-
-
SPARK-7505 Update PySpark DataFrame docs: encourage __getitem__, mark as experimental, etc.
-
- Closed
-
- links to