Skip to content

GH-19667: [C++][Gandiva] Replace RegexUtil out references with pointer out args#49879

Open
Reranko05 wants to merge 1 commit intoapache:mainfrom
Reranko05:gandiva-19667
Open

GH-19667: [C++][Gandiva] Replace RegexUtil out references with pointer out args#49879
Reranko05 wants to merge 1 commit intoapache:mainfrom
Reranko05:gandiva-19667

Conversation

@Reranko05
Copy link
Copy Markdown
Contributor

@Reranko05 Reranko05 commented Apr 28, 2026

Rationale for this change

Replaced mutable reference out arguments with pointer out arguments to align with Gandiva style guidance. This PR addresses a scoped RegexUtil slice of that issue.

What changes are included in this PR?

  • Replaced RegexUtil::SqlLikePatternToPcre mutable reference out arguments with pointer out arguments.
  • Updated related local call sites in regex_functions_holder.cc.
  • Updated affected test in regex_functions_holder_test.cc.

Are these changes tested?

  • Rebuilt with ninja gandiva
  • Ran regex-related tests successfully

Are there any user-facing changes?

No

@github-actions
Copy link
Copy Markdown

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

@Reranko05
Copy link
Copy Markdown
Contributor Author

@kou opened this PR for discussion.

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