cql-calculator icon indicating copy to clipboard operation
cql-calculator copied to clipboard

panic: parse regular columns failed. found "/", expected column name

Open kierankelleher opened this issue 3 years ago • 0 comments

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

kierankelleher avatar Sep 06 '21 17:09 kierankelleher