Closed deliro closed 6 months ago
The problem should be fixed in version 0.3.0.
However, in your case, you need to use --infer-schema no
to disable schema inference or --infer-schema safe
to make the operation safe.
Let me know if the problem is solved.
I'm not sure I got you right. Trying to do this in several ways, no luck:
~/projects/tochka/screpka/skrepka/taxcalc/tables beta *12 ❯ tw --infer-schema no kbks.csv
error: unexpected argument '--infer-schema' found
tip: to pass '--infer-schema' as a value, use '-- --infer-schema'
Usage: tw <FILE_NAME>
For more information, try '--help'.
~/projects/tochka/screpka/skrepka/taxcalc/tables beta *12 ❯ tw --infer-schema=no kbks.csv
error: unexpected argument '--infer-schema' found
tip: to pass '--infer-schema' as a value, use '-- --infer-schema'
Usage: tw <FILE_NAME>
For more information, try '--help'.
~/projects/tochka/screpka/skrepka/taxcalc/tables beta *12 ❯ tw -- --infer-schema=no kbks.csv
error: unexpected argument 'kbks.csv' found
Usage: tw <FILE_NAME>
For more information, try '--help'.
~/projects/tochka/screpka/skrepka/taxcalc/tables beta *12 ❯ tw kbks.csv -- --infer-schema=no
error: unexpected argument '--infer-schema=no' found
Usage: tw <FILE_NAME>
For more information, try '--help'.
~/projects/tochka/screpka/skrepka/taxcalc/tables beta *12 ❯ tw kbks.csv --infer-schema=no
error: unexpected argument '--infer-schema' found
tip: to pass '--infer-schema' as a value, use '-- --infer-schema'
Usage: tw <FILE_NAME>
For more information, try '--help'.
First, make sure you have the latest version of Tabiew installed:
tw --version
then, you may open kbks.csv
via the following commands:
tw kbks.csv --infer-schema no
and
tw kbks.csv --infer-schema safe
Let me know if the problem is solved.
Hi! Thank you for this awesome tool! Looking forward to use it on a daily basis.
I got an error while opening a csv with big numbers (which are actually strings):
I guess this error is from polars that's trying to parse
18210102010011000110
as an i64 integer.Attaching the problem file: kbks.csv