Github user map222 commented on the issue:

    https://github.com/apache/spark/pull/17469
  
    The documentation unit test is now failing due to differences in python 2 
and 3 strings. This is one of the error messages using the python 3.4 kernel:
    ```File 
"/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/sql/column.py", 
line 122, in pyspark.sql.column.Column.endswith
    Failed example:
        df.filter(df.name.endswith('ice')).collect()
    Differences (ndiff with -expected +actual):
        - [Row(age=2, name=u'Alice')]
        ?                  -
        + [Row(age=2, name='Alice')]```
    
    I don't know how to fix this. I don't want to redefine `df` for each 
example. It looks like there is a function in the RDD to convert string types, 
https://github.com/apache/spark/blob/master/python/pyspark/rdd.py#L146


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to