Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.1.3
-
None
-
None
-
Impediment
-
1
Description
See updated pull request https://github.com/couchbase/docs-sdk-dotnet/pull/168 for a (currently commented out) section of code which fails.
This ran previously, as I'd created (manually) a dataset with the name "bucket.scope".
However, the escaping of the name containing dash is important. I think the dotNet version generates as (in this case)
`travel.sample.inventory`
|
whereas the Analytics dataset should be created (as per https://blog.couchbase.com/collections-simplify-your-analysis-with-couchbase-analytics/ ) like
`traval-sample`.inventory
|
This means that now that I've corrected the Analytics setup, the dotNet sample fails with
Unhandled exception. Couchbase.CouchbaseException: Analytics query failed: 24045 |
This isn't a very detailed error message (can I introspect it to get more info?) but I suspect it's constructing the Dataset name wrongly and not finding it, (as some other SDKs do exactly that)
Could you have a look and let me know if I've misunderstood usage?
NB: for the time being I've commented out the documentation of this feature.
Attachments
Issue Links
- blocks
-
DOC-7628 SDK Query & Analytics collections examples
- Resolved