Skip to content

Commit

Permalink
sqlp: set default --infer-len to 100000
Browse files Browse the repository at this point in the history
as it seems to be "cheap" and results in less sqlp errors when inferring CSV schema
  • Loading branch information
jqnatividad committed Jul 22, 2024
1 parent b66120a commit 1bea2cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/sqlp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ sqlp options:
that you may want to try to set `--ignore-errors` to relax
the CSV parsing of dates.
--infer-len <arg> The number of rows to scan when inferring the schema of the CSV.
Set to 0 to do a full table scan (warning: very slow).
[default: 1000]
Set to 0 to do a full table scan (warning: can be slow).
[default: 100000]
--streaming Use streaming mode when parsing CSVs. This will use less memory
but will be slower. Only use this when you get out of memory errors.
--low-memory Use low memory mode when parsing CSVs. This will use less memory
Expand Down

0 comments on commit 1bea2cf

Please sign in to comment.