title: Cassandra - no viable alternative at input '('
body: <p>I am trying to execute a simple Cassandra table statement. I am getting an error like this. I am a bit new to it.</p>
  
  <p>My query is:</p>
  
  <pre><code>create table orders
  (
    id bigint,
    order_number bigint,
    supplier_id bigint,
    planned_delivery_date timestamp,
    flow_type int,
    store_number bigint,
    tenantid text,
    qc_locked boolean,
    qc_locked_by text,
    qc_finished_at timestamp,
    qc_finished_by text,
    qc_reviewed_at timestamp,
    qc_reviewed_by text,
    PRIMARY KEY (id,flow_type,supplier_id,(tenantid,order_number))
  );
  </code></pre>
  
  <p>I am getting an error this:</p>
  
  <pre><code>SyntaxException: &lt;ErrorMessage code=2000 [Syntax error in CQL query] message="li
  ne 17:40 no viable alternative at input '(' (... KEY (id,flow_type,supplier_id,[
  (]...)"&gt;
  </code></pre>