Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-52689 Save/restore of advisor structure for subquery
The main issue with this defect is that when we ADVISE for subqueries, there are a couple of additional structures in the builder that requires save/restore operation. This is in addition to the queryInfos map that is currently being saved/restored. Another issue is when we run ADVISE on subquery, if there is an error from the planner, do not simply return the error (e.g. no INDEX available). Let the logic continues such that we can advise indexes later. Change-Id: I5e8507a8b227106c51bc252361169d1fd3fd35bf Reviewed-on: https://review.couchbase.org/c/query/+/176692 Reviewed-by: Sitaram Vemulapalli <sitaram.vemulapalli@couchbase.com> Tested-by: Bingjie Miao <bingjie.miao@couchbase.com>
- Loading branch information
1 parent
f3d7995
commit 07773c6
Showing
3 changed files
with
64 additions
and
15 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
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