Details
Description
Summary: When executing a query with a correlated subquery, I get an error.
Repro:
- Paste the the attached query.
- Execute. It can be on any bucket.
- Click "Plan" or "Plan Text"
Expected:
For "Plan", a visualized query plan. For "Plan Text", the raw information of the query plan.
Actual:
For "Plan", see planErrorMessage.txt. For "Plan Text", see planTextErrorMessage.png
Notes:
The query executes without error. It's only when clicking "Plan" or "Plan Text" is there an error.
This error happens on any bucket/collection, regardless of indexing. You can sub out "AdventureWorks2016.Production.Product" in query.n1ql to `travel-sample` or whatever and still get the error.