Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC-7628 fix analytics code sample and add scoped section #152

Merged

Conversation

osfameron
Copy link
Collaborator

No description provided.

Copy link
Contributor

@maria-robobug maria-robobug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGMT, just minor comment

@@ -87,9 +88,30 @@ def main(self, args):

# tag::rowsasobject[]
result = cluster.analytics_query(
"select * from `travel-sample` limit 10"
"select * from airports limit 10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add a comment to say what's required for this code snippet to work? Will you need an airports DATAVERSE (can't remember if it's still called that)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! I've done that for the other SDK examples, will add...

(Though presumably the automation will add this too, at which point the dependencies will be specified in the README rather than needing to be dropped in various random files?)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah indeed! It might be useful for when we automate also to remind us what's required for the example to work. 👍

@osfameron osfameron merged commit dee3e91 into couchbase:release/3.1 Jun 7, 2021
@osfameron osfameron deleted the DOC-7628-scoped-analytics branch June 7, 2021 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants