zhengruifeng commented on code in PR #53873:
URL: https://github.com/apache/spark/pull/53873#discussion_r2711633514


##########
python/pyspark/tests/upstream/pyarrow/test_pyarrow_type_coercion.py:
##########
@@ -754,6 +764,48 @@ def test_pandas_instances_coercion(self):
         ]
         self._run_coercion_tests_with_values(datetime_cases)
 
+    @unittest.skipIf(not have_pandas, pandas_requirement_message)
+    @unittest.skipIf(
+        have_pyarrow and pyarrow_19_or_greater,
+        "PyArrow >= 19 has different type coercion behavior for 
ArrowDtype-backed Series",
+    )
+    def test_pandas_arrow_dtype_no_coercion_pyarrow18(self):
+        """Test PyArrow < 19 type coercion behavior for ArrowDtype-backed 
Series.
+
+        In PyArrow < 19, pa.array() with ArrowDtype-backed Series ignores the 
target type

Review Comment:
   this is what we want to catch from upstream changes!



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