Skip to content

Commit eb7d9b1

Browse files
committed
Function Updates - Tests Success
1 parent 7f30814 commit eb7d9b1

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/languages/duckdb/duckdb.functions.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export const functions: string[] = [
6868
'ATAN',
6969
'ATAN2',
7070
'AVG',
71-
'BAR',
7271
'BASE64',
7372
'BIN',
7473
'BITSTRING',
@@ -653,7 +652,6 @@ export const functions: string[] = [
653652
'YEARWEEK',
654653

655654
// Keywords that also need to be listed as functions
656-
'ARRAY',
657655
'CAST',
658656
'COALESCE',
659657
'NULL',

src/languages/duckdb/duckdb.keywords.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export const keywords: string[] = [
44
'ANALYZE',
55
'AND',
66
'ANY',
7-
'ARRAY',
87
'AS',
98
'ASC',
109
'ASYMMETRIC',
@@ -78,8 +77,7 @@ export const keywords: string[] = [
7877
];
7978

8079
export const dataTypes: string[] = [
81-
'INET',
82-
'JSON',
80+
'ARRAY',
8381
'BIGINT',
8482
'BINARY',
8583
'BIT',
@@ -101,6 +99,7 @@ export const dataTypes: string[] = [
10199
'FLOAT8',
102100
'GUID',
103101
'HUGEINT',
102+
'INET',
104103
'INT',
105104
'INT1',
106105
'INT128',
@@ -113,6 +112,7 @@ export const dataTypes: string[] = [
113112
'INTEGER',
114113
'INTEGRAL',
115114
'INTERVAL',
115+
'JSON',
116116
'LIST',
117117
'LOGICAL',
118118
'LONG',
@@ -130,11 +130,11 @@ export const dataTypes: string[] = [
130130
'STRUCT',
131131
'TEXT',
132132
'TIME',
133-
'TIMESTAMP',
134133
'TIMESTAMP_MS',
135134
'TIMESTAMP_NS',
136135
'TIMESTAMP_S',
137136
'TIMESTAMP_US',
137+
'TIMESTAMP',
138138
'TIMESTAMPTZ',
139139
'TIMETZ',
140140
'TINYINT',

0 commit comments

Comments
 (0)