Repository navigation
Conversation
Decision Log
|
PR Reviewer Guide 🔍(Review updated until commit a130151)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 01738b3 |
PR Code Suggestions ✨Latest suggestions up to a130151
Previous suggestionsSuggestions up to commit 01738b3
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5961 +/- ##
=========================================
Coverage 89.12% 89.13%
- Complexity 12176 12177 +1
=========================================
Files 978 978
Lines 41815 41816 +1
Branches 4811 4811
=========================================
+ Hits 37269 37273 +4
+ Misses 3077 3075 -2
+ Partials 1469 1468 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…roject#5959) replace resolved every column it leaves unchanged with RelBuilder.field(String), which searches the field names linearly, so building its projection took O(fields^2) time on wide indices. Resolve those columns by ordinal through buildFieldIndex, which keeps the first ordinal of a repeated name as field(String) does, so the plan is unchanged. Signed-off-by: Jialiang Liang <jiallian@amazon.com>
01738b3 to
a130151
Compare
|
Persistent review updated to latest commit a130151 |
Swiddis
left a comment
There was a problem hiding this comment.
same as #5960 (comment)
Description
replacelooked up every column it leaves unchanged by name with a linear search, so on wide indices planning time grew with the square of the field count, no matter how many fields were replaced. It now builds a name-to-position map once and looks those columns up by position. The plan and query results are unchanged.Before / after:
source=wide_N | replace "s1" WITH "S1" IN status | head 10Related Issues
Resolves #5959
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.