GitHub user viirya opened a pull request: https://github.com/apache/spark/pull/8934
[SPARK-10852][PySpark][SQL] Override built-in methods for special column names JIRA: https://issues.apache.org/jira/browse/SPARK-10852 For few special columns such as `count` and `index`, because they are built-in methods of `Row(tuple)` in Python. We should override them in order to properly access the values. You can merge this pull request into a Git repository by running: $ git pull https://github.com/viirya/spark-1 fix-py-special-column Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/8934.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 #8934 ---- commit 017b7ce7beea266670c1f645950b0b7e8777ab27 Author: Liang-Chi Hsieh <vii...@appier.com> Date: 2015-09-29T04:44:48Z Override built-in methods for special column names. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org