Skip to content

Commit

Permalink
add snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
cvng committed Jan 2, 2024
1 parent 593b83f commit 49b2840
Show file tree
Hide file tree
Showing 2 changed files with 1,096 additions and 50 deletions.
2 changes: 1 addition & 1 deletion crates/parser/tests/data/statements/valid/0043.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CREATE UNLOGGED TABLE cities (name text, population real, altitude double, identifier smallint, postal_code int, foreign_id bigint);
/* TODO: CREATE TABLE IF NOT EXISTS distributors (name varchar(40) DEFAULT 'Luso Films', len interval hour to second(3), name varchar(40) DEFAULT 'Luso Films', did int DEFAULT nextval('distributors_serial'), stamp timestamp DEFAULT now() NOT NULL, stamptz timestamp with time zone, "time" time NOT NULL, timetz time with time zone, CONSTRAINT name_len PRIMARY KEY (name, len)); */ SELECT 1;
CREATE TABLE IF NOT EXISTS distributors (name varchar(40) DEFAULT 'Luso Films', len interval hour to second(3), name varchar(40) DEFAULT 'Luso Films', did int DEFAULT nextval('distributors_serial'), stamp timestamp DEFAULT now() NOT NULL, stamptz timestamp with time zone, "time" time NOT NULL, timetz time with time zone, CONSTRAINT name_len PRIMARY KEY (name, len));
/* TODO: CREATE TABLE types (a real, b double precision, c numeric(2, 3), d char(4), e char(5), f varchar(6), g varchar(7)); */ SELECT 1;
/* TODO: CREATE TABLE types (a geometry(point) NOT NULL); */ SELECT 1;
CREATE TABLE tablename (colname int NOT NULL DEFAULT nextval('tablename_colname_seq'));
Expand Down
Loading

0 comments on commit 49b2840

Please sign in to comment.