multiprocessio / datastation

App to easily query, script, and visualize data from every database, file, and API.
https://datastation.multiprocess.io
Other
2.9k stars 112 forks source link

Add dsq binary for running SQL queries against files #127

Closed eatonphil closed 2 years ago

eatonphil commented 2 years ago

Reusing a bunch of existing DataStation libraries you can now run SQL queries against files in a dedicated CLI:

$ go install https://github.com/multiprocessio/datastation/runner/cmd/dsq
$ dsq testdata.csv "select count(1) from {}"
[{"COUNT(1)": 100}
]