Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
None
-
None
-
None
-
Impediment
-
1
Description
With this collection:
This code:
bucket := cluster.Bucket("travel-sample") |
scope := bucket.Scope("inventory") |
results, err := scope.AnalyticsQuery("SELECT airportname, country FROM `airports-collection` WHERE country='France' LIMIT 2", nil) |
gives the error:
panic: dataverse not found | {"statement":"SELECT airportname, country FROM `airports-collection` WHERE country='France' LIMIT 2","client_context_id":"7052e7be-c842-4675-8f19-9a185db41ad3","errors":[{"Code":24034,"Message":"Cannot find dataverse with name `travel-sample`.inventory"} |
I'd expect the dataverse to be concatenated from the query_context as `travel-sample.inventory` as it is in the Java and dotNet SDKs.
(See DOC-7628 for links to PRs for those SDKs)
Attachments
Issue Links
- blocks
-
DOC-7628 SDK Query & Analytics collections examples
- Resolved