Dot not assume Table._rows will always be in memory
Open
@turicas is already working on this.
Since May 18, 2017.
enhancement
plugin
question
rows.table
- Dominant language
- Python
- Stars
- 886
- Forks
- 137
- PR merge metrics
- No merged PRs in 30d
Description
Currently some operations assume all rows are in memory (such as order_by). We may move all the code to something lazy.
For order_by specifically we could sort in-disk instead of in-memory, like csvsort does.
- Implement
LazyTableclass - Add
lazyparameter torows.plugins.utils.create_table - Change all plugins to force (or not) lazyness (example: in HTML
lazy=False, in CSVlazy=Trueby default) - Change default sample size to 1000 (or any other non-arbitrary number)
- Create documentation about it
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.