Files
scylladb/test/cql/lwt_batch_validation_test.result

16 lines
460 B
Plaintext

> CREATE KEYSPACE k WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
OK
> USE k;
OK
> CREATE TABLE t1 (userid int PRIMARY KEY);
OK
> CREATE TABLE t2 (userid int PRIMARY KEY);
OK
> BEGIN BATCH
> INSERT INTO t1 (userid) VALUES (1) IF NOT EXISTS
> INSERT INTO t2 (userid) VALUES (1) IF NOT EXISTS
> APPLY BATCH;
Error from server: code=2200 [Invalid query] message="BATCH with conditions cannot span multiple tables"
> DROP KEYSPACE k;
OK