-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid recreating empty output vector repeatedly in HiveDataSource (#6942
) Summary: Pull Request resolved: #6942 In some low selectivity query with huge struct columns, we see the empty output gets destroyed and recreated repeatedly and making the query more than 4 times slower. Fix this by caching the empty output vector. Reviewed By: oerling Differential Revision: D50017249 fbshipit-source-id: 5c387ad1ee48ed7268b2c15570040cf7854c7aa9
- Loading branch information
1 parent
e2a61da
commit 4364ac5
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters