spark
spark copied to clipboard
[SPARK-49408][SQL] Use IndexedSeq in ProjectingInternalRow
What changes were proposed in this pull request?
In ProjectingInternalRow, accessing colOrdinals causes poor performace. Replace colOrdinals with the IndexedSeq type.
Why are the changes needed?
Replace colOrdinals with the IndexedSeq type.
Does this PR introduce any user-facing change?
No
How was this patch tested?
No need to add UT
Was this patch authored or co-authored using generative AI tooling?
No
@aokolnychyi Could you please review it? Really thanks!
Merged to master/3.5/3.4.
Thank you all.