Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix problematic to_arrow tests #3257

Merged
merged 13 commits into from
Apr 12, 2024
Merged

Fix problematic to_arrow tests #3257

merged 13 commits into from
Apr 12, 2024

Conversation

mxwli
Copy link
Collaborator

@mxwli mxwli commented Apr 11, 2024

Adds UNION exporting to get_as_arrow
Adds MAP exporting to get_as_arrow
Fixes REL exporting to get_as_arrow
Fixes INTERVAL exporting to get_as_arrow
Fixes broken tests _test_node, _test_node_rel, test_marries_table in test_arrow.py::test_to_arrow_complex
Does not fix test_to_arrow1, which calls get_as_arrow(-1) (what even is the expected behaviour of this?)

Mostly closes #2514

Adds coverage to #2539

@mxwli mxwli changed the title Fixe problematic to_arrow tests Fix problematic to_arrow tests Apr 11, 2024
@mxwli mxwli requested a review from acquamarin April 11, 2024 19:23
@mxwli mxwli removed the request for review from acquamarin April 11, 2024 20:00
Copy link
Contributor

@andyfengHKU andyfengHKU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall. Maybe let @ray6080 take another look tonight?

src/common/arrow/arrow_row_batch.cpp Show resolved Hide resolved
Makefile Show resolved Hide resolved
src/common/arrow/arrow_row_batch.cpp Show resolved Hide resolved
src/common/arrow/arrow_converter.cpp Show resolved Hide resolved
src/common/arrow/arrow_row_batch.cpp Show resolved Hide resolved
@mxwli mxwli merged commit 02b0e99 into master Apr 12, 2024
17 checks passed
@mxwli mxwli deleted the fix-2514 branch April 12, 2024 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python API test_arrow.test is not enabled
3 participants