graph-notebook icon indicating copy to clipboard operation
graph-notebook copied to clipboard

Add default for the max number of returned records displayed

Open bechbd opened this issue 1 year ago • 0 comments

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

bechbd avatar Mar 16 '23 20:03 bechbd