viirya commented on code in PR #3305:
URL: https://github.com/apache/arrow-rs/pull/3305#discussion_r1044917851
##########
arrow-pyarrow-integration-testing/tests/test_sql.py:
##########
@@ -113,6 +109,10 @@ def assert_pyarrow_leak():
),
]
+_unsupported_pyarrow_types = [
+ pa.decimal256(76, 38),
+]
+
@pytest.mark.parametrize("pyarrow_type", _supported_pyarrow_types, ids=str)
def test_type_roundtrip(pyarrow_type):
Review Comment:
Re-verified on local:
```python
>>> import pyarrow as pa
>>> dt = pa.union(
... [pa.field("a", pa.binary(10)), pa.field("b", pa.string())],
... mode=pa.lib.UnionMode_SPARSE,
... ),
>>> b = pa.array([], dt[0])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyarrow/array.pxi", line 320, in pyarrow.lib.array
File "pyarrow/array.pxi", line 39, in pyarrow.lib._sequence_to_array
File "pyarrow/error.pxi", line 144, in
pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 121, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: sparse_union
```
--
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]