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

[experimental: arrow ingestion] Undo sorting record hack #2869

Open
thorfour opened this issue Mar 27, 2023 · 0 comments
Open

[experimental: arrow ingestion] Undo sorting record hack #2869

thorfour opened this issue Mar 27, 2023 · 0 comments
Labels
area/storage Something about the storage tech-debt

Comments

@thorfour
Copy link
Contributor

FrostDB requires rows to be sorting for ingestion. To ingest arrow records we sorted them by writing them to a Parquet buffer, and then reading them back out into an arrow record. This reduced a lot of the CPU gains that we had obtained using Arrow record ingestion.

We should remove the conversion from series->parquet->arrow to just be series->arrow and sort that resulting record.

The arrow community seems to be working on a sorting implementation in the library: apache/arrow#34719

@thorfour thorfour added tech-debt area/storage Something about the storage labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/storage Something about the storage tech-debt
Projects
None yet
Development

No branches or pull requests

1 participant