Skip to content

Conversation

@shengquan-ni
Copy link
Contributor

@shengquan-ni shengquan-ni commented Oct 20, 2024

This PR correctly handles an empty table in ArrowTupleProvider. In such a case, the next function should raise StopIteration directly.

@shengquan-ni shengquan-ni self-assigned this Oct 20, 2024
@shengquan-ni shengquan-ni force-pushed the shengquan-fix-arrow-tuple-provider branch from 2d9b7d9 to 8d5f5eb Compare October 20, 2024 23:33
Copy link
Contributor

@Yicong-Huang Yicong-Huang left a comment

Choose a reason for hiding this comment

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

It will be good to include a small test case for this purpose. we have test_tuple.py.

Copy link
Contributor

@Yicong-Huang Yicong-Huang left a comment

Choose a reason for hiding this comment

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

LGTM

@shengquan-ni shengquan-ni merged commit f1c795a into master Oct 24, 2024
@shengquan-ni shengquan-ni deleted the shengquan-fix-arrow-tuple-provider branch October 24, 2024 03:44
PurelyBlank pushed a commit that referenced this pull request Dec 4, 2024
This PR correctly handles an empty table in ArrowTupleProvider. In such
a case, the `next` function should raise `StopIteration` directly.
@Yicong-Huang Yicong-Huang removed the bug label Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants