HyukjinKwon commented on code in PR #39572:
URL: https://github.com/apache/spark/pull/39572#discussion_r1227660209
##########
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:
Hm, just noticed that we missed to fix `to_arrow_type` here. Meaning that
JVM -> Python will use `useLargeVarTypes` but Python -> JVM will use use
`useLargeVarTypes`.
--
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]