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

CSV Read: move buffer initialisation to thread local #8672

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

pdet
Copy link
Contributor

@pdet pdet commented Aug 23, 2023

FIx: #8408

Copy link
Contributor

@taniabogatsch taniabogatsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pdet. Since your changes move the initialization of the buffer into the Next call of the ParallelCSVGlobalState, downloading these 32MB of data should no longer happen in the constructor (i.e., during pipeline creation). So, LGTM! :)

Let's see if the CI complains.

@github-actions github-actions bot marked this pull request as draft August 30, 2023 11:17
@pdet pdet marked this pull request as ready for review August 30, 2023 21:43
@Mytherin Mytherin merged commit 60ed227 into duckdb:main Sep 1, 2023
51 of 53 checks passed
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.

Avoid downloading 32MB CSV chunk during planning stages
3 participants