kshitij12345 commented on code in PR #14181:
URL: https://github.com/apache/arrow/pull/14181#discussion_r977078038


##########
python/pyarrow/tests/test_compute.py:
##########
@@ -1731,6 +1731,22 @@ def test_cast():
     assert pc.cast(arr, expected.type) == expected
 
 
+def test_fsl_to_fsl_cast():
+    for value_type in (pa.bool_(), pa.float32(), pa.int64()):
+        # Valid case
+        # Different field name and different type.
+        cast_type = pa.list_(pa.field("element", value_type), 2)
+        fsl = pa.FixedSizeListArray.from_arrays(
+            pa.array([1, 2, 3, 4, 5, 6]), 2)

Review Comment:
   I believe that I have addressed the points. (1st and 2nd in Python test and 
3rd in C++ test)
   
   Sorry, I am new to the project so still learning the jargon (and might have 
missed to address the point) :)



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

Reply via email to