Skip to content

Conversation

@kou
Copy link
Member

@kou kou commented Feb 6, 2026

Rationale for this change

repeat() can only generate < 2147483647 size output. So output larger than 2147483647 must be rejected.

What changes are included in this PR?

Add overflow check in repeat().

Are these changes tested?

Yes.

Are there any user-facing changes?

Yes.

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

⚠️ GitHub issue #49159 has been automatically assigned in GitHub to PR creator.

@kou
Copy link
Member Author

kou commented Feb 6, 2026

@lriggs @akravchukdremio @xxlaykxx You may want to review this.

Copy link
Member

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

Not an expert but the fix looks good to me.

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Feb 9, 2026
@raulcd
Copy link
Member

raulcd commented Feb 9, 2026

@pitrou what do you think about this?
I plan to merge this and include it as part of 23.0.1 if there's no issues with it.
This is the only thing missing so far from me creating RC0.

@github-actions github-actions bot added awaiting changes Awaiting changes awaiting change review Awaiting change review and removed awaiting merge Awaiting merge awaiting changes Awaiting changes awaiting change review Awaiting change review labels Feb 10, 2026
@github-actions github-actions bot added awaiting change review Awaiting change review awaiting changes Awaiting changes and removed awaiting changes Awaiting changes awaiting change review Awaiting change review labels Feb 10, 2026
@raulcd raulcd requested a review from pitrou February 10, 2026 08:41
@raulcd
Copy link
Member

raulcd commented Feb 10, 2026

@pitrou I plan to merge this in a couple hours and proceed with the release. Just in case you want to take a look at the latest change.

@raulcd raulcd merged commit 8b83784 into apache:main Feb 10, 2026
59 of 60 checks passed
@raulcd raulcd removed the awaiting changes Awaiting changes label Feb 10, 2026
raulcd pushed a commit that referenced this pull request Feb 10, 2026
### Rationale for this change

`repeat()` can only generate `< 2147483647` size output. So output larger than `2147483647` must be rejected.

### What changes are included in this PR?

Add overflow check in `repeat()`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* GitHub Issue: #49159

Lead-authored-by: Sutou Kouhei <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
@kou kou deleted the gandiva-repeat branch February 10, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants