Skip to content

Commit de310ac

Browse files
committed
Add payload transform keywords and function
Add keywords: dlq, payload, transform, transforms Add function: payload() These support the new CREATE/DROP/SHOW PAYLOAD TRANSFORM syntax and the payload() function for accessing HTTP request bodies in transform SQL expressions.
1 parent 7abea63 commit de310ac

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

src/grammar/functions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export const functions: string[] = [
150150
"nvl",
151151
"or",
152152
"parquet_scan",
153+
"payload",
153154
"permissions",
154155
"pg_advisory_unlock_all",
155156
"pg_attrdef",

src/grammar/keywords.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export const keywords: string[] = [
5353
"details",
5454
"disable",
5555
"distinct",
56+
"dlq",
5657
"drop",
5758
"else",
5859
"enable",
@@ -132,6 +133,7 @@ export const keywords: string[] = [
132133
"partition",
133134
"partitions",
134135
"password",
136+
"payload",
135137
"period",
136138
"permissions",
137139
"pivot",
@@ -178,6 +180,8 @@ export const keywords: string[] = [
178180
"token",
179181
"tolerance",
180182
"transaction",
183+
"transform",
184+
"transforms",
181185
"transient",
182186
"truncate",
183187
"ttl",

0 commit comments

Comments
 (0)