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

sqlp: derive polars schema from stats cache #2256

Merged
merged 3 commits into from
Oct 27, 2024

Conversation

jqnatividad
Copy link
Collaborator

skipping the need for Polars to scan the CSV for --infer-len rows to guess the schema.

The guess may turn out to be wrong as the datatype inferences are not guaranteed as it only scans the first --infer-len rows, so this not only makes sqlp faster, it makes it more reliable.

resolves #2225

@jqnatividad jqnatividad merged commit 2d70a22 into master Oct 27, 2024
11 of 14 checks passed
@jqnatividad jqnatividad deleted the 2225-sqlp-derive-polars-schema-from-stats branch October 27, 2024 20:46
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.

sqlp: use stats cache to derive polars schema
1 participant