I am getting below error if I use .Fetch attribute in SELECT/WHERE clause
{
“code”: 3000,
“msg”: “syntax error - at Fetch”,
“query_from_user”: “SELECT * FROM system:completed_requests WHERE ElapsedTime > “8” AND PhaseCounts.Fetch IS NOT MISSING;”
}
But the query runs fine for PhaseCounts.IndexScan and PhaseCounts.Sort attributes. I am not sure why PhaseCounts.Fetch is not allowed in N1QL
Any help would really appreciated
Thanks and Regards,
Shankar Hendre