Skip to content

Commit

Permalink
docs: update usage text with the new stats json cache file
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Aug 16, 2024
1 parent a85d787 commit f48b4ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cmd/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ a `stdin.csv` file will created with stdin's contents as well.
Note that `stdin.csv` will be overwritten if it already exists.
Schema generation can be a compute-intensive process, especially for large CSV files.
To speed up generation, the `schema` command will reuse a `stats.csv.bin.sz` file if it
To speed up generation, the `schema` command will reuse a `stats.csv.data.json` file if it
exists and is current (i.e. stats generated with --cardinality and --infer-dates options).
Otherwise, it will run the `stats` command to generate the `stats.csv.bin.sz` file first,
Otherwise, it will run the `stats` command to generate the `stats.csv.data.json` file first,
and then use that to generate the schema file.
For examples, see https://github.com/jqnatividad/qsv/blob/master/tests/test_schema.rs.
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/tojsonl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ It will infer a column as boolean if its cardinality is 2, and the first charact
the values are one of the following case-insensitive combinations:
t/f; t/null; 1/0; 1/null; y/n & y/null are treated as true/false.
The `tojsonl` command will reuse a `stats.csv.bin.sz` file if it exists and is current
The `tojsonl` command will reuse a `stats.csv.data.json` file if it exists and is current
(i.e. stats generated with --cardinality and --infer-dates options) and will skip
recomputing stats.
Expand Down

0 comments on commit f48b4ae

Please sign in to comment.