Skip to content

Handle empty table in ArrowTupleProvider - #2955

Merged
shengquan-ni merged 3 commits into
masterfrom
shengquan-fix-arrow-tuple-provider
Oct 24, 2024
Merged

shengquan-ni merged 3 commits into
masterfrom
shengquan-fix-arrow-tuple-provider

Conversation

@shengquan-ni

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

Copy link
Copy Markdown
Contributor

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

@Yicong-Huang Yicong-Huang left a comment

Copy link
Copy Markdown
Contributor

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.

@Yicong-Huang Yicong-Huang left a comment

Copy link
Copy Markdown
Contributor

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
SarahAsad23 pushed a commit to madisonmlin/texera that referenced this pull request May 20, 2026
This PR correctly handles an empty table in ArrowTupleProvider. In such
a case, the `next` function should raise `StopIteration` directly.
yangzhang75 pushed a commit to yangzhang75/texera that referenced this pull request Jun 22, 2026
This PR correctly handles an empty table in ArrowTupleProvider. In such
a case, the `next` function should raise `StopIteration` directly.
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