Description
Verified this on both 7.0.3 and 7.0.4, the issue is consistent and not happening on 7.1.1.
Error with explain plan: Query error: Internal error generating query plan: TypeError: undefined is not an object (evaluating 'result.all_paths_used.forEach')
Steps to reproduce:
- Create a 1 node cluster with (KV+N1QL+GSI) and a test bucket
- Create primary index
- Explain below query from Query Workbench
SELECT META().id
|
FROM `test`
|
WHERE date < DATE_ADD_STR(NOW_UTC(), -2, 'day') |
Explain from CBQ is working fine.
Issue: