sqllens 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/THIRD-PARTY-NOTICES.md +31 -6
  2. package/dist/api.d.ts +2 -0
  3. package/dist/api.js +2 -0
  4. package/dist/bigquery/fn-docs.generated.d.ts +2 -0
  5. package/dist/bigquery/fn-docs.generated.js +1704 -0
  6. package/dist/completion/jinja-slot.js +6 -1
  7. package/dist/databricks/fn-docs.generated.d.ts +2 -0
  8. package/dist/databricks/fn-docs.generated.js +3257 -0
  9. package/dist/duckdb/fn-docs.generated.d.ts +2 -0
  10. package/dist/duckdb/fn-docs.generated.js +2051 -0
  11. package/dist/duckdb/fold.js +6 -4
  12. package/dist/ident/fold.d.ts +5 -2
  13. package/dist/ident/fold.js +2 -0
  14. package/dist/index.d.ts +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/infer/types.js +4 -1
  17. package/dist/mysql/fn-docs.generated.d.ts +2 -0
  18. package/dist/mysql/fn-docs.generated.js +1204 -0
  19. package/dist/parse-diagnostics.js +33 -1
  20. package/dist/postgres/fn-docs.generated.d.ts +2 -0
  21. package/dist/postgres/fn-docs.generated.js +2818 -0
  22. package/dist/postgres/fold.js +9 -3
  23. package/dist/postgres/signatures.generated.js +585 -585
  24. package/dist/redshift/fn-docs.generated.d.ts +2 -0
  25. package/dist/redshift/fn-docs.generated.js +1457 -0
  26. package/dist/redshift/fold.js +6 -4
  27. package/dist/sema/resolve.js +3 -1
  28. package/dist/signature/docs.d.ts +16 -0
  29. package/dist/signature/docs.js +47 -0
  30. package/dist/signature/render.d.ts +7 -0
  31. package/dist/signature/render.js +40 -0
  32. package/dist/signature/signature.js +5 -5
  33. package/dist/snowflake/fn-docs.generated.d.ts +2 -0
  34. package/dist/snowflake/fn-docs.generated.js +2461 -0
  35. package/dist/sqlite/fn-docs.generated.d.ts +2 -0
  36. package/dist/sqlite/fn-docs.generated.js +609 -0
  37. package/dist/sqlite/fold.js +5 -7
  38. package/dist/trino/fn-docs.generated.d.ts +2 -0
  39. package/dist/trino/fn-docs.generated.js +1932 -0
  40. package/dist/tsql/fn-docs.generated.d.ts +2 -0
  41. package/dist/tsql/fn-docs.generated.js +1017 -0
  42. package/package.json +1 -1
