Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

materialize-motherduck: use the reserved words list from duckdb_keywords() #2084

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions materialize-motherduck/.snapshots/TestSQLGeneration
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ CREATE TABLE IF NOT EXISTS ""."a-schema".key_value (
"key!binary" VARCHAR NOT NULL,
"array" JSON,
"binary" VARCHAR,
boolean BOOLEAN,
"boolean" BOOLEAN,
flow_published_at TIMESTAMP WITH TIME ZONE NOT NULL,
"integer" BIGINT,
"integerGt64Bit" HUGEINT,
"integerWithUserDDL" DECIMAL(20),
multiple JSON,
number DOUBLE,
"numberCastToString" VARCHAR,
object JSON,
"object" JSON,
string VARCHAR,
"stringInteger" HUGEINT,
"stringInteger39Chars" VARCHAR,
Expand Down Expand Up @@ -72,15 +72,15 @@ USING read_json(
"key!binary": 'VARCHAR NOT NULL',
"array": 'JSON',
"binary": 'VARCHAR',
boolean: 'BOOLEAN',
"boolean": 'BOOLEAN',
flow_published_at: 'TIMESTAMP WITH TIME ZONE NOT NULL',
"integer": 'BIGINT',
"integerGt64Bit": 'HUGEINT',
"integerWithUserDDL": 'DECIMAL(20)',
multiple: 'JSON',
number: 'DOUBLE',
"numberCastToString": 'VARCHAR',
object: 'JSON',
"object": 'JSON',
string: 'VARCHAR',
"stringInteger": 'HUGEINT',
"stringInteger39Chars": 'VARCHAR',
Expand All @@ -106,15 +106,15 @@ SELECT * FROM read_json(
"key!binary": 'VARCHAR NOT NULL',
"array": 'JSON',
"binary": 'VARCHAR',
boolean: 'BOOLEAN',
"boolean": 'BOOLEAN',
flow_published_at: 'TIMESTAMP WITH TIME ZONE NOT NULL',
"integer": 'BIGINT',
"integerGt64Bit": 'HUGEINT',
"integerWithUserDDL": 'DECIMAL(20)',
multiple: 'JSON',
number: 'DOUBLE',
"numberCastToString": 'VARCHAR',
object: 'JSON',
"object": 'JSON',
string: 'VARCHAR',
"stringInteger": 'HUGEINT',
"stringInteger39Chars": 'VARCHAR',
Expand Down
Loading
Loading