Skip to content

Conversation

@hermanschaaf
Copy link
Member

@hermanschaaf hermanschaaf commented Dec 28, 2022

Draft to show what usage of the new Read API in cloudquery/plugin-sdk#542 will look like in practice.

It's easy to implement for databases, but not so trivial for files. However, this shows that it can be done for files without loading the entire file into memory (as long as there is a limit on the number of results returned). Most of the code is around implementing a priority queue to limit memory usage while sorting results for CSV.

@hermanschaaf hermanschaaf deleted the update-destinations branch November 21, 2023 08:48
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

Successfully merging this pull request may close these issues.

3 participants