Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
While documenting DOC-7628 https://github.com/couchbase/docs-sdk-ruby/pull/20 it looks like the Analytics query under Scope fails with an error like:
.../.rvm/gems/ruby-3.0.0/gems/couchbase-3.0.3/lib/couchbase/scope.rb:102:in `analytics_query': uninitialized constant Couchbase::Scope::AnalyticsResult (NameError) |
from modules/howtos/examples/analytics.rb:91:in `<main>' |
This is with the following dataverses created;
CREATE DATAVERSE `travel-sample.inventory`;
|
USE `travel-sample.inventory`;
|
CREATE DATASET `airports-collection` ON `travel-sample`.inventory.airport;
|
That seems to match the RFC, and looks like it's what's implemented in the Java SDK, so raising as bug - although it could be my misunderstanding of how the feature should work?
(In either case, the relevant documentation section is commented out for now).