test: add bulk insert to loadtest (#2358)

This commit is contained in:
Steve Chavez
2022-07-06 13:50:58 -05:00
committed by GitHub
parent 0708f46df3
commit 3cdc6d15d7
4 changed files with 1016 additions and 3 deletions
+9 -3
View File
@@ -13,9 +13,15 @@ INSERT INTO test.actors VALUES (1, 'John Doe');
-- POST target needs generated PK
CREATE TABLE test.films (
PRIMARY KEY (film),
film INT GENERATED BY DEFAULT AS IDENTITY,
title TEXT
id INT PRIMARY KEY,
title TEXT,
year TEXT,
runtime TEXT,
genres TEXT[],
director TEXT,
actors TEXT,
plot TEXT,
"posterUrl" TEXT
);
-- DELETE target remains empty