Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8018 +/- ##
==========================================
- Coverage 84.08% 83.88% -0.20%
==========================================
Files 361 366 +5
Lines 55121 55188 +67
Branches 14377 14393 +16
==========================================
- Hits 46348 46294 -54
- Misses 8611 8732 +121
Partials 162 162
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I haven’t reviewed it yet, but regarding "Modify This change may break that separation. If we decide to go in that direction, we should clean up the code accordingly. Instead of maintaining a mixed state - where we both synchronize the |
Itzikvaknin
left a comment
There was a problem hiding this comment.
Discussed this with @kei-nan , and it seems there’s no clean way to make this change without a significant refactor.
Given that, it feels reasonable to go ahead with the current change.
Left a few small comments.
|
/backport |
|
Backport failed for Please cherry-pick the changes locally and resolve any conflicts. git fetch origin 8.4
git worktree add -d .worktree/backport-8018-to-8.4 origin/8.4
cd .worktree/backport-8018-to-8.4
git switch --create backport-8018-to-8.4
git cherry-pick -x fa5e53694fe47742bc51fc20c3d6806561ca1f4b |
(cherry picked from commit fa5e536)
Describe the changes in the pull request
Current:
FT.HYBRID+LOAD *was crashing.The original code assumed all keys would exist in the destination lookup before
RLookupRow_WriteFieldsFromwas called, but withLOAD *, lookup keys are created dynamically during document loading.Change:
RLookupRow_WriteFieldsFrom()to create on-demand the missing keys only whenLOAD *is used.FT.HYBRID+LOAD *should work.Which additional issues this PR fixes
Main objects this PR modified
Mark if applicable
Note
Fixes crashes with
FT.HYBRID+LOAD *by deferring schema sync and creating missing lookup keys on demand.createMissingKeysflow:HybridLookupContextgains a flag;RLookupRow_WriteFieldsFrom(...)now acceptscreateMissingKeysand creates destination keys if absent (LOAD * case)hreq->reqflagsfrom parsed params; pass flag to merger viaHybridLookupContext_New;hybridMergerStoreUpstreamResultuses new APIQEXEC_AGG_LOAD_ALLis set; perform it only otherwise (both standalone and coordinator paths)FT.HYBRID ... LOAD *across field combinations and with yielded scoresWritten by Cursor Bugbot for commit de1733f. This will update automatically on new commits. Configure here.