Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
7.1.0, 7.0.3, 6.6.4
-
1
Description
If the query uses Legacy LOOK UP JOIN, subpaths can be missing. Expiration must get expiration through sub document API. However, in case of JOIN it only gets through Fetch Phase on the right side. This can cause expiration to be incorrectly returned as 0.
Reproduction
1. Insert the following document
2. Execute the following query and note the outcome:
expiration must be get through sub document API, In JOIN case it only got through Fetch on right side.
This query uses Legacy LOOK UP JOIN. so subpaths are missing in the plan operator.
{
},
SELECT META(r).expiration
LOOKUP JOIN (JOIN ... ON KEYS), LOOKUP NEST (NEST ... ON KEYS) need to be fixed
Also see if any change need legacy Index Joins