Details
-
Bug
-
Resolution: Fixed
-
Major
-
CBAS DP
-
analytics version:193
-
Untriaged
-
Centos 64-bit
-
Unknown
Description
Query issued:
SELECT distinct name FROM default_shadow WHERE META(default_shadow).`type` = "json";
Result:
curl -s --data pretty=true --data-urlencode statement@file2.txt http://172.23.107.182:8095/analytics/service
{
"requestID": "dceafdf2-814a-4170-8f84-0e608cd773be",
"signature": "*",
"results": [ ]
,
"status": "success",
"metrics":
}
This doesnt return any error for cbas.
n1ql meta function has following fields:
"$1":
while cbas meta function has:
"rev": 1,
"cas": 1475016704135397376,
"flags": -252645136,
"lock": 0,
"expiration": 0,
"id": "query-testemployee99397.2740161-0",
"seq": 1
If type is not being supported as meta, then it should return an error.