Skip to content

Commit a6ff9d3

Browse files
authored
Add DIRECTION,LENGTH and LANGUAGE as allowed keyword (#3801)
1 parent 880af4c commit a6ff9d3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

sql/snowflake/SnowflakeParser.g4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3551,6 +3551,9 @@ keyword
35513551
| COMMENT
35523552
| ORDER
35533553
| NOORDER
3554+
| DIRECTION
3555+
| LENGTH
3556+
| LANGUAGE
35543557
// etc
35553558
;
35563559

sql/snowflake/examples/create_table.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ create or replace table tz1(i TIMESTAMPLTZ);
9494
create or replace table tz2(i TIMESTAMPNTZ);
9595
create or replace table tz3(i TIMESTAMPTZ);
9696
CREATE TABLE TESTSEED2 (ident int IDENTITY INCREMENT 2 ORDER);
97-
CREATE TABLE TESTSEED2 (ident int IDENTITY START = 2 INCREMENT BY 1 NOORDER);
97+
CREATE TABLE TESTSEED2 (ident int IDENTITY START = 2 INCREMENT BY 1 NOORDER);
98+
CREATE TABLE DIRECTION (LENGTH INT,LANGUAGE INT);

0 commit comments

Comments
 (0)