Closed renard closed 3 years ago
I think you're supposed to point to the directory, and then you reference to files as tables. Please try this:
./usql -X csvq:/tmp
SELECT * FROM test;
Yep that works with a few limitations though:
select * from `123 strange name`;
.csv
extension or no extension at all. If a different extension is used it has to be specified in the query:
select * from `123 strange name.with weird extension`;
Maybe that would nice to document it.
Thanks for the support. This issue can be closed.
I build usql from sources (commit fffd7f1a52f50eef7e5807037b4338c74cc8b51f) and build on macos it using
I created a simple sql file:
When I try to connect to the csv file I have:
Did I run something wrong? Is there a way to get debug info?
Here is the output of usql info: