HyukjinKwon commented on code in PR #39572:
URL: https://github.com/apache/spark/pull/39572#discussion_r1227732519


##########
python/pyspark/sql/tests/pandas/test_pandas_map.py:
##########
@@ -68,6 +68,23 @@ def func(iterator):
         expected = df.collect()
         self.assertEqual(actual, expected)
 
+    def test_large_variable_types(self):
+        with self.sql_conf({"spark.sql.execution.arrow.useLargeVarTypes": 
True}):
+
+            def func(iterator):
+                for pdf in iterator:
+                    assert isinstance(pdf, pd.DataFrame)
+                    yield pdf

Review Comment:
   Let me make a followup.



##########
python/pyspark/sql/tests/pandas/test_pandas_map.py:
##########
@@ -68,6 +68,23 @@ def func(iterator):
         expected = df.collect()
         self.assertEqual(actual, expected)
 
+    def test_large_variable_types(self):
+        with self.sql_conf({"spark.sql.execution.arrow.useLargeVarTypes": 
True}):
+
+            def func(iterator):
+                for pdf in iterator:
+                    assert isinstance(pdf, pd.DataFrame)
+                    yield pdf

Review Comment:
   https://github.com/apache/spark/pull/41569 will add some test cases soon.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to