Skip to content

GH-49159: [C++][Gandiva] Detect overflow in repeat()#49160

Open
kou wants to merge 1 commit intoapache:mainfrom
kou:gandiva-repeat
Open

GH-49159: [C++][Gandiva] Detect overflow in repeat()#49160
kou wants to merge 1 commit intoapache:mainfrom
kou:gandiva-repeat

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.

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.

1 participant