Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra: missing ')' at '<missing '

tried to create the following table:

    CREATE TABLE customTableSchema(
        id UUID PRIMARY KEY,
        table_id UUID,
        schema text,
        created_at timestamp,
        last_modified_at timestamp,
    );

came up with this error:

SyntaxException: line 4:8 missing ')' at '<missing '
like image 468
BiozterzCodes Avatar asked Dec 07 '25 14:12

BiozterzCodes


1 Answers

The schema is reserved keyword in the Cassandra Query Language, so you can't use it (see this table in the docs).

like image 146
Alex Ott Avatar answered Dec 11 '25 11:12

Alex Ott



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!