amol- commented on a change in pull request #11028:
URL: https://github.com/apache/arrow/pull/11028#discussion_r708084545



##########
File path: python/pyarrow/tests/test_table.py
##########
@@ -1577,10 +1577,13 @@ def test_table_repr_to_string():
                        metadata={b'foo': b'bar'})
 
     tab = pa.table([pa.array([1, 2, 3, 4], type='int16'),
-                    pa.array([1, 2, 3, 4], type='int32')], schema=schema)
+                    pa.array([10, 20, 30, 40], type='int32')], schema=schema)
     assert str(tab) == """pyarrow.Table
 c0: int16
-c1: int32"""
+c1: int32
+----
+c0: [[1,2,3,4]]
+c1: [[10,20,30,40]]"""

Review comment:
       there will be ellipsis, see
   ```
              pyarrow.Table
              c0: int16
              c1: int32
              ----
              c0: [[1,2,3,4,1,2,3,4,1,2,...3,4,1,2,3,4,1,2,3,4]]
              c1: 
[[10,20,30,40,10,20,30,40,10,20,...30,40,10,20,30,40,10,20,30,40]]
   ```




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