comeara / pillar

Pillar manages migrations for your Cassandra data stores.
https://github.com/comeara/pillar
MIT License
111 stars 64 forks source link

Multi-stage queries fail on C* 3.0.9 #43

Closed davidnadeau closed 7 years ago

davidnadeau commented 7 years ago

running the example multi stage query fails on C* 3.0.9

-- description: creates users and groups tables
-- authoredAt: 1469630066000
-- up:

-- stage: 1
CREATE TABLE groups (
  id uuid,
  name text,
  PRIMARY KEY (id)
)

-- stage: 2
CREATE TABLE users (
  id uuid,
  group_id uuid,
  username text,
  password text,
  PRIMARY KEY (id)
)

-- down:

-- stage: 1
DROP TABLE users

-- stage: 2
DROP TABLE groups

Is 3.0.9 not supported?

cqlsh 5.0.1 CQL spec 3.4.0