Closed protectroot-com closed 1 year ago
Seeing the same issue with filename a.b.json
$ ~/go/bin/octosql "select 'sad face' from a.b.json limit 1"
Usage:
octosql
Examples: octosql "SELECT FROM myfile.json" octosql "SELECT FROM mydir/myfile.csv" octosql "SELECT * FROM plugins.plugins"
strangely my go to consolidated file name, all.json doesn't work either.
Hey @protectroot-com!
You can use double quotes for names which aren't accepted as-is.
So \"1.json\"
in your case.
Closing for now. Feel free to reopen.
$ sha256sum a.json
4518d5db3dedeaf5b8cf078d8090b5d3d8b2da6befe9cddbf0544d4f3e61cb45 a.json
$ sha256sum 1.json
4518d5db3dedeaf5b8cf078d8090b5d3d8b2da6befe9cddbf0544d4f3e61cb45 1.json
$ ~/go/bin/octosql "select 'works' from a.json limit 1" +---------+ | col_0 | +---------+ | 'works' | +---------+
$ ~/go/bin/octosql "select 'sad face' from 1.json limit 1" Usage: octosql [flags]
octosql [command]
Examples: octosql "SELECT FROM myfile.json" octosql "SELECT FROM mydir/myfile.csv" octosql "SELECT * FROM plugins.plugins"