Details
Description
1. start the local cluster
2. My file.txt contains:
drop dataverse couchbase;
create dataverse couchbase;
use couchbase;
create type `value` as open{};
create type meta as open
;
create dataset multiple(`value`) with meta(meta) primary key meta().id;
create feed multiple_feed using `com.couchbase.analytics.CouchbaseConnectorFactory`(
("bucket"="multiple_table_db"),
("nodes"="127.0.0.1"),
("password"="")
);
connect feed multiple_feed to dataset multiple;
I deliberately gave a bucket-name which doesnt exist on the cluster.
Issue the curl command, we see the following error message:
root@slv-s20301_c cbas-install]# curl -s --data pretty=true --data format=CLEAN_JSON --data-urlencode statement@file.txt http://localhost:8095/analytics/service
{
"requestID": "ed01ff5d-9ab5-4229-901f-e4b773cf5bc1",
"signature": "*",
"errors": [
],
"status": "fatal",
"metrics":
}