Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions python/pyarrow/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def test_is_nested_or_struct():

assert types.is_nested(struct_ex)
assert types.is_nested(pa.list_(pa.int32()))
assert types.is_nested(pa.list_(pa.int32(), 3))
assert types.is_nested(pa.large_list(pa.int32()))
assert not types.is_nested(pa.int32())

Expand Down
4 changes: 2 additions & 2 deletions python/pyarrow/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
lib.Type_DURATION} | _TIME_TYPES | _DATE_TYPES |
_INTERVAL_TYPES)
_UNION_TYPES = {lib.Type_SPARSE_UNION, lib.Type_DENSE_UNION}
_NESTED_TYPES = {lib.Type_LIST, lib.Type_LARGE_LIST, lib.Type_STRUCT,
lib.Type_MAP} | _UNION_TYPES
_NESTED_TYPES = {lib.Type_LIST, lib.Type_FIXED_SIZE_LIST, lib.Type_LARGE_LIST,
lib.Type_STRUCT, lib.Type_MAP} | _UNION_TYPES


@doc(datatype="null")
Expand Down