aws / aws/graph-notebook

Add default for the max number of returned records displayed

Open
#465 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
819
Forks
179
PR merge metrics
No merged PRs in 30d

Description

**Community Note**
* Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
* If you are interested in working on this issue or have submitted a pull request, please leave a comment.

**Describe the solution you'd like**
Currently, the graph notebook displays all the results returned for a query. This is problematic if you return large result sets, as they will cause the notebook to run slow and/or crash due to resource constraints. We should add functionality to the notebook to only show the top N (maybe 1000) results. This option could be overridden using a flag like `--max-results X`.
If you wanted the complete results, you can still get them via the `--store-to` feature. We should also add a note at the bottom of the table and graph displays that says something like `Showing the first 1000 results of XX`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.