Description
Query issued:
|
select coverage_tests.P0 from default_shadow;
|
gives empty results along with P0:0
|
|
}, {
|
"P0": 0
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
"P0": 0
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
"P0": 0
|
}, {
|
|
}, {
|
|
}, {
|
"P0": 0
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
"P0": 0
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
"P0": 0
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
}, {
|
|
|
|
But:
|
select compare from default_shadow let compare = (coverage_tests.P0 is null)
|
gives false even for empty result in first query.
|
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
}, {
|
"compare": false
|
} ]
|
|
|
But n1ql gives empty result in that case.
|
|
Uploading the dataset against which these queries were issued.
|
The steps are the same as in other bugs:
|
use Default;
|
create bucket default with {{"bucket":"default","nodes":"hostname","password":""}} ;
|
create shadow dataset default_shadow on default;
|
connect bucket default;
|
|
And then use curl command :
|
curl -s --data pretty=true --data-urlencode statement@file.txt http://172.23.107.182:8095/analytics/service
|
|
|