@@ -0,0 +1,1457 @@
1
+ export const REDSHIFT_FN_DOCS = {
2
+ abs: {
3
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ABS.html",
4
+ description: "Returns the absolute value of a numeric expression.",
5
+ origin: "authored",
6
+ },
7
+ acos: {
8
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ACOS.html",
9
+ description: "Returns the arc cosine (inverse cosine) of a numeric argument in radians.",
10
+ origin: "authored",
11
+ },
12
+ addbbox: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/AddBBox-function.html", origin: "vendor-docs" },
13
+ any_value: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ANY_VALUE.html", origin: "vendor-docs" },
14
+ array: {
15
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_array.html",
16
+ description: "Constructs an array from the given expressions.",
17
+ origin: "authored",
18
+ },
19
+ array_concat: {
20
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_array_concat.html",
21
+ description: "Concatenates two arrays into a single array.",
22
+ origin: "authored",
23
+ },
24
+ array_contains: {
25
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_contains.html",
26
+ description: "Returns true if the array contains the specified value.",
27
+ origin: "authored",
28
+ },
29
+ array_distinct: {
30
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_distinct.html",
31
+ description: "Returns an array with duplicate elements removed.",
32
+ origin: "authored",
33
+ },
34
+ array_flatten: {
35
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_flatten.html",
36
+ description: "Flattens a nested array structure into a single-level array.",
37
+ origin: "authored",
38
+ },
39
+ array_position: {
40
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_position.html",
41
+ description: "Returns the position of the first occurrence of a value in the array.",
42
+ origin: "authored",
43
+ },
44
+ array_positions: {
45
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_positions.html",
46
+ description: "Returns an array of all positions where the specified value occurs in the input array.",
47
+ origin: "authored",
48
+ },
49
+ array_sort: {
50
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_sort.html",
51
+ description: "Sorts array elements in ascending or descending order, with optional null handling.",
52
+ origin: "authored",
53
+ },
54
+ array_union: {
55
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/array_union.html",
56
+ description: "Returns the union of two arrays, combining all unique elements.",
57
+ origin: "authored",
58
+ },
59
+ arrays_overlap: {
60
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/arrays_overlap.html",
61
+ description: "Returns true if the two arrays have any common elements.",
62
+ origin: "authored",
63
+ },
64
+ ascii: {
65
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ASCII.html",
66
+ description: "Returns the ASCII numeric code value of the first character in a string.",
67
+ origin: "authored",
68
+ },
69
+ asin: {
70
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ASIN.html",
71
+ description: "Returns the arc sine (inverse sine) of a numeric argument in radians.",
72
+ origin: "authored",
73
+ },
74
+ atan: {
75
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ATAN.html",
76
+ description: "Returns the arc tangent (inverse tangent) of a numeric argument in radians.",
77
+ origin: "authored",
78
+ },
79
+ atan2: {
80
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ATAN2.html",
81
+ description: "Returns the arc tangent of two arguments as a single angle in radians.",
82
+ origin: "authored",
83
+ },
84
+ avg: {
85
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_AVG.html",
86
+ description: "Calculates the average value of a numeric expression across rows.",
87
+ origin: "authored",
88
+ },
89
+ bit_and: {
90
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_BIT_AND.html",
91
+ description: "Performs bitwise AND operation across values in an aggregation.",
92
+ origin: "authored",
93
+ },
94
+ bit_or: {
95
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_BIT_OR.html",
96
+ description: "Performs bitwise OR operation across values in an aggregation.",
97
+ origin: "authored",
98
+ },
99
+ bool_and: {
100
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_BOOL_AND.html",
101
+ description: "Returns true if all input boolean values are true in an aggregation.",
102
+ origin: "authored",
103
+ },
104
+ bool_or: {
105
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_BOOL_OR.html",
106
+ description: "Returns true if any input boolean value is true in an aggregation.",
107
+ origin: "authored",
108
+ },
109
+ bpcharcmp: {
110
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_BPCHARCMP.html",
111
+ description: "Compares two blank-padded character strings and returns -1, 0, or 1 based on comparison result.",
112
+ origin: "authored",
113
+ },
114
+ btrim: {
115
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_BTRIM.html",
116
+ description: "Removes leading and trailing characters (spaces by default) from a string.",
117
+ origin: "authored",
118
+ },
119
+ cbrt: {
120
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CBRT.html",
121
+ description: "Returns the cube root of a numeric value.",
122
+ origin: "authored",
123
+ },
124
+ ceiling: {
125
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CEILING_FLOOR.html",
126
+ description: "Rounds a numeric value up to the nearest integer.",
127
+ origin: "authored",
128
+ },
129
+ change_query_priority: {
130
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CHANGE_QUERY_PRIORITY.html",
131
+ origin: "vendor-docs",
132
+ },
133
+ change_session_priority: {
134
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CHANGE_SESSION_PRIORITY.html",
135
+ description: "Changes the Workload Management priority level for a session.",
136
+ origin: "authored",
137
+ },
138
+ change_user_priority: {
139
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CHANGE_USER_PRIORITY.html",
140
+ description: "Changes the Workload Management priority level for all queries from a specific user.",
141
+ origin: "authored",
142
+ },
143
+ charindex: {
144
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CHARINDEX.html",
145
+ description: "Returns the position of the first occurrence of a substring within a string.",
146
+ origin: "authored",
147
+ },
148
+ checksum: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CHECKSUM.html", origin: "vendor-docs" },
149
+ chr: {
150
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CHR.html",
151
+ description: "Returns the character corresponding to the ASCII numeric code value.",
152
+ origin: "authored",
153
+ },
154
+ coalesce: {
155
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_NVL_function.html",
156
+ description: "Returns the first non-null expression from a list of expressions.",
157
+ origin: "authored",
158
+ },
159
+ concat: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CONCAT.html", origin: "vendor-docs" },
160
+ convert: {
161
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CONVERT_function.html",
162
+ description: "Converts an expression to a different data type.",
163
+ origin: "authored",
164
+ },
165
+ cos: {
166
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_COS.html",
167
+ description: "Returns the cosine of a numeric argument in radians.",
168
+ origin: "authored",
169
+ },
170
+ cot: {
171
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_COT.html",
172
+ description: "Returns the cotangent of a numeric argument in radians.",
173
+ origin: "authored",
174
+ },
175
+ count: {
176
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_COUNT.html",
177
+ description: "Counts the number of rows or non-null values in a result set.",
178
+ origin: "authored",
179
+ },
180
+ crc32: {
181
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/crc32-function.html",
182
+ description: "Computes the CRC32 checksum hash value of a string.",
183
+ origin: "authored",
184
+ },
185
+ cume_dist: {
186
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_WF_CUME_DIST.html",
187
+ description: "Returns the cumulative distribution of a value within an ordered group of values.",
188
+ origin: "authored",
189
+ },
190
+ current_database: {
191
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CURRENT_DATABASE.html",
192
+ description: "Returns the name of the current database.",
193
+ origin: "authored",
194
+ },
195
+ current_schema: {
196
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CURRENT_SCHEMA.html",
197
+ description: "Returns the current schema name from the search path.",
198
+ origin: "authored",
199
+ },
200
+ current_schemas: {
201
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CURRENT_SCHEMAS.html",
202
+ description: "Returns an array of schema names currently in the search path.",
203
+ origin: "authored",
204
+ },
205
+ current_session_arn: {
206
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CURRENT_SESSION_ARN.html",
207
+ origin: "vendor-docs",
208
+ },
209
+ current_setting: {
210
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_CURRENT_SETTING.html",
211
+ description: "Returns the current value of a database configuration parameter.",
212
+ origin: "authored",
213
+ },
214
+ date_cmp: {
215
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATE_CMP.html",
216
+ description: "Compares two dates and returns an integer indicating their relationship.",
217
+ origin: "authored",
218
+ },
219
+ date_cmp_timestamp: {
220
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATE_CMP_TIMESTAMP.html",
221
+ description: "Compares a date with a timestamp and returns an ordering value.",
222
+ origin: "authored",
223
+ },
224
+ date_cmp_timestamptz: {
225
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATE_CMP_TIMESTAMPTZ.html",
226
+ description: "Compares a date with a timestamp having timezone information.",
227
+ origin: "authored",
228
+ },
229
+ date_part: {
230
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATE_PART_function.html",
231
+ description: "Extracts a specific component (year, month, day, hour, etc.) from a timestamp.",
232
+ origin: "authored",
233
+ },
234
+ date_part_year: {
235
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATE_PART_YEAR.html",
236
+ description: "Extracts the year component from a date value.",
237
+ origin: "authored",
238
+ },
239
+ date_trunc: {
240
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATE_TRUNC.html",
241
+ description: "Truncates a timestamp to the specified precision level.",
242
+ origin: "authored",
243
+ },
244
+ dateadd: {
245
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATEADD_function.html",
246
+ description: "Adds a specified interval to a date, returning the new date.",
247
+ origin: "authored",
248
+ },
249
+ datediff: {
250
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DATEDIFF_function.html",
251
+ description: "Calculates the difference between two dates in the specified datepart units.",
252
+ origin: "authored",
253
+ },
254
+ db_collation: {
255
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DB_COLLATION.html",
256
+ description: "Returns the collation specification of the current database.",
257
+ origin: "authored",
258
+ },
259
+ decimal_precision: {
260
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_decimal_precision.html",
261
+ description: "Returns the precision (total number of digits) of a numeric SUPER value.",
262
+ origin: "authored",
263
+ },
264
+ decimal_scale: {
265
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_decimal_scale.html",
266
+ description: "Returns the scale (digits after decimal point) of a numeric SUPER value.",
267
+ origin: "authored",
268
+ },
269
+ decode: {
270
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DECODE_expression.html",
271
+ description: "Returns result values based on comparisons, acting as a conditional expression.",
272
+ origin: "authored",
273
+ },
274
+ degrees: {
275
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DEGREES.html",
276
+ description: "Converts an angle from radians to degrees.",
277
+ origin: "authored",
278
+ },
279
+ dexp: {
280
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DEXP.html",
281
+ description: "Returns e raised to the power of the argument.",
282
+ origin: "authored",
283
+ },
284
+ difference: {
285
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/DIFFERENCE.html",
286
+ description: "Returns the difference between Soundex codes of two strings as an integer.",
287
+ origin: "authored",
288
+ },
289
+ dlog10: {
290
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_DLOG10.html",
291
+ description: "Returns the base-10 logarithm of the argument.",
292
+ origin: "authored",
293
+ },
294
+ dropbbox: {
295
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/DropBBox-function.html",
296
+ origin: "vendor-docs",
297
+ },
298
+ exp: {
299
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_EXP.html",
300
+ description: "Returns e raised to the power of the argument.",
301
+ origin: "authored",
302
+ },
303
+ farmfingerprint64: {
304
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_FARMFINGERPRINT64.html",
305
+ description: "Computes a 64-bit FarmHash fingerprint of the input value.",
306
+ origin: "authored",
307
+ },
308
+ floor: {
309
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_FLOOR.html",
310
+ description: "Returns the largest integer value less than or equal to the argument.",
311
+ origin: "authored",
312
+ },
313
+ fnv_hash: {
314
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_FNV_HASH.html",
315
+ description: "Computes an FNV-1a hash of the input value with an optional seed.",
316
+ origin: "authored",
317
+ },
318
+ from_hex: {
319
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_FROM_HEX.html",
320
+ description: "Converts a hexadecimal string to its binary representation.",
321
+ origin: "authored",
322
+ },
323
+ from_varbyte: {
324
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_FROM_VARBYTE.html",
325
+ origin: "vendor-docs",
326
+ },
327
+ geometrytype: {
328
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/GeometryType-function.html",
329
+ origin: "vendor-docs",
330
+ },
331
+ get_array_length: {
332
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/get_array_length.html",
333
+ description: "Returns the number of elements in an array within a SUPER value.",
334
+ origin: "authored",
335
+ },
336
+ get_mounted_role: {
337
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/GET_MOUNTED_ROLE.html",
338
+ origin: "vendor-docs",
339
+ },
340
+ get_number_attributes: {
341
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/get_number_attributes.html",
342
+ description: "Returns the count of key-value pairs in an object within a SUPER value.",
343
+ origin: "authored",
344
+ },
345
+ getbit: {
346
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_GETBIT.html",
347
+ description: "Extracts a single bit value from binary data at the specified index.",
348
+ origin: "authored",
349
+ },
350
+ getdate: {
351
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_GETDATE.html",
352
+ description: "Returns the current date and time.",
353
+ origin: "authored",
354
+ },
355
+ greatest: {
356
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_GREATEST_LEAST.html",
357
+ description: "Returns the largest value from a list of arguments, ignoring nulls.",
358
+ origin: "authored",
359
+ },
360
+ h3_boundary: {
361
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_Boundary-function.html",
362
+ origin: "vendor-docs",
363
+ },
364
+ h3_center: {
365
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_Center-function.html",
366
+ origin: "vendor-docs",
367
+ },
368
+ h3_fromlonglat: {
369
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_FromLongLat-function.html",
370
+ origin: "vendor-docs",
371
+ },
372
+ h3_frompoint: {
373
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_FromPoint-function.html",
374
+ origin: "vendor-docs",
375
+ },
376
+ h3_isvalid: {
377
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_IsValid-function.html",
378
+ description: "Returns true if the index is a valid H3 cell identifier.",
379
+ origin: "authored",
380
+ },
381
+ h3_polyfill: {
382
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_Polyfill-function.html",
383
+ description: "Returns an array of H3 cell indices that cover the given geometry at the specified resolution.",
384
+ origin: "authored",
385
+ },
386
+ h3_resolution: {
387
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_Resolution-function.html",
388
+ description: "Returns the resolution level of the given H3 cell index.",
389
+ origin: "authored",
390
+ },
391
+ h3_tochildren: {
392
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_ToChildren-function.html",
393
+ description: "Returns an array of child H3 cell indices at a finer resolution.",
394
+ origin: "authored",
395
+ },
396
+ h3_toparent: {
397
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/H3_ToParent-function.html",
398
+ description: "Returns the parent H3 cell index at a coarser resolution.",
399
+ origin: "authored",
400
+ },
401
+ hll: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_HLL_function.html", origin: "vendor-docs" },
402
+ hll_cardinality: {
403
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_HLL_CARDINALITY.html",
404
+ description: "Returns the estimated cardinality (distinct count) from an HyperLogLog sketch.",
405
+ origin: "authored",
406
+ },
407
+ hll_combine: {
408
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_HLL_COMBINE.html",
409
+ description: "Combines HyperLogLog sketches into a single sketch for merged cardinality estimation.",
410
+ origin: "authored",
411
+ },
412
+ hll_combine_sketches: {
413
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_HLL_COMBINE_SKETCHES.html",
414
+ description: "Merges two HyperLogLog sketches and returns the combined sketch.",
415
+ origin: "authored",
416
+ },
417
+ hll_create_sketch: {
418
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_HLL_CREATE_SKETCH.html",
419
+ origin: "vendor-docs",
420
+ },
421
+ initcap: {
422
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_INITCAP.html",
423
+ description: "Returns the string with the first letter of each word capitalized.",
424
+ origin: "authored",
425
+ },
426
+ interval_cmp: {
427
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_INTERVAL_CMP.html",
428
+ description: "Compares two intervals and returns -1, 0, or 1 for less than, equal, or greater than.",
429
+ origin: "authored",
430
+ },
431
+ is_array: {
432
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_array.html",
433
+ description: "Returns true if the SUPER value is an array type.",
434
+ origin: "authored",
435
+ },
436
+ is_bigint: {
437
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_bigint.html",
438
+ description: "Returns true if the SUPER value is a bigint type.",
439
+ origin: "authored",
440
+ },
441
+ is_boolean: {
442
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_boolean.html",
443
+ description: "Returns true if the SUPER value is a boolean type.",
444
+ origin: "authored",
445
+ },
446
+ is_char: {
447
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_char.html",
448
+ description: "Returns true if the SUPER value is a character type.",
449
+ origin: "authored",
450
+ },
451
+ is_decimal: {
452
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_decimal.html",
453
+ description: "Returns true if the SUPER value is a decimal numeric type.",
454
+ origin: "authored",
455
+ },
456
+ is_float: {
457
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_float.html",
458
+ description: "Returns true if the SUPER value is a floating-point type.",
459
+ origin: "authored",
460
+ },
461
+ is_integer: {
462
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_integer.html",
463
+ description: "Returns true if the SUPER value is an integer type.",
464
+ origin: "authored",
465
+ },
466
+ is_object: {
467
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_object.html",
468
+ description: "Returns true if the SUPER value is an object type.",
469
+ origin: "authored",
470
+ },
471
+ is_scalar: {
472
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_scalar.html",
473
+ description: "Returns true if the SUPER value is a scalar (not an array or object).",
474
+ origin: "authored",
475
+ },
476
+ is_smallint: {
477
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_smallint.html",
478
+ description: "Returns true if the SUPER value is a smallint type.",
479
+ origin: "authored",
480
+ },
481
+ is_valid_json: {
482
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/IS_VALID_JSON.html",
483
+ description: "Returns true if the string is valid JSON.",
484
+ origin: "authored",
485
+ },
486
+ is_valid_json_array: {
487
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/IS_VALID_JSON_ARRAY.html",
488
+ description: "Returns true if the value is a valid JSON array.",
489
+ origin: "authored",
490
+ },
491
+ is_varchar: {
492
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_is_varchar.html",
493
+ description: "Returns true if the SUPER value is a varchar type.",
494
+ origin: "authored",
495
+ },
496
+ json_array_length: {
497
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/JSON_ARRAY_LENGTH.html",
498
+ description: "Returns the number of elements in a JSON array.",
499
+ origin: "authored",
500
+ },
501
+ json_extract_path_text: {
502
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/JSON_EXTRACT_PATH_TEXT.html",
503
+ description: "Extracts text value from a JSON string at the specified path.",
504
+ origin: "authored",
505
+ },
506
+ json_serialize: {
507
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/JSON_SERIALIZE.html",
508
+ description: "Serializes a SUPER value to a JSON-formatted string.",
509
+ origin: "authored",
510
+ },
511
+ json_serialize_to_varbyte: {
512
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/JSON_SERIALIZE_TO_VARBYTE.html",
513
+ description: "Serializes a SUPER value to binary-encoded JSON format.",
514
+ origin: "authored",
515
+ },
516
+ json_size: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_json_size.html", origin: "vendor-docs" },
517
+ json_typeof: {
518
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_json_typeof.html",
519
+ description: "Returns the type of a JSON value as a string (e.g., 'object', 'array', 'string').",
520
+ origin: "authored",
521
+ },
522
+ last_user_query_id: {
523
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/LAST_USER_QUERY_ID.html",
524
+ origin: "vendor-docs",
525
+ },
526
+ least: {
527
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_GREATEST_LEAST.html",
528
+ description: "Returns the minimum value from the given arguments.",
529
+ origin: "authored",
530
+ },
531
+ left: {
532
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LEFT.html",
533
+ description: "Returns the leftmost N characters from a string.",
534
+ origin: "authored",
535
+ },
536
+ len: {
537
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LEN.html",
538
+ description: "Returns the number of characters in a string expression.",
539
+ origin: "authored",
540
+ },
541
+ listagg: {
542
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LISTAGG.html",
543
+ description: "Concatenates values from a group into a delimited string.",
544
+ origin: "authored",
545
+ },
546
+ ln: {
547
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LN.html",
548
+ description: "Returns the natural logarithm of a numeric expression.",
549
+ origin: "authored",
550
+ },
551
+ lower: {
552
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LOWER.html",
553
+ description: "Returns the string converted to lowercase.",
554
+ origin: "authored",
555
+ },
556
+ lower_attribute_names: {
557
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_lower_attribute_names.html",
558
+ origin: "vendor-docs",
559
+ },
560
+ lpad: {
561
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LPAD.html",
562
+ description: "Returns a string left-padded to a specified length with an optional padding character.",
563
+ origin: "authored",
564
+ },
565
+ ltrim: {
566
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LTRIM.html",
567
+ description: "Removes leading whitespace or specified characters from the left side of a string.",
568
+ origin: "authored",
569
+ },
570
+ max: {
571
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_MAX.html",
572
+ description: "Returns the maximum value of an expression or column.",
573
+ origin: "authored",
574
+ },
575
+ md5: {
576
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_MD5.html",
577
+ description: "Computes the MD5 hash digest of a string.",
578
+ origin: "authored",
579
+ },
580
+ median: {
581
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_MEDIAN.html",
582
+ description: "Returns the median value from an expression within a group.",
583
+ origin: "authored",
584
+ },
585
+ min: {
586
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_MIN.html",
587
+ description: "Returns the minimum value of an expression or column.",
588
+ origin: "authored",
589
+ },
590
+ mod: {
591
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_MOD.html",
592
+ description: "Returns the remainder after dividing one number by another.",
593
+ origin: "authored",
594
+ },
595
+ months_between: {
596
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_MONTHS_BETWEEN_function.html",
597
+ description: "Returns the number of months between two dates.",
598
+ origin: "authored",
599
+ },
600
+ murmur3_32_hash: {
601
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/MURMUR3_32_HASH.html",
602
+ description: "Computes a 32-bit MurmurHash3 hash value for an input with optional seed.",
603
+ origin: "authored",
604
+ },
605
+ ntile: {
606
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_WF_NTILE.html",
607
+ description: "Divides rows within a partition into a specified number of buckets ranked sequentially.",
608
+ origin: "authored",
609
+ },
610
+ nullif: {
611
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_NULLIF_function.html",
612
+ description: "Returns NULL if two expressions are equal, otherwise returns the first expression.",
613
+ origin: "authored",
614
+ },
615
+ nvl: {
616
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_NVL_function.html",
617
+ description: "Returns the first non-NULL value from a list of expressions.",
618
+ origin: "authored",
619
+ },
620
+ nvl2: {
621
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_NVL2.html",
622
+ description: "Returns one value if an expression is not NULL, or another value if it is NULL.",
623
+ origin: "authored",
624
+ },
625
+ octet_length: {
626
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_OCTET_LENGTH.html",
627
+ description: "Returns the number of bytes in a string.",
628
+ origin: "authored",
629
+ },
630
+ octetindex: {
631
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/OCTETINDEX.html",
632
+ description: "Returns the byte-based position of a substring within a string.",
633
+ origin: "authored",
634
+ },
635
+ percent_rank: {
636
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_WF_PERCENT_RANK.html",
637
+ description: "Returns the relative rank of a row within its partition as a decimal between 0 and 1.",
638
+ origin: "authored",
639
+ },
640
+ pg_backend_pid: {
641
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_BACKEND_PID.html",
642
+ description: "Returns the backend process ID of the current session.",
643
+ origin: "authored",
644
+ },
645
+ pg_cancel_backend: {
646
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_CANCEL_BACKEND.html",
647
+ origin: "vendor-docs",
648
+ },
649
+ pg_get_cols: {
650
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_GET_COLS.html",
651
+ description: "Returns column metadata for a table or view as a comma-separated list.",
652
+ origin: "authored",
653
+ },
654
+ pg_get_grantee_by_iam_role: {
655
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_GET_GRANTEE_BY_IAMROLE.html",
656
+ description: "Returns all users and groups that have been granted a specified IAM role.",
657
+ origin: "authored",
658
+ },
659
+ pg_get_iam_role_by_user: {
660
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_GET_IAM_ROLE_BY_USER.html",
661
+ description: "Returns all IAM roles and command privileges granted to a specified user.",
662
+ origin: "authored",
663
+ },
664
+ pg_get_late_binding_view_cols: {
665
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_GET_LATE_BINDING_VIEW_COLS.html",
666
+ description: "Returns column metadata for all late-binding views in the database.",
667
+ origin: "authored",
668
+ },
669
+ pg_get_session_roles: {
670
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_GET_SESSION_ROLES.html",
671
+ description: "Returns the roles active in the current session.",
672
+ origin: "authored",
673
+ },
674
+ pg_last_copy_count: {
675
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_LAST_COPY_COUNT.html",
676
+ description: "Returns the number of rows copied by the most recent COPY command.",
677
+ origin: "authored",
678
+ },
679
+ pg_last_copy_id: {
680
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_LAST_COPY_ID.html",
681
+ description: "Returns the unique ID of the most recent COPY command.",
682
+ origin: "authored",
683
+ },
684
+ pg_last_query_id: {
685
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_LAST_QUERY_ID.html",
686
+ description: "Returns the unique ID of the most recently executed query.",
687
+ origin: "authored",
688
+ },
689
+ pg_last_unload_count: {
690
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_LAST_UNLOAD_COUNT.html",
691
+ description: "Returns the number of rows unloaded by the most recent UNLOAD command.",
692
+ origin: "authored",
693
+ },
694
+ pg_last_unload_id: {
695
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_LAST_UNLOAD_ID.html",
696
+ description: "Returns the unique ID of the most recent UNLOAD command.",
697
+ origin: "authored",
698
+ },
699
+ pg_terminate_backend: {
700
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/PG_TERMINATE_BACKEND.html",
701
+ description: "Terminates a backend process with the specified process ID.",
702
+ origin: "authored",
703
+ },
704
+ pi: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_PI.html", origin: "vendor-docs" },
705
+ power: {
706
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_POWER.html",
707
+ description: "Returns the result of raising a base number to an exponent.",
708
+ origin: "authored",
709
+ },
710
+ quote_ident: {
711
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_QUOTE_IDENT.html",
712
+ description: "Escapes and quotes an identifier for safe use in SQL statements.",
713
+ origin: "authored",
714
+ },
715
+ quote_literal: {
716
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_QUOTE_LITERAL.html",
717
+ description: "Escapes and quotes a string literal for safe use in SQL statements.",
718
+ origin: "authored",
719
+ },
720
+ radians: {
721
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_RADIANS.html",
722
+ description: "Converts an angle measurement from degrees to radians.",
723
+ origin: "authored",
724
+ },
725
+ random: {
726
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_RANDOM.html",
727
+ description: "Returns a random floating-point value between 0.0 (inclusive) and 1.0 (exclusive).",
728
+ origin: "authored",
729
+ },
730
+ ratio_to_report: {
731
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_WF_RATIO_TO_REPORT.html",
732
+ description: "Returns the ratio of a value to the sum of values in a partition as a decimal.",
733
+ origin: "authored",
734
+ },
735
+ regexp_count: {
736
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/REGEXP_COUNT.html",
737
+ description: "Returns the number of times a regular expression pattern matches in a string.",
738
+ origin: "authored",
739
+ },
740
+ regexp_replace: {
741
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/REGEXP_REPLACE.html",
742
+ description: "Replaces substrings matching a regular expression pattern with a replacement string.",
743
+ origin: "authored",
744
+ },
745
+ regexp_substr: {
746
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/REGEXP_SUBSTR.html",
747
+ description: "Returns the substring matching a regular expression pattern in a string.",
748
+ origin: "authored",
749
+ },
750
+ repeat: {
751
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_REPEAT.html",
752
+ description: "Returns a string repeated a specified number of times consecutively.",
753
+ origin: "authored",
754
+ },
755
+ replace: {
756
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_REPLACE.html",
757
+ description: "Replaces all occurrences of a substring with another substring in a string.",
758
+ origin: "authored",
759
+ },
760
+ reverse: {
761
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_REVERSE.html",
762
+ description: "Returns the input string with its characters in reverse order.",
763
+ origin: "authored",
764
+ },
765
+ right: {
766
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LEFT.html",
767
+ description: "Returns the rightmost characters from a string up to the specified length.",
768
+ origin: "authored",
769
+ },
770
+ role_is_member_of: {
771
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ROLE_IS_MEMBER_OF.html",
772
+ description: "Checks whether a role is a member of another role, returning a boolean result.",
773
+ origin: "authored",
774
+ },
775
+ round: {
776
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_ROUND.html",
777
+ description: "Rounds a numeric value to the specified number of decimal places.",
778
+ origin: "authored",
779
+ },
780
+ rpad: {
781
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_LPAD.html",
782
+ description: "Pads a string on the right to reach a specified length using a fill character or string.",
783
+ origin: "authored",
784
+ },
785
+ rtrim: {
786
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_RTRIM.html",
787
+ description: "Removes trailing whitespace or specified characters from the right side of a string.",
788
+ origin: "authored",
789
+ },
790
+ set_config: {
791
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SET_CONFIG.html",
792
+ description: "Sets a session or transaction-level configuration parameter to a new value.",
793
+ origin: "authored",
794
+ },
795
+ sha1: {
796
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/SHA1.html",
797
+ description: "Returns a SHA-1 cryptographic hash digest of the input as a hexadecimal string.",
798
+ origin: "authored",
799
+ },
800
+ sha2: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/SHA2.html", origin: "vendor-docs" },
801
+ sign: {
802
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SIGN.html",
803
+ description: "Returns -1, 0, or 1 indicating the sign of a numeric value.",
804
+ origin: "authored",
805
+ },
806
+ sin: {
807
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SIN.html",
808
+ description: "Returns the sine of an angle expressed in radians.",
809
+ origin: "authored",
810
+ },
811
+ size: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SIZE.html", origin: "vendor-docs" },
812
+ slice_num: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SLICE_NUM.html", origin: "vendor-docs" },
813
+ soundex: {
814
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/SOUNDEX.html",
815
+ description: "Returns the Soundex code (phonetic representation) of a string for sound-alike matching.",
816
+ origin: "authored",
817
+ },
818
+ split_part: {
819
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/SPLIT_PART.html",
820
+ description: "Splits a string by a delimiter and returns the specified part (1-based index).",
821
+ origin: "authored",
822
+ },
823
+ split_to_array: {
824
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/split_to_array.html",
825
+ description: "Splits a string by a delimiter and returns the results as an array.",
826
+ origin: "authored",
827
+ },
828
+ sqrt: {
829
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SQRT.html",
830
+ description: "Returns the square root of a numeric value.",
831
+ origin: "authored",
832
+ },
833
+ st_addpoint: {
834
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AddPoint-function.html",
835
+ origin: "vendor-docs",
836
+ },
837
+ st_angle: {
838
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Angle-function.html",
839
+ description: "Calculates the angle formed by three or four points in a geometry.",
840
+ origin: "authored",
841
+ },
842
+ st_area: {
843
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Area-function.html",
844
+ description: "Returns the area of a 2D geometry or geography.",
845
+ origin: "authored",
846
+ },
847
+ st_asbinary: {
848
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsBinary-function.html",
849
+ description: "Returns a geometry in WKB (Well-Known Binary) format.",
850
+ origin: "authored",
851
+ },
852
+ st_asewkb: {
853
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsEWKB-function.html",
854
+ description: "Returns a geometry in EWKB (Extended Well-Known Binary) format including SRID information.",
855
+ origin: "authored",
856
+ },
857
+ st_asewkt: {
858
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsEWKT-function.html",
859
+ description: "Returns a geometry as EWKT (Extended Well-Known Text) with SRID and optional precision.",
860
+ origin: "authored",
861
+ },
862
+ st_asgeojson: {
863
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsGeoJSON-function.html",
864
+ description: "Returns a geometry formatted as GeoJSON with optional coordinate precision.",
865
+ origin: "authored",
866
+ },
867
+ st_ashexewkb: {
868
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsHexEWKB-function.html",
869
+ description: "Returns a geometry as a hexadecimal-encoded EWKB string.",
870
+ origin: "authored",
871
+ },
872
+ st_ashexwkb: {
873
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsHexWKB-function.html",
874
+ description: "Returns a geometry as a hexadecimal-encoded WKB string.",
875
+ origin: "authored",
876
+ },
877
+ st_astext: {
878
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_AsText-function.html",
879
+ description: "Returns a geometry as WKT (Well-Known Text) with optional coordinate precision.",
880
+ origin: "authored",
881
+ },
882
+ st_azimuth: {
883
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Azimuth-function.html",
884
+ description: "Calculates the azimuth (compass bearing in radians) from one point to another.",
885
+ origin: "authored",
886
+ },
887
+ st_boundary: {
888
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Boundary-function.html",
889
+ description: "Returns the boundary (edge) geometry of the input geometry.",
890
+ origin: "authored",
891
+ },
892
+ st_buffer: {
893
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Buffer-function.html",
894
+ description: "Creates a polygon that represents all points within a specified distance of a geometry.",
895
+ origin: "authored",
896
+ },
897
+ st_centroid: {
898
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Centroid-function.html",
899
+ description: "Returns the centroid (mathematical center point) of a geometry.",
900
+ origin: "authored",
901
+ },
902
+ st_collect: {
903
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Collect-function.html",
904
+ description: "Combines two geometries into a multi-geometry, or aggregates geometries from a column.",
905
+ origin: "authored",
906
+ },
907
+ st_contains: {
908
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Contains-function.html",
909
+ description: "Tests whether one geometry completely contains another geometry.",
910
+ origin: "authored",
911
+ },
912
+ st_containsproperly: {
913
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_ContainsProperly-function.html",
914
+ description: "Tests whether one geometry properly contains another (touching at boundary is excluded).",
915
+ origin: "authored",
916
+ },
917
+ st_convexhull: {
918
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_ConvexHull-function.html",
919
+ description: "Returns the convex hull (smallest convex polygon) enclosing all points in a geometry.",
920
+ origin: "authored",
921
+ },
922
+ st_coveredby: {
923
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_CoveredBy-function.html",
924
+ description: "Tests whether one geometry is completely covered by another geometry.",
925
+ origin: "authored",
926
+ },
927
+ st_covers: {
928
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Covers-function.html",
929
+ description: "Tests whether one geometry completely covers another geometry.",
930
+ origin: "authored",
931
+ },
932
+ st_crosses: {
933
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Crosses-function.html",
934
+ description: "Tests whether two geometries cross (share interior points but neither contains the other).",
935
+ origin: "authored",
936
+ },
937
+ st_dimension: {
938
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Dimension-function.html",
939
+ description: "Returns the dimensionality of a geometry (0 for point, 1 for line, 2 for surface).",
940
+ origin: "authored",
941
+ },
942
+ st_disjoint: {
943
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Disjoint-function.html",
944
+ description: "Tests whether two geometries are disjoint (have no points in common).",
945
+ origin: "authored",
946
+ },
947
+ st_distance: {
948
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Distance-function.html",
949
+ description: "Returns the minimum distance between two geometries in the same coordinate system.",
950
+ origin: "authored",
951
+ },
952
+ st_distancesphere: {
953
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_DistanceSphere-function.html",
954
+ origin: "vendor-docs",
955
+ },
956
+ st_dwithin: {
957
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_DWithin-function.html",
958
+ description: "Returns true if two geometries are within a specified distance threshold of each other.",
959
+ origin: "authored",
960
+ },
961
+ st_endpoint: {
962
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_EndPoint-function.html",
963
+ origin: "vendor-docs",
964
+ },
965
+ st_envelope: {
966
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Envelope-function.html",
967
+ description: "Returns the bounding box of a geometry as a polygon.",
968
+ origin: "authored",
969
+ },
970
+ st_equals: {
971
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Equals-function.html",
972
+ description: "Returns true if two geometries represent the same shape and location.",
973
+ origin: "authored",
974
+ },
975
+ st_exteriorring: {
976
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_ExteriorRing-function.html",
977
+ description: "Returns the outer boundary ring of a polygon as a linestring.",
978
+ origin: "authored",
979
+ },
980
+ st_force2d: {
981
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Force2D-function.html",
982
+ description: "Casts a geometry to two dimensions by dropping Z and M coordinates.",
983
+ origin: "authored",
984
+ },
985
+ st_force3dm: {
986
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Force3DM-function.html",
987
+ description: "Casts a geometry to three dimensions, retaining only the M coordinate as the third dimension.",
988
+ origin: "authored",
989
+ },
990
+ st_force3dz: {
991
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Force3DZ-function.html",
992
+ description: "Casts a geometry to three dimensions, retaining only the Z coordinate as the third dimension.",
993
+ origin: "authored",
994
+ },
995
+ st_force4d: {
996
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Force4D-function.html",
997
+ description: "Casts a geometry to four dimensions with both Z and M coordinates.",
998
+ origin: "authored",
999
+ },
1000
+ st_geogfromtext: {
1001
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeogFromText-function.html",
1002
+ description: "Converts a WKT (well-known text) string into a geography type.",
1003
+ origin: "authored",
1004
+ },
1005
+ st_geogfromwkb: {
1006
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeogFromWKB-function.html",
1007
+ description: "Converts a WKB (well-known binary) representation into a geography type.",
1008
+ origin: "authored",
1009
+ },
1010
+ st_geohash: {
1011
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeoHash-function.html",
1012
+ description: "Encodes a geometry as a geohash string for spatial indexing and proximity queries.",
1013
+ origin: "authored",
1014
+ },
1015
+ st_geometryn: {
1016
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeometryN-function.html",
1017
+ description: "Returns the geometry at the specified index within a geometry collection.",
1018
+ origin: "authored",
1019
+ },
1020
+ st_geometrytype: {
1021
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeometryType-function.html",
1022
+ origin: "vendor-docs",
1023
+ },
1024
+ st_geomfromewkb: {
1025
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromEWKB-function.html",
1026
+ description: "Converts an EWKB (extended well-known binary) representation into a geometry type.",
1027
+ origin: "authored",
1028
+ },
1029
+ st_geomfromewkt: {
1030
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromEWKT-function.html",
1031
+ description: "Converts an EWKT (extended well-known text) string into a geometry type.",
1032
+ origin: "authored",
1033
+ },
1034
+ st_geomfromgeohash: {
1035
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromGeoHash-function.html",
1036
+ description: "Converts a geohash string into a geometry representing its bounding box.",
1037
+ origin: "authored",
1038
+ },
1039
+ st_geomfromgeojson: {
1040
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromGeoJSON-function.html",
1041
+ description: "Converts a GeoJSON string into a geometry type.",
1042
+ origin: "authored",
1043
+ },
1044
+ st_geomfromgeosquare: {
1045
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromGeoSquare-function.html",
1046
+ description: "Converts a geosquare code string into a geometry.",
1047
+ origin: "authored",
1048
+ },
1049
+ st_geomfromtext: {
1050
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromText-function.html",
1051
+ description: "Converts a WKT (well-known text) string into a geometry type with optional SRID.",
1052
+ origin: "authored",
1053
+ },
1054
+ st_geomfromwkb: {
1055
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeomFromWKB-function.html",
1056
+ description: "Converts a WKB (well-known binary) representation into a geometry type with optional SRID.",
1057
+ origin: "authored",
1058
+ },
1059
+ st_geosquare: {
1060
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_GeoSquare-function.html",
1061
+ description: "Encodes a geometry as a geosquare code string for spatial partitioning.",
1062
+ origin: "authored",
1063
+ },
1064
+ st_interiorringn: {
1065
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_InteriorRingN-function.html",
1066
+ description: "Returns the interior ring at the specified index of a polygon.",
1067
+ origin: "authored",
1068
+ },
1069
+ st_intersection: {
1070
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Intersection-function.html",
1071
+ description: "Returns the spatial intersection of two geometries.",
1072
+ origin: "authored",
1073
+ },
1074
+ st_intersects: {
1075
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Intersects-function.html",
1076
+ description: "Returns true if two geometries have any points in common.",
1077
+ origin: "authored",
1078
+ },
1079
+ st_isclosed: {
1080
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsClosed-function.html",
1081
+ description: "Returns true if a geometry's start and end points are the same.",
1082
+ origin: "authored",
1083
+ },
1084
+ st_iscollection: {
1085
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsCollection-function.html",
1086
+ description: "Returns true if a geometry is a collection type (Multi* or GeometryCollection).",
1087
+ origin: "authored",
1088
+ },
1089
+ st_isempty: {
1090
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsEmpty-function.html",
1091
+ description: "Returns true if a geometry has no points or area.",
1092
+ origin: "authored",
1093
+ },
1094
+ st_ispolygonccw: {
1095
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsPolygonCCW-function.html",
1096
+ origin: "vendor-docs",
1097
+ },
1098
+ st_ispolygoncw: {
1099
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsPolygonCW-function.html",
1100
+ origin: "vendor-docs",
1101
+ },
1102
+ st_isring: {
1103
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsRing-function.html",
1104
+ description: "Returns true if a linestring is closed and simple (no self-intersections).",
1105
+ origin: "authored",
1106
+ },
1107
+ st_issimple: {
1108
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsSimple-function.html",
1109
+ description: "Returns true if a geometry does not self-intersect or self-touch.",
1110
+ origin: "authored",
1111
+ },
1112
+ st_isvalid: {
1113
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_IsValid-function.html",
1114
+ description: "Returns true if a geometry is valid according to spatial topology rules.",
1115
+ origin: "authored",
1116
+ },
1117
+ st_length: {
1118
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Length-function.html",
1119
+ description: "Returns the length of a geometry in its coordinate system units.",
1120
+ origin: "authored",
1121
+ },
1122
+ st_lengthsphere: {
1123
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_LengthSphere-function.html",
1124
+ origin: "vendor-docs",
1125
+ },
1126
+ st_linefrommultipoint: {
1127
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_LineFromMultiPoint-function.html",
1128
+ description: "Converts a multipoint geometry into a linestring by connecting the points in order.",
1129
+ origin: "authored",
1130
+ },
1131
+ st_lineinterpolatepoint: {
1132
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_LineInterpolatePoint-function.html",
1133
+ description: "Returns a point at a specified fraction of the distance along a linestring.",
1134
+ origin: "authored",
1135
+ },
1136
+ st_m: {
1137
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_M-function.html",
1138
+ description: "Returns the M (measure) coordinate of a point geometry.",
1139
+ origin: "authored",
1140
+ },
1141
+ st_makeenvelope: {
1142
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MakeEnvelope-function.html",
1143
+ origin: "vendor-docs",
1144
+ },
1145
+ st_makeline: {
1146
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MakeLine-function.html",
1147
+ description: "Constructs a line string geometry from two geometries.",
1148
+ origin: "authored",
1149
+ },
1150
+ st_makepoint: {
1151
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MakePoint-function.html",
1152
+ description: "Constructs a point geometry from x and y coordinates, with optional z and m dimensions.",
1153
+ origin: "authored",
1154
+ },
1155
+ st_makepolygon: {
1156
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MakePolygon-function.html",
1157
+ description: "Constructs a polygon from a line string ring and optional interior ring geometries.",
1158
+ origin: "authored",
1159
+ },
1160
+ st_memsize: {
1161
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MemSize-function.html",
1162
+ origin: "vendor-docs",
1163
+ },
1164
+ st_mmax: {
1165
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MMax-function.html",
1166
+ description: "Returns the maximum M coordinate value in a geometry.",
1167
+ origin: "authored",
1168
+ },
1169
+ st_mmin: {
1170
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_MMin-function.html",
1171
+ description: "Returns the minimum M coordinate value in a geometry.",
1172
+ origin: "authored",
1173
+ },
1174
+ st_multi: {
1175
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Multi-function.html",
1176
+ description: "Converts a geometry to its multi-variant (MultiPoint, MultiLineString, or MultiPolygon).",
1177
+ origin: "authored",
1178
+ },
1179
+ st_ndims: {
1180
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_NDims-function.html",
1181
+ description: "Returns the number of dimensions (2, 3, or 4) in a geometry.",
1182
+ origin: "authored",
1183
+ },
1184
+ st_npoints: {
1185
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_NPoints-function.html",
1186
+ description: "Returns the number of points in a geometry.",
1187
+ origin: "authored",
1188
+ },
1189
+ st_nrings: {
1190
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_NRings-function.html",
1191
+ description: "Returns the number of rings in a geometry.",
1192
+ origin: "authored",
1193
+ },
1194
+ st_numgeometries: {
1195
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_NumGeometries-function.html",
1196
+ description: "Returns the number of geometries in a multi-geometry object.",
1197
+ origin: "authored",
1198
+ },
1199
+ st_numinteriorrings: {
1200
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_NumInteriorRings-function.html",
1201
+ description: "Returns the number of interior rings (holes) in a polygon.",
1202
+ origin: "authored",
1203
+ },
1204
+ st_numpoints: {
1205
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_NumPoints-function.html",
1206
+ origin: "vendor-docs",
1207
+ },
1208
+ st_perimeter: {
1209
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Perimeter-function.html",
1210
+ origin: "vendor-docs",
1211
+ },
1212
+ st_point: {
1213
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Point-function.html",
1214
+ description: "Constructs a point geometry from x and y coordinates.",
1215
+ origin: "authored",
1216
+ },
1217
+ st_pointn: {
1218
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_PointN-function.html",
1219
+ description: "Returns the point at the specified index position in a geometry.",
1220
+ origin: "authored",
1221
+ },
1222
+ st_points: {
1223
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Points-function.html",
1224
+ origin: "vendor-docs",
1225
+ },
1226
+ st_polygon: {
1227
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Polygon-function.html",
1228
+ description: "Constructs a polygon from a line string ring using the specified SRID.",
1229
+ origin: "authored",
1230
+ },
1231
+ st_removepoint: {
1232
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_RemovePoint-function.html",
1233
+ description: "Removes the point at the specified index from a geometry.",
1234
+ origin: "authored",
1235
+ },
1236
+ st_reverse: {
1237
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Reverse-function.html",
1238
+ description: "Reverses the order of vertices in a geometry.",
1239
+ origin: "authored",
1240
+ },
1241
+ st_setpoint: {
1242
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_SetPoint-function.html",
1243
+ description: "Replaces the point at the specified index in a geometry with another point.",
1244
+ origin: "authored",
1245
+ },
1246
+ st_setsrid: {
1247
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_SetSRID-function.html",
1248
+ description: "Sets the SRID (spatial reference system identifier) of a geometry.",
1249
+ origin: "authored",
1250
+ },
1251
+ st_simplify: {
1252
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Simplify-function.html",
1253
+ description: "Simplifies a geometry by removing vertices within a specified tolerance distance.",
1254
+ origin: "authored",
1255
+ },
1256
+ st_srid: {
1257
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_SRID-function.html",
1258
+ description: "Returns the SRID (spatial reference system identifier) of a geometry.",
1259
+ origin: "authored",
1260
+ },
1261
+ st_startpoint: {
1262
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_StartPoint-function.html",
1263
+ description: "Returns the first point in a geometry.",
1264
+ origin: "authored",
1265
+ },
1266
+ st_touches: {
1267
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Touches-function.html",
1268
+ description: "Tests whether two geometries have at least one point in common but do not overlap.",
1269
+ origin: "authored",
1270
+ },
1271
+ st_transform: {
1272
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Transform-function.html",
1273
+ description: "Transforms a geometry to a different SRID (spatial reference system).",
1274
+ origin: "authored",
1275
+ },
1276
+ st_union: {
1277
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Union-function.html",
1278
+ description: "Computes the geometric union of two geometries.",
1279
+ origin: "authored",
1280
+ },
1281
+ st_within: {
1282
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Within-function.html",
1283
+ description: "Tests whether one geometry is completely within another geometry.",
1284
+ origin: "authored",
1285
+ },
1286
+ st_x: {
1287
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_X-function.html",
1288
+ description: "Returns the X coordinate of a point geometry.",
1289
+ origin: "authored",
1290
+ },
1291
+ st_xmax: {
1292
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_XMax-function.html",
1293
+ description: "Returns the maximum X coordinate value in a geometry's bounding box.",
1294
+ origin: "authored",
1295
+ },
1296
+ st_xmin: {
1297
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_XMin-function.html",
1298
+ description: "Returns the minimum X coordinate value in a geometry's bounding box.",
1299
+ origin: "authored",
1300
+ },
1301
+ st_y: {
1302
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Y-function.html",
1303
+ description: "Returns the Y coordinate of a point geometry.",
1304
+ origin: "authored",
1305
+ },
1306
+ st_ymax: {
1307
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_YMax-function.html",
1308
+ description: "Returns the maximum Y coordinate value in a geometry's bounding box.",
1309
+ origin: "authored",
1310
+ },
1311
+ st_ymin: {
1312
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_YMin-function.html",
1313
+ description: "Returns the minimum Y coordinate value in a geometry's bounding box.",
1314
+ origin: "authored",
1315
+ },
1316
+ st_z: {
1317
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_Z-function.html",
1318
+ description: "Returns the Z coordinate of a point geometry.",
1319
+ origin: "authored",
1320
+ },
1321
+ st_zmax: {
1322
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_ZMax-function.html",
1323
+ description: "Returns the maximum Z coordinate value in a geometry.",
1324
+ origin: "authored",
1325
+ },
1326
+ st_zmin: {
1327
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/ST_ZMin-function.html",
1328
+ description: "Returns the minimum Z coordinate value in a geometry.",
1329
+ origin: "authored",
1330
+ },
1331
+ stddev_pop: {
1332
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_STDDEV_functions.html",
1333
+ description: "Calculates the population standard deviation of a numeric expression across all rows.",
1334
+ origin: "authored",
1335
+ },
1336
+ strpos: {
1337
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_STRPOS.html",
1338
+ description: "Returns the position of a substring within a string, using 1-based indexing, or 0 if not found.",
1339
+ origin: "authored",
1340
+ },
1341
+ strtol: {
1342
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_STRTOL.html",
1343
+ description: "Converts a string representation of a number in the given base to its integer value.",
1344
+ origin: "authored",
1345
+ },
1346
+ subarray: {
1347
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_subarray.html",
1348
+ description: "Extracts a contiguous slice from an array starting at the given position for a specified length.",
1349
+ origin: "authored",
1350
+ },
1351
+ substring: {
1352
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SUBSTRING.html",
1353
+ description: "Extracts a substring starting at a position for a specified number of characters or bytes.",
1354
+ origin: "authored",
1355
+ },
1356
+ sum: {
1357
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_SUM.html",
1358
+ description: "Aggregates numeric values across rows, returning their sum.",
1359
+ origin: "authored",
1360
+ },
1361
+ supportsbbox: {
1362
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/SupportsBBox-function.html",
1363
+ origin: "vendor-docs",
1364
+ },
1365
+ tan: {
1366
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TAN.html",
1367
+ description: "Returns the tangent of a numeric argument interpreted as radians.",
1368
+ origin: "authored",
1369
+ },
1370
+ text_to_int_alt: {
1371
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TEXT_TO_INT_ALT.html",
1372
+ origin: "vendor-docs",
1373
+ },
1374
+ timeofday: {
1375
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMEOFDAY_function.html",
1376
+ description: "Returns the current date and time as a text string.",
1377
+ origin: "authored",
1378
+ },
1379
+ timestamp_cmp: {
1380
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMESTAMP_CMP.html",
1381
+ description: "Compares two timestamps and returns -1, 0, or 1 to indicate their relative ordering.",
1382
+ origin: "authored",
1383
+ },
1384
+ timestamp_cmp_date: {
1385
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMESTAMP_CMP_DATE.html",
1386
+ description: "Compares a timestamp to a date and returns -1, 0, or 1 based on their ordering.",
1387
+ origin: "authored",
1388
+ },
1389
+ timestamp_cmp_timestamptz: {
1390
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMESTAMP_CMP_TIMESTAMPTZ.html",
1391
+ description: "Compares a timestamp to a timestamp with time zone and returns -1, 0, or 1.",
1392
+ origin: "authored",
1393
+ },
1394
+ timestamptz_cmp: {
1395
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMESTAMPTZ_CMP.html",
1396
+ description: "Compares two timestamps with time zone and returns -1, 0, or 1 to indicate their order.",
1397
+ origin: "authored",
1398
+ },
1399
+ timestamptz_cmp_date: {
1400
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMESTAMPTZ_CMP_DATE.html",
1401
+ description: "Compares a timestamp with time zone to a date and returns -1, 0, or 1.",
1402
+ origin: "authored",
1403
+ },
1404
+ timestamptz_cmp_timestamp: {
1405
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TIMESTAMPTZ_CMP_TIMESTAMP.html",
1406
+ description: "Compares a timestamp with time zone to a timestamp and returns -1, 0, or 1.",
1407
+ origin: "authored",
1408
+ },
1409
+ to_date: {
1410
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TO_DATE_function.html",
1411
+ description: "Converts a string to a date using the specified format string.",
1412
+ origin: "authored",
1413
+ },
1414
+ to_hex: {
1415
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TO_HEX.html",
1416
+ description: "Converts a value to its hexadecimal string representation.",
1417
+ origin: "authored",
1418
+ },
1419
+ to_number: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TO_NUMBER.html", origin: "vendor-docs" },
1420
+ to_timestamp: {
1421
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TO_TIMESTAMP.html",
1422
+ description: "Converts a string to a timestamp using the specified format string.",
1423
+ origin: "authored",
1424
+ },
1425
+ to_varbyte: {
1426
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TO_VARBYTE.html",
1427
+ description: "Converts a string to a binary varbyte value using the specified format.",
1428
+ origin: "authored",
1429
+ },
1430
+ translate: {
1431
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TRANSLATE.html",
1432
+ description: "Replaces characters in an expression based on character-to-character substitution rules.",
1433
+ origin: "authored",
1434
+ },
1435
+ trim: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TRIM.html", origin: "vendor-docs" },
1436
+ trunc: { docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_TRUNC.html", origin: "vendor-docs" },
1437
+ upper: {
1438
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_UPPER.html",
1439
+ description: "Converts a string to uppercase.",
1440
+ origin: "authored",
1441
+ },
1442
+ upper_attribute_names: {
1443
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_upper_attribute_names.html",
1444
+ description: "Converts attribute names in a SUPER data type to uppercase.",
1445
+ origin: "authored",
1446
+ },
1447
+ var_pop: {
1448
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_VARIANCE_functions.html",
1449
+ description: "Calculates the population variance of numeric values.",
1450
+ origin: "authored",
1451
+ },
1452
+ version: {
1453
+ docUrl: "https://docs.aws.amazon.com/redshift/latest/dg/r_VERSION.html",
1454
+ description: "Returns the version string of the Redshift instance.",
1455
+ origin: "authored",
1456
+ },
1457
+ };