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

    https://github.com/apache/spark/pull/22275#discussion_r232420015
  
    --- Diff: python/pyspark/sql/tests.py ---
    @@ -4923,6 +4923,34 @@ def test_timestamp_dst(self):
             self.assertPandasEqual(pdf, df_from_python.toPandas())
             self.assertPandasEqual(pdf, df_from_pandas.toPandas())
     
    +    def test_toPandas_batch_order(self):
    +
    +        def delay_first_part(partition_index, iterator):
    +            if partition_index == 0:
    +                time.sleep(0.1)
    --- End diff --
    
    I like this :)


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to