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

    https://github.com/apache/spark/pull/18444#discussion_r124536696
  
    --- Diff: python/pyspark/sql/tests.py ---
    @@ -2259,6 +2261,69 @@ def test_BinaryType_serialization(self):
             df = self.spark.createDataFrame(data, schema=schema)
             df.collect()
     
    +    # test for SPARK-16542
    +    def test_array_types(self):
    +        # This test need to make sure that the Scala type selected is at 
least
    +        # as large as the python's types. This is necessary because 
python's
    +        # array types depend on C implementation on the machine. Therefore 
there
    +        # is no machine independent correspondence between python's array 
types
    +        # and Scala types.
    +        # See: https://docs.python.org/2/library/array.html
    --- End diff --
    
    @ueshin The answer to your question is explained here, a couple lines of 
comments I just added.


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

Reply via email to