Skip to content

Conversation

asautins
Copy link

What changes were proposed in this pull request?

This PR proposes changing the value returned from ExplodeBase.eval from Array[IterableOnce] to IterableOnce[IternalRow]. Array converts to an IterableOnce with an implicit conversion. This change proposes directly returning an IterableOnce[InternalRow] object that is a thin wrapper around input.

Why are the changes needed?

I wouldn't say they are needed, however the current implementation creates an intermediate array that is populated and then iterated. The creation and population of the array would be eliminated with this PR.

Does this PR introduce any user-facing change?

This PR has no user facing changes.

How was this patch tested?

Github Actions

Was this patch authored or co-authored using generative AI tooling?

The creation of this patch was assisted by Microsoft Copilot. The initial change was made using Agent mode.

@github-actions github-actions bot added the SQL label Oct 11, 2025
@asautins asautins marked this pull request as ready for review October 11, 2025 18:34
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.

1 participant