Created
November 15, 2025 18:06
-
-
Save met/75fee94e2b9435c02a7594ba313ea405 to your computer and use it in GitHub Desktop.
Format CSV via duckdb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat file.csv | duckdb -markdown -c "CREATE TABLE tbl AS SELECT * FROM read_json_auto('/dev/stdin'); SELECT * FROM tbl;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment