GitHub user xuanyuanking opened a pull request:
https://github.com/apache/spark/pull/22140
[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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/xuanyuanking/spark SPARK-25072
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22140.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #22140
----
commit b8c6522bccde51584e9878144924fd7b92f8785f
Author: liyuanjian <liyuanjian@...>
Date: 2018-08-18T08:36:53Z
Forbidden extra value for custom Row
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]