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

Elide large resultsets by default #38

Open
ijdickinson opened this issue Aug 10, 2018 · 1 comment
Open

Elide large resultsets by default #38

ijdickinson opened this issue Aug 10, 2018 · 1 comment

Comments

@ijdickinson
Copy link
Contributor

If a query produces many results (where 'many' probably should be a configurable value in the qonfig.json), allow the query to keep running but don't display all of the results. Goal is to prevent excessive browser memory usage. Instead, provide a show all affordance if the user really does want to re-run the query and render all of the results in browser

@paperclipmonkey
Copy link

Will work fine with Table or Text rendering.
With JSON:
Using a JS library that allows timeouts with partial download we could parse the returned JSON string first and if errors then try to fix (terminate) the file.
Similar to: https://gist.github.com/kekscom/10925007
With XML:
https://github.com/diffblue/output-repair Example written in C++

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

2 participants