1. [SPARK-25072][PYSPARK] Forbid extra value for custom Row (details)
Commit 31dab7140a4b271e7b976762af7a36f8bfbb8381 by cutlerb
[SPARK-25072][PYSPARK] Forbid extra value for custom Row
## What changes were proposed in this pull request?
Add value length check in `_create_row`, forbid extra value for custom
Row in PySpark.
## How was this patch tested?
New UT in pyspark-sql
Closes #22140 from xuanyuanking/SPARK-25072.
Lead-authored-by: liyuanjian <> Co-authored-by:
Yuanjian Li <> Signed-off-by: Bryan Cutler
(cherry picked from commit c84bc40d7f33c71eca1c08f122cd60517f34c1f8)
Signed-off-by: Bryan Cutler <>
The file was modifiedpython/pyspark/sql/ (diff)
The file was modifiedpython/pyspark/sql/ (diff)