Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.5.0
-
Security Level: Public
-
4.5.0-913
-
Untriaged
-
Yes
Description
|
1. Load bucket default with 2016 docs.
2. Execute test_meta using command:
./testrunner -i rqg.ini doc-per-day=1,primary_indx_type=GSI,standard_buckets=1 -t tuqquery.tuq.QueryTests.test_meta,GROUP=SCALAR;META;P0
The above test fails executing below query:
cbq> SELECT distinct name FROM default WHERE META(default).id IS NOT NULL;
{
"requestID": "0692d111-e365-4e53-bc2c-4cb4f038fcbf",
"signature":
,
"results": [
],
"errors": [
],
"status": "stopped",
"metrics":
}
3.Below query works good:
cbq> SELECT distinct name FROM default WHERE META(default).`type` = "json";
{
"requestID": "5e9b2009-2147-457a-9a84-3357abd4e7c1",
"signature":
,
"results": [
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
{ "name": "employee-16" } ],
"status": "success",
"metrics":
}
Attachments
Issue Links
- relates to
-
MB-19372 N1QL "create index USING VIEW" based indexes have problems
- Closed
For Gerrit Dashboard: MB-17263 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
63359,2 | MB-17263 Use a single encoded value rather than an array. | master | query | Status: MERGED | +2 | +1 |