Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.1
-
Docker image `couchbase/server:community-7.6.1`
-
Untriaged
-
Linux x86_64
-
0
-
Yes
Description
Using a `SELECT RAW` in Combination with an `ORDER BY` clause on a subquery causes an internal error in within the query-engine.
The Following Query:
SELECT RAW event FROM ( |
|
SELECT RAW { "date": NOW_MILLIS() } |
|
) event
|
ORDER BY event.date |
Results in the following result
[
|
{
|
"code": 5001, |
"msg": "Panic: runtime error: invalid memory address or nil pointer dereference" |
}
|
]
|
Attachments
Issue Links
- relates to
-
MB-47257 Distinct operator keeps reference to recycled annotated values
-
- Closed
-