Please sign in to comment.
[SPARK-23963][SQL] Properly handle large number of columns in query o…
…n text-based Hive table ## What changes were proposed in this pull request? TableReader would get disproportionately slower as the number of columns in the query increased. I fixed the way TableReader was looking up metadata for each column in the row. Previously, it had been looking up this data in linked lists, accessing each linked list by an index (column number). Now it looks up this data in arrays, where indexing by column number works better. ## How was this patch tested? Manual testing All sbt unit tests python sql tests Author: Bruce Robbins <firstname.lastname@example.org> Closes #21043 from bersprockets/tabreadfix.
- Loading branch information...
Showing with 1 addition and 1 deletion.