Skip to content

Commit

Permalink
Move non-data types back to keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky committed Dec 1, 2023
1 parent c1b6130 commit 529cfcb
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions src/languages/bigquery/bigquery.keywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@ export const keywords: string[] = [
'IN',
'INNER',
'INTERSECT',
'INTERVAL',
'INTO',
'IS',
'JOIN',
'LATERAL',
'LEFT',
'LIKE',
'LIMIT',
'LOOKUP',
'MERGE',
Expand Down Expand Up @@ -94,6 +92,22 @@ export const keywords: string[] = [
'WINDOW',
'WITH',
'WITHIN',

// misc
'SAFE',

// https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
'LIKE', // CREATE TABLE LIKE
'COPY', // CREATE TABLE COPY
'CLONE', // CREATE TABLE CLONE
'IN',
'OUT',
'INOUT',
'RETURNS',
'LANGUAGE',
'CASCADE',
'RESTRICT',
'DETERMINISTIC',
];

export const dataTypes: string[] = [
Expand Down Expand Up @@ -128,20 +142,4 @@ export const dataTypes: string[] = [
'ASCII',
'UTF-8',
'UTF8',

// misc
'SAFE',

// https://cloud.google.com/bigquery/docs/reference/standard-sql/data-definition-language
'LIKE', // CREATE TABLE LIKE
'COPY', // CREATE TABLE COPY
'CLONE', // CREATE TABLE CLONE
'IN',
'OUT',
'INOUT',
'RETURNS',
'LANGUAGE',
'CASCADE',
'RESTRICT',
'DETERMINISTIC',
];

0 comments on commit 529cfcb

Please sign in to comment.