Closed kpym closed 2 years ago
Hey @kpym!
Thank you for the report!
I will take a look at it ASAP, but in the meantime you can use --output json
to sidestep this issue:
octosql "select Country,City from worldcitiespop_mil.csv order by Country" --output json
This should be fixed now in the newest release: v0.7.2
That said, if performance is your goal, --output json
should still be faster.
Thanks again for the easily reproducible bug report!
@cube2222 Thanks for considering and fixing this bug so quickly 🙏
About the benchmark : The result with --output csv
is slower (≈ 10s) than xsv
(≈ 2s), csvq
(≈ 4s), mlr
(≈ 4s), gocsv
(≈ 8s), trdsql
(≈ 8s) and textql
(≈ 8s).
I was trying to compare the performances of
octosql
to xsv and csvq by running the following code (on Windows 10):using a 1,000,000 records file worldcitiespop_mil.csv. But after 9 seconds
octosql
crashed with the following message: