cql-calculator
cql-calculator copied to clipboard
panic: parse regular columns failed. found "/", expected column name
When pasting a query that has comments, the program fails:
$ cql-calculator -query 'create table if not exists mytable
(
value1 text, // this is line comment
value2 text, /* this is block comment*/
-- another comment
id uuid,
PRIMARY KEY( id )
);'
Enter rows count per one partition: 1
panic: parse regular columns failed. found "/", expected column name
goroutine 1 [running]:
main.main()
/Users/kieran/go/pkg/mod/github.com/johnnywidth/[email protected]/cmd/cql-calculator/main.go:38 +0x8d7