Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/13134#discussion_r63345939
  
    --- Diff: python/pyspark/sql/tests.py ---
    @@ -1036,8 +1036,15 @@ def test_access_column(self):
             self.assertRaises(TypeError, lambda: df[{}])
     
         def test_column_name_with_non_ascii(self):
    -        df = self.spark.createDataFrame([(1,)], ["数量"])
    -        self.assertEqual(StructType([StructField("数量", LongType(), 
True)]), df.schema)
    +        if sys.version >= '3':
    --- End diff --
    
    Is this the only place we use unicode() in pyspark? this otherwise looks 
like something that might need to be applied to other tests that try something 
similar?


---
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