Hi, thanks for maintaining the open source csvq tool!
I just tried it on a CSV file, but it didn't work as I expected, seemingly because of a dot in the column name.
OS: macOS
csvq version: v1.17.11, installed via Go
✅ I run csvq 'select * from `/path/to/file.csv`'. It prints the table, with foo.bar as one column name
❌ I run csvq 'select foo.bar from `/path/to/file.csv`'. It prints [L:1 C:17] field foo.bar does not exist
❌ I run csvq 'select "foo.bar" from `/path/to/file.csv`'. It prints a long table (matching number of rows of my CSV) with just foo.bar rows, so not the actual value
It's not clear to me how to select a column that contains a dot in the name.
Hi, thanks for maintaining the open source
csvq
tool!I just tried it on a CSV file, but it didn't work as I expected, seemingly because of a dot in the column name.
OS: macOS csvq version: v1.17.11, installed via Go
csvq 'select * from `/path/to/file.csv`'
. It prints the table, withfoo.bar
as one column namecsvq 'select foo.bar from `/path/to/file.csv`'
. It prints[L:1 C:17] field foo.bar does not exist
csvq 'select "foo.bar" from `/path/to/file.csv`'
. It prints a long table (matching number of rows of my CSV) with justfoo.bar
rows, so not the actual valueIt's not clear to me how to select a column that contains a dot in the name.