Details
-
Bug
-
Resolution: Fixed
-
Minor
-
6.0.0
-
Enterprise Edition 6.0.0 build 1305
-
Untriaged
-
Centos 64-bit
-
No
-
CX Sprint 112
Description
select * from ds where gender IN (select distinct RAW gender from ds)
|
Running the above query returns the below error on Analytics workbench.
"msg": "Type mismatch: function scan-collection expects its 1st input parameter to be type multiset or array, but the actual input type is object |
But the actual problem was missing Alias for outer query.
select * from ds d where d.gender IN (select RAW gender from ds limit 1) |
In case of N1QL the error we get if Alias is missing is "Duplicate subquery alias default".
Attachments
Issue Links
- relates to
-
MB-29519 [CX] Confusing error message reusing variable
- Closed