Github user HyukjinKwon commented on the issue: https://github.com/apache/spark/pull/14063 Sure, It seems the output for nested class is varied by the version of Python. First, I updated this to `<pyspark.sql.session.SparkSession.Builder object at ...>` and got this error below with `pypy`: ```python Expected: <pyspark.sql.session.SparkSession.Builder object at ...> Got: <pyspark.sql.session.Builder object at 0x000000000163e4b8> ``` then I updated this to `<pyspark.sql.session.Builder object at ...>` and got this error below with `python 3.4`: ```python Expected: <pyspark.sql.session.Builder object at ...> Got: <pyspark.sql.session.SparkSession.Builder object at 0x7f8c5657d9e8> ``` I tested this with Python 2.7 and 3.4 with this module below: - `test.py` ``` class SparkSession(object): class Builder(object): pass builder = Builder() ``` - Python 2.7 shell ```python >>> from test import SparkSession >>> SparkSession.builder <test.Builder object at 0x7fa9224fa650> ``` - Python 3.4 shell ```python >>> from test import SparkSession >>> SparkSession.builder <test.SparkSession.Builder object at 0x7f11e79e18d0> ```
--- 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