-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly record the rawBytesRead_ metric in TableScan (#8147)
Summary: Based on oerling design: _rawBytesRead is the quantized size of data read by a query. Read is the volume copied from storage. The second is 0 if data comes from caches. With DirectBufferedInput these are close but then read has unused coalesced columns counted where raw read does not. A column can be coalesced into IO but never hit by the query due to filtering._ Currently, `DirectBufferInput` only tracks `rawBytesRead` in the `loadSync` method. It does not track `rawBytesRead` in the asynchronous `loadData` method. This PR adds the `rawBytesRead` metric to the `loadData` method. Pull Request resolved: #8147 Reviewed By: Yuhta Differential Revision: D52616884 Pulled By: xiaoxmeng fbshipit-source-id: f56f72167ff4cd9ab1c1eb083791d7453de55e98
- Loading branch information
1 parent
de50afd
commit 6d2f0d4
Showing
4 changed files
with
9 additions
and
1 deletion.
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
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