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

examples: general review and restructuring of examples #82

Open
karel-rehor opened this issue Apr 5, 2024 · 0 comments
Open

examples: general review and restructuring of examples #82

karel-rehor opened this issue Apr 5, 2024 · 0 comments
Assignees

Comments

@karel-rehor
Copy link
Contributor

Use Case

Examples should be organized to guide new and experienced users in how best to start with and then use the library with more advanced features. Examples, or new user examples at least, should also probably be self contained without dependencies on other examples having been run. For example a query example should not depend on the earlier run of a write example.

This is just a suggestion to

  1. Document current examples
  2. Reorganize/rename them
  3. Ensure that they are sane for introductory user accounts with limited assets
  4. Introduce one or two self-contained getting started ones

Expected behavior

That when using a initial user account, which will have limited assets, each example can be used and that an example will not push the account to exceed those limits.

That introductory examples should be self-contained, without depending on another example to prepare the state of the database.

Actual behavior

When running Examples/cloud_dedicated_query.py the example fails with the following error.

pyarrow.lib.ArrowInvalid: Flight returned invalid argument error, with message: bucket "flight2" not found. gRPC client debug context: UNKNOWN:Error received from peer ipv4:34.196.233.7:443 {created_time:"2024-04-05T10:59:19.006603056+02:00", grpc_status:3, grpc_message:"bucket \"flight2\" not found"}. Client context: IOError: Server never sent a data message. Detail: Internal

Or when running Examples/batching_example.py the example fails with the following...

The retriable error occurred during request. Reason: 'org fbb67cd4c8905be6 has exceeded limited_write plan limit'. Retry in 206s.

Additional info

No response

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

No branches or pull requests

1 participant