sqllens 1.2.0 → 1.4.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 (47) 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/complete.js +13 -4
  7. package/dist/completion/jinja-slot.d.ts +6 -0
  8. package/dist/completion/jinja-slot.js +13 -3
  9. package/dist/databricks/fn-docs.generated.d.ts +2 -0
  10. package/dist/databricks/fn-docs.generated.js +3257 -0
  11. package/dist/duckdb/fn-docs.generated.d.ts +2 -0
  12. package/dist/duckdb/fn-docs.generated.js +2051 -0
  13. package/dist/duckdb/fold.js +6 -4
  14. package/dist/ident/fold.d.ts +5 -2
  15. package/dist/ident/fold.js +2 -0
  16. package/dist/index.d.ts +1 -1
  17. package/dist/index.js +1 -1
  18. package/dist/infer/types.js +4 -1
  19. package/dist/minijinja/apply-tags.js +19 -10
  20. package/dist/mysql/fn-docs.generated.d.ts +2 -0
  21. package/dist/mysql/fn-docs.generated.js +1204 -0
  22. package/dist/parse-diagnostics.js +33 -1
  23. package/dist/postgres/fn-docs.generated.d.ts +2 -0
  24. package/dist/postgres/fn-docs.generated.js +2818 -0
  25. package/dist/postgres/fold.js +9 -3
  26. package/dist/postgres/signatures.generated.js +585 -585
  27. package/dist/qualify/template-provider.d.ts +5 -2
  28. package/dist/qualify/template-provider.js +5 -2
  29. package/dist/redshift/fn-docs.generated.d.ts +2 -0
  30. package/dist/redshift/fn-docs.generated.js +1457 -0
  31. package/dist/redshift/fold.js +6 -4
  32. package/dist/sema/resolve.js +3 -1
  33. package/dist/signature/docs.d.ts +16 -0
  34. package/dist/signature/docs.js +47 -0
  35. package/dist/signature/render.d.ts +7 -0
  36. package/dist/signature/render.js +40 -0
  37. package/dist/signature/signature.js +5 -5
  38. package/dist/snowflake/fn-docs.generated.d.ts +2 -0
  39. package/dist/snowflake/fn-docs.generated.js +2461 -0
  40. package/dist/sqlite/fn-docs.generated.d.ts +2 -0
  41. package/dist/sqlite/fn-docs.generated.js +609 -0
  42. package/dist/sqlite/fold.js +5 -7
  43. package/dist/trino/fn-docs.generated.d.ts +2 -0
  44. package/dist/trino/fn-docs.generated.js +1932 -0
  45. package/dist/tsql/fn-docs.generated.d.ts +2 -0
  46. package/dist/tsql/fn-docs.generated.js +1017 -0
  47. package/package.json +1 -1
@@ -0,0 +1,2051 @@
1
+ export const DUCKDB_FN_DOCS = {
2
+ abs: {
3
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#absx",
4
+ description: "Absolute value.",
5
+ origin: "vendor-docs",
6
+ },
7
+ acos: {
8
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#acosx",
9
+ description: "Computes the inverse cosine of `x`.",
10
+ origin: "vendor-docs",
11
+ },
12
+ acosh: {
13
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#acoshx",
14
+ description: "Computes the inverse hyperbolic cosine of `x`.",
15
+ origin: "vendor-docs",
16
+ },
17
+ add: {
18
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#addx-y",
19
+ description: "Alias for `x + y`.",
20
+ origin: "vendor-docs",
21
+ },
22
+ age: {
23
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#agetimestamp-timestamp",
24
+ description: "Subtract arguments, resulting in the time difference between the two timestamps.",
25
+ origin: "vendor-docs",
26
+ },
27
+ ago: {
28
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#agointerval",
29
+ description: "Subtracts an interval from the current timestamp, returning a timestamp in the past.",
30
+ origin: "vendor-docs",
31
+ },
32
+ alias: {
33
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#aliascolumn",
34
+ description: "Return the name of the column.",
35
+ origin: "vendor-docs",
36
+ },
37
+ any_value: {
38
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#any_valuearg",
39
+ description: "Returns the first non-`NULL` value from `arg`.",
40
+ origin: "vendor-docs",
41
+ },
42
+ arg_max: {
43
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#arg_maxarg-val",
44
+ description: "Finds the row with the maximum `val` and calculates the `arg` expression at that row.",
45
+ origin: "vendor-docs",
46
+ },
47
+ arg_max_null: {
48
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#arg_max_nullarg-val",
49
+ description: "Finds the row with the maximum `val` and calculates the `arg` expression at that row.",
50
+ origin: "vendor-docs",
51
+ },
52
+ arg_min: {
53
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#arg_minarg-val",
54
+ description: "Finds the row with the minimum `val` and calculates the `arg` expression at that row.",
55
+ origin: "vendor-docs",
56
+ },
57
+ arg_min_null: {
58
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#arg_min_nullarg-val",
59
+ description: "Finds the row with the minimum `val` and calculates the `arg` expression at that row.",
60
+ origin: "vendor-docs",
61
+ },
62
+ array_cosine_distance: {
63
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_cosine_distancearray1-array2",
64
+ description: "Computes the cosine distance between two arrays of the same size.",
65
+ origin: "vendor-docs",
66
+ },
67
+ array_cosine_similarity: {
68
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_cosine_similarityarray1-array2",
69
+ description: "Computes the cosine similarity between two arrays of the same size.",
70
+ origin: "vendor-docs",
71
+ },
72
+ array_cross_product: {
73
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_cross_productarray-array",
74
+ description: "Computes the cross product of two arrays of size 3.",
75
+ origin: "vendor-docs",
76
+ },
77
+ array_distance: {
78
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_distancearray1-array2",
79
+ description: "Computes the distance between two arrays of the same size.",
80
+ origin: "vendor-docs",
81
+ },
82
+ array_extract: {
83
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#array_extractlist-index",
84
+ description: "Extracts the `index`th (1-based) value from the `list`.",
85
+ origin: "vendor-docs",
86
+ },
87
+ array_inner_product: {
88
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_inner_productarray1-array2",
89
+ description: "Computes the inner product between two arrays of the same size.",
90
+ origin: "vendor-docs",
91
+ },
92
+ array_negative_inner_product: {
93
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_negative_inner_productarray1-array2",
94
+ description: "Computes the negative inner product between two arrays of the same size.",
95
+ origin: "vendor-docs",
96
+ },
97
+ array_pop_back: {
98
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#array_pop_backlist",
99
+ description: "Returns the `list` without the last element.",
100
+ origin: "vendor-docs",
101
+ },
102
+ array_pop_front: {
103
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#array_pop_frontlist",
104
+ description: "Returns the `list` without the first element.",
105
+ origin: "vendor-docs",
106
+ },
107
+ array_push_front: {
108
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#array_push_frontlist-element",
109
+ description: "Prepends `element` to `list`.",
110
+ origin: "vendor-docs",
111
+ },
112
+ array_slice: {
113
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#array_slicelist-begin-end",
114
+ description: "Extracts a sublist or substring using slice conventions.",
115
+ origin: "vendor-docs",
116
+ },
117
+ array_to_string: {
118
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#array_to_stringlist-delimiter",
119
+ description: "Concatenates list/array elements using an optional `delimiter`.",
120
+ origin: "vendor-docs",
121
+ },
122
+ array_to_string_comma_default: {
123
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#array_to_string_comma_defaultarray",
124
+ description: "Concatenates list/array elements with a comma delimiter.",
125
+ origin: "vendor-docs",
126
+ },
127
+ array_value: {
128
+ docUrl: "https://duckdb.org/docs/current/sql/functions/array.html#array_valuearg-",
129
+ description: "Creates an `ARRAY` containing the argument values.",
130
+ origin: "vendor-docs",
131
+ },
132
+ ascii: {
133
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#asciistring",
134
+ description: "Returns an integer that represents the Unicode code point of the first character of the `string`.",
135
+ origin: "vendor-docs",
136
+ },
137
+ asin: {
138
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#asinx",
139
+ description: "Computes the inverse sine of `x`.",
140
+ origin: "vendor-docs",
141
+ },
142
+ asinh: {
143
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#asinhx",
144
+ description: "Computes the inverse hyperbolic sine of `x`.",
145
+ origin: "vendor-docs",
146
+ },
147
+ atan: {
148
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#atanx",
149
+ description: "Computes the inverse tangent of `x`.",
150
+ origin: "vendor-docs",
151
+ },
152
+ atan2: {
153
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#atan2y-x",
154
+ description: "Computes the inverse tangent (y, x).",
155
+ origin: "vendor-docs",
156
+ },
157
+ atanh: {
158
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#atanhx",
159
+ description: "Computes the inverse hyperbolic tangent of `x`.",
160
+ origin: "vendor-docs",
161
+ },
162
+ avg: {
163
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#avgarg",
164
+ description: "Calculates the average of all non-null values in `arg`.",
165
+ origin: "vendor-docs",
166
+ },
167
+ bar: {
168
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#barx-min-max-width",
169
+ description: "Draws a band whose width is proportional to (`x - min`) and equal to `width` characters when `x` = `max`.",
170
+ origin: "vendor-docs",
171
+ },
172
+ bin: {
173
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#binstring",
174
+ description: "Converts the `string` to binary representation.",
175
+ origin: "vendor-docs",
176
+ },
177
+ bit_and: {
178
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#bit_andarg",
179
+ description: "Returns the bitwise `AND` of all bits in a given expression.",
180
+ origin: "vendor-docs",
181
+ },
182
+ bit_count: {
183
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#bit_countbitstring",
184
+ description: "Returns the number of set bits in the bitstring.",
185
+ origin: "vendor-docs",
186
+ },
187
+ bit_length: {
188
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#bit_lengthbitstring",
189
+ description: "Returns the number of bits in the bitstring.",
190
+ origin: "vendor-docs",
191
+ },
192
+ bit_or: {
193
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#bit_orarg",
194
+ description: "Returns the bitwise `OR` of all bits in a given expression.",
195
+ origin: "vendor-docs",
196
+ },
197
+ bit_position: {
198
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#bit_positionsubstring-bitstring",
199
+ description: "Returns first starting index of the specified substring within bits, or zero if it's not present.",
200
+ origin: "vendor-docs",
201
+ },
202
+ bit_xor: {
203
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#bit_xorarg",
204
+ description: "Returns the bitwise `XOR` of all bits in a given expression.",
205
+ origin: "vendor-docs",
206
+ },
207
+ bitstring: {
208
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#bitstringbitstring-length",
209
+ description: "Returns a bitstring of determined length.",
210
+ origin: "vendor-docs",
211
+ },
212
+ bitstring_agg: {
213
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#bitstring_aggarg",
214
+ description: "Returns a bitstring whose length corresponds to the range of the non-null (integer) values, with bits set at the location of each (distinct) value.",
215
+ origin: "vendor-docs",
216
+ },
217
+ bool_and: {
218
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#bool_andarg",
219
+ description: "Returns `true` if every input value is `true`, otherwise `false`.",
220
+ origin: "vendor-docs",
221
+ },
222
+ bool_or: {
223
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#bool_orarg",
224
+ description: "Returns `true` if any input value is `true`, otherwise `false`.",
225
+ origin: "vendor-docs",
226
+ },
227
+ can_cast_implicitly: {
228
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#can_cast_implicitlysource_value-target_value",
229
+ description: "Whether or not we can implicitly cast from the types of the source value to the target value.",
230
+ origin: "vendor-docs",
231
+ },
232
+ cardinality: {
233
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#cardinalitymap",
234
+ description: "Return the size of the map (or the number of entries in the map).",
235
+ origin: "vendor-docs",
236
+ },
237
+ cbrt: {
238
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#cbrtx",
239
+ description: "Returns the cube root of the number.",
240
+ origin: "vendor-docs",
241
+ },
242
+ ceil: {
243
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#ceilx",
244
+ description: "Rounds the number up.",
245
+ origin: "vendor-docs",
246
+ },
247
+ ceiling: {
248
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#ceilingx",
249
+ description: "Rounds the number up.",
250
+ origin: "vendor-docs",
251
+ },
252
+ century: {
253
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#centurydate",
254
+ description: "Century.",
255
+ origin: "vendor-docs",
256
+ },
257
+ checkpoint: {
258
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#checkpointdatabase",
259
+ description: "Synchronize WAL with file for (optional) database without interrupting transactions.",
260
+ origin: "vendor-docs",
261
+ },
262
+ chr: {
263
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#chrcode_point",
264
+ description: "Returns a character which is corresponding the ASCII code value or Unicode code point.",
265
+ origin: "vendor-docs",
266
+ },
267
+ coalesce: {
268
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#coalesceexpr-",
269
+ description: "Return the first expression that evaluates to a non-`NULL` value.",
270
+ origin: "vendor-docs",
271
+ },
272
+ concat: {
273
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#concatvalue-",
274
+ description: "Concatenates multiple strings or lists.",
275
+ origin: "vendor-docs",
276
+ },
277
+ concat_ws: {
278
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#concat_wsseparator-string-",
279
+ description: "Concatenates many strings, separated by `separator`.",
280
+ origin: "vendor-docs",
281
+ },
282
+ constant_or_null: {
283
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#constant_or_nullarg1-arg2",
284
+ description: "If `arg2` is `NULL`, return `NULL`.",
285
+ origin: "vendor-docs",
286
+ },
287
+ contains: {
288
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#containslist-element",
289
+ description: "Returns `true` if the `list` contains the `element`.",
290
+ origin: "vendor-docs",
291
+ },
292
+ corr: {
293
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#corry-x",
294
+ description: "The correlation coefficient.",
295
+ origin: "vendor-docs",
296
+ },
297
+ cos: {
298
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#cosx",
299
+ description: "Computes the cosine of `x`.",
300
+ origin: "vendor-docs",
301
+ },
302
+ cot: {
303
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#cotx",
304
+ description: "Computes the cotangent of `x`.",
305
+ origin: "vendor-docs",
306
+ },
307
+ count: {
308
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#count",
309
+ description: "Returns the number of rows.",
310
+ origin: "vendor-docs",
311
+ },
312
+ count_if: {
313
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#count_ifx",
314
+ description: "Aggregate function; rows contribute 1 if `x` is `true` or a non-zero number, else 0.",
315
+ origin: "vendor-docs",
316
+ },
317
+ countif: {
318
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#countifarg",
319
+ description: "Returns the number of rows where `arg` is `true`.",
320
+ origin: "vendor-docs",
321
+ },
322
+ covar_pop: {
323
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#covar_popy-x",
324
+ description: "The population covariance, which does not include bias correction.",
325
+ origin: "vendor-docs",
326
+ },
327
+ covar_samp: {
328
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#covar_sampy-x",
329
+ description: "The sample covariance, which includes Bessel's bias correction.",
330
+ origin: "vendor-docs",
331
+ },
332
+ current_catalog: {
333
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#current_catalog",
334
+ description: "Return the name of the currently active catalog.",
335
+ origin: "vendor-docs",
336
+ },
337
+ current_database: {
338
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#current_database",
339
+ description: "Return the name of the currently active database.",
340
+ origin: "vendor-docs",
341
+ },
342
+ current_localtime: {
343
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#current_localtime",
344
+ description: "Returns a `TIME` whose GMT bin values correspond to local time in the current time zone.",
345
+ origin: "vendor-docs",
346
+ },
347
+ current_localtimestamp: {
348
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#current_localtimestamp",
349
+ description: "Returns the current timestamp with time zone (at the start of the transaction).",
350
+ origin: "vendor-docs",
351
+ },
352
+ current_query: {
353
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#current_query",
354
+ description: "Return the current query as a string.",
355
+ origin: "vendor-docs",
356
+ },
357
+ current_schema: {
358
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#current_schema",
359
+ description: "Return the name of the currently active schema.",
360
+ origin: "vendor-docs",
361
+ },
362
+ current_schemas: {
363
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#current_schemasboolean",
364
+ description: "Return list of schemas.",
365
+ origin: "vendor-docs",
366
+ },
367
+ damerau_levenshtein: {
368
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#damerau_levenshteins1-s2",
369
+ description: "Extension of Levenshtein distance to also include transposition of adjacent characters as an allowed edit operation.",
370
+ origin: "vendor-docs",
371
+ },
372
+ date_add: {
373
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#date_adddate-interval",
374
+ description: "Add the interval to the date and return a `DATETIME` value.",
375
+ origin: "vendor-docs",
376
+ },
377
+ date_diff: {
378
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#date_diffpart-startdate-enddate",
379
+ description: "The number of `part` boundaries between `startdate` and `enddate`, inclusive of the larger date and exclusive of the smaller date.",
380
+ origin: "vendor-docs",
381
+ },
382
+ date_part: {
383
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#date_partpart-date",
384
+ description: "Get the subfield (equivalent to `extract`).",
385
+ origin: "vendor-docs",
386
+ },
387
+ date_sub: {
388
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#date_subpart-startdate-enddate",
389
+ description: "The signed length of the interval between `startdate` and `enddate`, truncated to whole multiples of `part`.",
390
+ origin: "vendor-docs",
391
+ },
392
+ date_trunc: {
393
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#date_truncpart-date",
394
+ description: "Truncate to specified precision.",
395
+ origin: "vendor-docs",
396
+ },
397
+ datepart: {
398
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#datepartpart-interval",
399
+ description: "Alias of `date_part`.",
400
+ origin: "vendor-docs",
401
+ },
402
+ day: {
403
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#daydate",
404
+ description: "Day.",
405
+ origin: "vendor-docs",
406
+ },
407
+ dayname: {
408
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#daynamedate",
409
+ description: "The (English) name of the weekday.",
410
+ origin: "vendor-docs",
411
+ },
412
+ dayofmonth: {
413
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#dayofmonthdate",
414
+ description: "Day (synonym).",
415
+ origin: "vendor-docs",
416
+ },
417
+ dayofweek: {
418
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#dayofweekdate",
419
+ description: "Numeric weekday (Sunday = 0, Saturday = 6).",
420
+ origin: "vendor-docs",
421
+ },
422
+ dayofyear: {
423
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#dayofyeardate",
424
+ description: "Day of the year (starts from 1, i.e., January 1 = 1).",
425
+ origin: "vendor-docs",
426
+ },
427
+ days_in_month: {
428
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#days_in_monthdate",
429
+ description: "The number of days in the month of the given date.",
430
+ origin: "vendor-docs",
431
+ },
432
+ decade: {
433
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#decadedate",
434
+ description: "Decade (year / 10).",
435
+ origin: "vendor-docs",
436
+ },
437
+ decode: {
438
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#decodeblob-on_error",
439
+ description: "Converts `blob` to `VARCHAR`.",
440
+ origin: "vendor-docs",
441
+ },
442
+ degrees: {
443
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#degreesx",
444
+ description: "Converts radians to degrees.",
445
+ origin: "vendor-docs",
446
+ },
447
+ dense_rank: {
448
+ docUrl: "https://duckdb.org/docs/current/sql/functions/window_functions.html#dense_rank",
449
+ description: "The rank of the current row *without gaps;* this function counts peer groups.",
450
+ origin: "vendor-docs",
451
+ },
452
+ divide: {
453
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#dividex-y",
454
+ description: "Alias for `x // y`.",
455
+ origin: "vendor-docs",
456
+ },
457
+ element_at: {
458
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#element_atmap-key",
459
+ description: "Return the value for a given `key` as a list, or an empty list if the key is not contained in the map.",
460
+ origin: "vendor-docs",
461
+ },
462
+ encode: {
463
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#encodestring",
464
+ description: "Converts the `string` to `BLOB`.",
465
+ origin: "vendor-docs",
466
+ },
467
+ entropy: {
468
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#entropyx",
469
+ description: "The log-2 entropy of count input-values.",
470
+ origin: "vendor-docs",
471
+ },
472
+ enum_code: {
473
+ docUrl: "https://duckdb.org/docs/current/sql/functions/enum.html#enum_codeenum_value",
474
+ description: "Returns the numeric value backing the given enum value.",
475
+ origin: "vendor-docs",
476
+ },
477
+ enum_first: {
478
+ docUrl: "https://duckdb.org/docs/current/sql/functions/enum.html#enum_firstenum",
479
+ description: "Returns the first value of the input enum type.",
480
+ origin: "vendor-docs",
481
+ },
482
+ enum_last: {
483
+ docUrl: "https://duckdb.org/docs/current/sql/functions/enum.html#enum_lastenum",
484
+ description: "Returns the last value of the input enum type.",
485
+ origin: "vendor-docs",
486
+ },
487
+ enum_range: {
488
+ docUrl: "https://duckdb.org/docs/current/sql/functions/enum.html#enum_rangeenum",
489
+ description: "Returns all values of the input enum type as an array.",
490
+ origin: "vendor-docs",
491
+ },
492
+ enum_range_boundary: {
493
+ docUrl: "https://duckdb.org/docs/current/sql/functions/enum.html#enum_range_boundaryenum-enum",
494
+ description: "Returns the range between the two given enum values as an array.",
495
+ origin: "vendor-docs",
496
+ },
497
+ epoch: {
498
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#epochdate",
499
+ description: "Seconds since 1970-01-01.",
500
+ origin: "vendor-docs",
501
+ },
502
+ epoch_ms: {
503
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#epoch_mstimestamp",
504
+ description: "Returns the total number of milliseconds since the epoch.",
505
+ origin: "vendor-docs",
506
+ },
507
+ epoch_ns: {
508
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#epoch_nstimestamp",
509
+ description: "Returns the total number of nanoseconds since the epoch.",
510
+ origin: "vendor-docs",
511
+ },
512
+ epoch_us: {
513
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#epoch_ustimestamp",
514
+ description: "Returns the total number of microseconds since the epoch.",
515
+ origin: "vendor-docs",
516
+ },
517
+ era: {
518
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#eradate",
519
+ description: "Calendar era.",
520
+ origin: "vendor-docs",
521
+ },
522
+ error: {
523
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#errormessage",
524
+ description: "Throws the given error `message`.",
525
+ origin: "vendor-docs",
526
+ },
527
+ even: {
528
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#evenx",
529
+ description: "Round to next even number by rounding away from zero.",
530
+ origin: "vendor-docs",
531
+ },
532
+ exp: {
533
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#expx",
534
+ description: "Computes `e ** x`.",
535
+ origin: "vendor-docs",
536
+ },
537
+ factorial: {
538
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#factorialx",
539
+ description: "See the `!` operator.",
540
+ origin: "vendor-docs",
541
+ },
542
+ favg: {
543
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#favgarg",
544
+ description: "Calculates the average using a more accurate floating point summation (Kahan Sum).",
545
+ origin: "vendor-docs",
546
+ },
547
+ fdiv: {
548
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#fdivx-y",
549
+ description: "Performs integer division (`x // y`) but returns a `DOUBLE` value.",
550
+ origin: "vendor-docs",
551
+ },
552
+ first: {
553
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#firstarg",
554
+ description: "Returns the first value (null or non-null) from `arg`.",
555
+ origin: "vendor-docs",
556
+ },
557
+ flatten: {
558
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#flattennested_list",
559
+ description: "Flattens a nested list by one level.",
560
+ origin: "vendor-docs",
561
+ },
562
+ floor: {
563
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#floorx",
564
+ description: "Rounds the number down.",
565
+ origin: "vendor-docs",
566
+ },
567
+ fmod: {
568
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#fmodx-y",
569
+ description: "Calculates the modulo value.",
570
+ origin: "vendor-docs",
571
+ },
572
+ force_checkpoint: {
573
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#force_checkpointdatabase",
574
+ description: "Synchronize WAL with file for (optional) database interrupting transactions.",
575
+ origin: "vendor-docs",
576
+ },
577
+ format: {
578
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#formatformat-",
579
+ description: "Formats a string using the fmt syntax.",
580
+ origin: "vendor-docs",
581
+ },
582
+ format_bytes: {
583
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#format_bytesinteger",
584
+ description: "Converts `integer` to a human-readable representation using units based on powers of 2 (KiB, MiB, GiB, etc.).",
585
+ origin: "vendor-docs",
586
+ },
587
+ formatreadabledecimalsize: {
588
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#formatreadabledecimalsizeinteger",
589
+ description: "Converts `integer` to a human-readable representation using units based on powers of 10 (KB, MB, GB, etc.).",
590
+ origin: "vendor-docs",
591
+ },
592
+ from_base64: {
593
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#from_base64string",
594
+ description: "Converts a base64 encoded `string` to a character string (`BLOB`).",
595
+ origin: "vendor-docs",
596
+ },
597
+ fsum: {
598
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#fsumarg",
599
+ description: "Calculates the sum using a more accurate floating point summation (Kahan Sum).",
600
+ origin: "vendor-docs",
601
+ },
602
+ gamma: {
603
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#gammax",
604
+ description: "Interpolation of the factorial of `x - 1`.",
605
+ origin: "vendor-docs",
606
+ },
607
+ gcd: {
608
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#gcdx-y",
609
+ description: "Computes the greatest common divisor of `x` and `y`.",
610
+ origin: "vendor-docs",
611
+ },
612
+ gen_random_uuid: {
613
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#gen_random_uuid",
614
+ description: "Return a random UUID (UUIDv4) similar to this: `eeccb8c5-9943-b2bb-bb5e-222f4e14b687`.",
615
+ origin: "vendor-docs",
616
+ },
617
+ generate_series: {
618
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#generate_seriesstart-stop-step",
619
+ description: "Creates a list of values between `start` and `stop` - the stop parameter is inclusive.",
620
+ origin: "vendor-docs",
621
+ },
622
+ generate_subscripts: {
623
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#generate_subscriptsarr-dim",
624
+ origin: "vendor-docs",
625
+ },
626
+ geometric_mean: {
627
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#geometric_meanarg",
628
+ description: "Calculates the geometric mean of all non-null values in `arg`.",
629
+ origin: "vendor-docs",
630
+ },
631
+ get_bit: {
632
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#get_bitbitstring-index",
633
+ description: "Extracts the nth bit from bitstring; the first (leftmost) bit is indexed 0.",
634
+ origin: "vendor-docs",
635
+ },
636
+ get_current_time: {
637
+ docUrl: "https://duckdb.org/docs/current/sql/functions/time.html#get_current_time",
638
+ description: "Current time (start of current transaction) in the local time zone as `TIMETZ`.",
639
+ origin: "vendor-docs",
640
+ },
641
+ get_current_timestamp: {
642
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#get_current_timestamp",
643
+ description: "Current date and time (start of current transaction).",
644
+ origin: "vendor-docs",
645
+ },
646
+ getenv: {
647
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#getenvvar",
648
+ description: "Returns the value of the environment variable `var`.",
649
+ origin: "vendor-docs",
650
+ },
651
+ glob: {
652
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#globsearch_path",
653
+ description: "Return filenames found at the location indicated by the *search_path* in a single column named `file`.",
654
+ origin: "vendor-docs",
655
+ },
656
+ greatest: {
657
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#greatestdate-date",
658
+ description: "The later of two dates.",
659
+ origin: "vendor-docs",
660
+ },
661
+ greatest_common_divisor: {
662
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#greatest_common_divisorx-y",
663
+ description: "Computes the greatest common divisor of `x` and `y`.",
664
+ origin: "vendor-docs",
665
+ },
666
+ hamming: {
667
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#hammings1-s2",
668
+ description: "The Hamming distance between two strings, i.e., the number of positions with different characters for two strings of equal length.",
669
+ origin: "vendor-docs",
670
+ },
671
+ hash: {
672
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#hashvalue-",
673
+ description: "Returns a `UBIGINT` with the hash of the `value`.",
674
+ origin: "vendor-docs",
675
+ },
676
+ hex: {
677
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#hexblob",
678
+ description: "Converts `blob` to `VARCHAR` using hexadecimal encoding.",
679
+ origin: "vendor-docs",
680
+ },
681
+ histogram: {
682
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#histogramarg",
683
+ description: "Returns a `MAP` of key-value pairs representing buckets and counts.",
684
+ origin: "vendor-docs",
685
+ },
686
+ histogram_exact: {
687
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#histogram_exactarg-elements",
688
+ description: "Returns a `MAP` of key-value pairs representing the requested elements and their counts.",
689
+ origin: "vendor-docs",
690
+ },
691
+ histogram_values: {
692
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#histogram_valuessource-col_name-technique-bin_count",
693
+ description: "Returns the upper boundaries of the bins and their counts.",
694
+ origin: "vendor-docs",
695
+ },
696
+ hour: {
697
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#hourdate",
698
+ description: "Hours.",
699
+ origin: "vendor-docs",
700
+ },
701
+ icu_sort_key: {
702
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#icu_sort_keystring-collator",
703
+ description: "Surrogate sort key used to sort special characters according to the specific locale.",
704
+ origin: "vendor-docs",
705
+ },
706
+ if: {
707
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#ifa-b-c",
708
+ description: "Ternary conditional operator; returns b if a, else returns c.",
709
+ origin: "vendor-docs",
710
+ },
711
+ ifnull: {
712
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#ifnullexpr-other",
713
+ description: "A two-argument version of coalesce.",
714
+ origin: "vendor-docs",
715
+ },
716
+ ilike_escape: {
717
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#ilike_escapestring-like_specifier-escape_character",
718
+ description: "Returns `true` if the `string` matches the `like_specifier` (see Pattern Matching) using case-insensitive matching.",
719
+ origin: "vendor-docs",
720
+ },
721
+ instr: {
722
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#instrstring-search_string",
723
+ description: "Returns location of first occurrence of `search_string` in `string`, counting from 1.",
724
+ origin: "vendor-docs",
725
+ },
726
+ is_histogram_other_bin: {
727
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#is_histogram_other_binarg",
728
+ description: 'Returns `true` when `arg` is the "catch-all element" of its datatype for the purpose of the `histogram_exact` function, which is equal to the "right-most boundary" of its datatype for the purpose of the `histogram` function.',
729
+ origin: "vendor-docs",
730
+ },
731
+ isfinite: {
732
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#isfinitedate",
733
+ description: "Returns `true` if the date is finite, false otherwise.",
734
+ origin: "vendor-docs",
735
+ },
736
+ isinf: {
737
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#isinfdate",
738
+ description: "Returns `true` if the date is infinite, false otherwise.",
739
+ origin: "vendor-docs",
740
+ },
741
+ isnan: {
742
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#isnanx",
743
+ description: "Returns true if the floating point value is not a number, false otherwise.",
744
+ origin: "vendor-docs",
745
+ },
746
+ isodow: {
747
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#isodowdate",
748
+ description: "Numeric ISO weekday (Monday = 1, Sunday = 7).",
749
+ origin: "vendor-docs",
750
+ },
751
+ isoyear: {
752
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#isoyeardate",
753
+ description: "ISO Year number (Starts on Monday of week containing Jan 4th).",
754
+ origin: "vendor-docs",
755
+ },
756
+ jaccard: {
757
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#jaccards1-s2",
758
+ description: "The Jaccard similarity between two strings.",
759
+ origin: "vendor-docs",
760
+ },
761
+ jaro_similarity: {
762
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#jaro_similaritys1-s2-score_cutoff",
763
+ description: "The Jaro similarity between two strings.",
764
+ origin: "vendor-docs",
765
+ },
766
+ jaro_winkler_similarity: {
767
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#jaro_winkler_similaritys1-s2-score_cutoff",
768
+ description: "The Jaro-Winkler similarity between two strings.",
769
+ origin: "vendor-docs",
770
+ },
771
+ julian: {
772
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#juliandate",
773
+ description: "Extract the Julian Day number from a date.",
774
+ origin: "vendor-docs",
775
+ },
776
+ kurtosis: {
777
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#kurtosisx",
778
+ description: "The excess kurtosis (Fisher's definition) with bias correction according to the sample size.",
779
+ origin: "vendor-docs",
780
+ },
781
+ kurtosis_pop: {
782
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#kurtosis_popx",
783
+ description: "The excess kurtosis (Fisher’s definition) without bias correction.",
784
+ origin: "vendor-docs",
785
+ },
786
+ last: {
787
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#lastarg",
788
+ description: "Returns the last value of a column.",
789
+ origin: "vendor-docs",
790
+ },
791
+ last_day: {
792
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#last_daydate",
793
+ description: "The last day of the corresponding month in the date.",
794
+ origin: "vendor-docs",
795
+ },
796
+ lcm: {
797
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#lcmx-y",
798
+ description: "Computes the least common multiple of `x` and `y`.",
799
+ origin: "vendor-docs",
800
+ },
801
+ least: {
802
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#leastdate-date",
803
+ description: "The earlier of two dates.",
804
+ origin: "vendor-docs",
805
+ },
806
+ least_common_multiple: {
807
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#least_common_multiplex-y",
808
+ description: "Computes the least common multiple of `x` and `y`.",
809
+ origin: "vendor-docs",
810
+ },
811
+ left: {
812
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#leftstring-count",
813
+ description: "Extracts the left-most count characters.",
814
+ origin: "vendor-docs",
815
+ },
816
+ left_grapheme: {
817
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#left_graphemestring-count",
818
+ description: "Extracts the left-most count grapheme clusters.",
819
+ origin: "vendor-docs",
820
+ },
821
+ length: {
822
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#lengthbitstring",
823
+ description: "Alias for `bit_length`.",
824
+ origin: "vendor-docs",
825
+ },
826
+ length_grapheme: {
827
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#length_graphemestring",
828
+ description: "Number of grapheme clusters in `string`.",
829
+ origin: "vendor-docs",
830
+ },
831
+ levenshtein: {
832
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#levenshteins1-s2",
833
+ description: "The minimum number of single-character edits (insertions, deletions or substitutions) required to change one string to the other.",
834
+ origin: "vendor-docs",
835
+ },
836
+ lgamma: {
837
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#lgammax",
838
+ description: "Computes the log of the `gamma` function.",
839
+ origin: "vendor-docs",
840
+ },
841
+ like_escape: {
842
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#like_escapestring-like_specifier-escape_character",
843
+ description: "Returns `true` if the `string` matches the `like_specifier` (see Pattern Matching) using case-sensitive matching.",
844
+ origin: "vendor-docs",
845
+ },
846
+ list: {
847
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#listarg",
848
+ description: "Returns a `LIST` containing all the values of a column.",
849
+ origin: "vendor-docs",
850
+ },
851
+ list_aggregate: {
852
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_aggregatelist-function_name-",
853
+ description: "Executes the aggregate function `function_name` on the elements of `list`.",
854
+ origin: "vendor-docs",
855
+ },
856
+ list_any_value: {
857
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_any_valuelist",
858
+ description: "Applies aggregate function `any_value` to the `list`.",
859
+ origin: "vendor-docs",
860
+ },
861
+ list_append: {
862
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_appendlist-element",
863
+ description: "Appends `element` to `list`.",
864
+ origin: "vendor-docs",
865
+ },
866
+ list_approx_count_distinct: {
867
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_approx_count_distinctlist",
868
+ description: "Applies aggregate function `approx_count_distinct` to the `list`.",
869
+ origin: "vendor-docs",
870
+ },
871
+ list_avg: {
872
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_avglist",
873
+ description: "Applies aggregate function `avg` to the `list`.",
874
+ origin: "vendor-docs",
875
+ },
876
+ list_bit_and: {
877
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_bit_andlist",
878
+ description: "Applies aggregate function `bit_and` to the `list`.",
879
+ origin: "vendor-docs",
880
+ },
881
+ list_bit_or: {
882
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_bit_orlist",
883
+ description: "Applies aggregate function `bit_or` to the `list`.",
884
+ origin: "vendor-docs",
885
+ },
886
+ list_bit_xor: {
887
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_bit_xorlist",
888
+ description: "Applies aggregate function `bit_xor` to the `list`.",
889
+ origin: "vendor-docs",
890
+ },
891
+ list_bool_and: {
892
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_bool_andlist",
893
+ description: "Applies aggregate function `bool_and` to the `list`.",
894
+ origin: "vendor-docs",
895
+ },
896
+ list_bool_or: {
897
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_bool_orlist",
898
+ description: "Applies aggregate function `bool_or` to the `list`.",
899
+ origin: "vendor-docs",
900
+ },
901
+ list_contains: {
902
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_containslist-element",
903
+ description: "Returns true if the list contains the element.",
904
+ origin: "vendor-docs",
905
+ },
906
+ list_cosine_distance: {
907
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_cosine_distancelist1-list2",
908
+ description: "Computes the cosine distance between two same-sized lists.",
909
+ origin: "vendor-docs",
910
+ },
911
+ list_cosine_similarity: {
912
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_cosine_similaritylist1-list2",
913
+ description: "Computes the cosine similarity between two same-sized lists.",
914
+ origin: "vendor-docs",
915
+ },
916
+ list_count: {
917
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_countlist",
918
+ description: "Applies aggregate function `count` to the `list`.",
919
+ origin: "vendor-docs",
920
+ },
921
+ list_distance: {
922
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_distancelist1-list2",
923
+ description: "Calculates the Euclidean distance between two points with coordinates given in two inputs lists of equal length.",
924
+ origin: "vendor-docs",
925
+ },
926
+ list_distinct: {
927
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_distinctlist",
928
+ description: "Removes all duplicates and `NULL` values from a list.",
929
+ origin: "vendor-docs",
930
+ },
931
+ list_entropy: {
932
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_entropylist",
933
+ description: "Applies aggregate function `entropy` to the `list`.",
934
+ origin: "vendor-docs",
935
+ },
936
+ list_extract: {
937
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_extractlist-index",
938
+ description: "Extract the `index`th (1-based) value from the list.",
939
+ origin: "vendor-docs",
940
+ },
941
+ list_filter: {
942
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_filterlist-lambdax",
943
+ description: "Constructs a list from those elements of the input `list` for which the `lambda` function returns `true`.",
944
+ origin: "vendor-docs",
945
+ },
946
+ list_first: {
947
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_firstlist",
948
+ description: "Applies aggregate function `first` to the `list`.",
949
+ origin: "vendor-docs",
950
+ },
951
+ list_grade_up: {
952
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_grade_uplist-col1-col2",
953
+ description: "Works like `list_sort`, but the results are the indexes that correspond to the position in the original list instead of the actual values.",
954
+ origin: "vendor-docs",
955
+ },
956
+ list_has_all: {
957
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_has_alllist1-list2",
958
+ description: "Returns true if all elements of list2 are in list1.",
959
+ origin: "vendor-docs",
960
+ },
961
+ list_has_any: {
962
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_has_anylist1-list2",
963
+ description: "Returns true if the lists have any element in common.",
964
+ origin: "vendor-docs",
965
+ },
966
+ list_histogram: {
967
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_histogramlist",
968
+ description: "Applies aggregate function `histogram` to the `list`.",
969
+ origin: "vendor-docs",
970
+ },
971
+ list_inner_product: {
972
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_inner_productlist1-list2",
973
+ description: "Computes the inner product between two same-sized lists.",
974
+ origin: "vendor-docs",
975
+ },
976
+ list_intersect: {
977
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_intersectlist1-list2",
978
+ description: "Returns a list of all the elements that exist in both `list1` and `list2`, without duplicates.",
979
+ origin: "vendor-docs",
980
+ },
981
+ list_kurtosis: {
982
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_kurtosislist",
983
+ description: "Applies aggregate function `kurtosis` to the `list`.",
984
+ origin: "vendor-docs",
985
+ },
986
+ list_kurtosis_pop: {
987
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_kurtosis_poplist",
988
+ description: "Applies aggregate function `kurtosis_pop` to the `list`.",
989
+ origin: "vendor-docs",
990
+ },
991
+ list_last: {
992
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_lastlist",
993
+ description: "Applies aggregate function `last` to the `list`.",
994
+ origin: "vendor-docs",
995
+ },
996
+ list_mad: {
997
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_madlist",
998
+ description: "Applies aggregate function `mad` to the `list`.",
999
+ origin: "vendor-docs",
1000
+ },
1001
+ list_max: {
1002
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_maxlist",
1003
+ description: "Applies aggregate function `max` to the `list`.",
1004
+ origin: "vendor-docs",
1005
+ },
1006
+ list_median: {
1007
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_medianlist",
1008
+ description: "Applies aggregate function `median` to the `list`.",
1009
+ origin: "vendor-docs",
1010
+ },
1011
+ list_min: {
1012
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_minlist",
1013
+ description: "Applies aggregate function `min` to the `list`.",
1014
+ origin: "vendor-docs",
1015
+ },
1016
+ list_mode: {
1017
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_modelist",
1018
+ description: "Applies aggregate function `mode` to the `list`.",
1019
+ origin: "vendor-docs",
1020
+ },
1021
+ list_negative_inner_product: {
1022
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_negative_inner_productlist1-list2",
1023
+ description: "Computes the negative inner product between two same-sized lists.",
1024
+ origin: "vendor-docs",
1025
+ },
1026
+ list_position: {
1027
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_positionlist-element",
1028
+ description: "Returns the index of the `element` if the `list` contains the `element`.",
1029
+ origin: "vendor-docs",
1030
+ },
1031
+ list_prepend: {
1032
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_prependelement-list",
1033
+ description: "Prepends `element` to `list`.",
1034
+ origin: "vendor-docs",
1035
+ },
1036
+ list_product: {
1037
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_productlist",
1038
+ description: "Applies aggregate function `product` to the `list`.",
1039
+ origin: "vendor-docs",
1040
+ },
1041
+ list_reduce: {
1042
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_reducelist-lambdaxy-initial_value",
1043
+ description: "Reduces all elements of the input `list` into a single scalar value by executing the `lambda` function on a running result and the next list element.",
1044
+ origin: "vendor-docs",
1045
+ },
1046
+ list_reverse: {
1047
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_reverselist",
1048
+ description: "Reverses the `list`.",
1049
+ origin: "vendor-docs",
1050
+ },
1051
+ list_reverse_sort: {
1052
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_reverse_sortlist-col1",
1053
+ description: "Sorts the elements of the list in reverse order.",
1054
+ origin: "vendor-docs",
1055
+ },
1056
+ list_select: {
1057
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_selectvalue_list-index_list",
1058
+ description: "Returns a list based on the elements selected by the `index_list`.",
1059
+ origin: "vendor-docs",
1060
+ },
1061
+ list_sem: {
1062
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_semlist",
1063
+ description: "Applies aggregate function `sem` to the `list`.",
1064
+ origin: "vendor-docs",
1065
+ },
1066
+ list_skewness: {
1067
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_skewnesslist",
1068
+ description: "Applies aggregate function `skewness` to the `list`.",
1069
+ origin: "vendor-docs",
1070
+ },
1071
+ list_slice: {
1072
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_slicelist-begin-end",
1073
+ description: "Extracts a sublist or substring using slice conventions.",
1074
+ origin: "vendor-docs",
1075
+ },
1076
+ list_sort: {
1077
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_sortlist-col1-col2",
1078
+ description: "Sorts the elements of the list.",
1079
+ origin: "vendor-docs",
1080
+ },
1081
+ list_stddev_pop: {
1082
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_stddev_poplist",
1083
+ description: "Applies aggregate function `stddev_pop` to the `list`.",
1084
+ origin: "vendor-docs",
1085
+ },
1086
+ list_stddev_samp: {
1087
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_stddev_samplist",
1088
+ description: "Applies aggregate function `stddev_samp` to the `list`.",
1089
+ origin: "vendor-docs",
1090
+ },
1091
+ list_string_agg: {
1092
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_string_agglist",
1093
+ description: "Applies aggregate function `string_agg` to the `list`.",
1094
+ origin: "vendor-docs",
1095
+ },
1096
+ list_sum: {
1097
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_sumlist",
1098
+ description: "Applies aggregate function `sum` to the `list`.",
1099
+ origin: "vendor-docs",
1100
+ },
1101
+ list_transform: {
1102
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_transformlist-lambdax",
1103
+ description: "Returns a list that is the result of applying the `lambda` function to each element of the input `list`.",
1104
+ origin: "vendor-docs",
1105
+ },
1106
+ list_unique: {
1107
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_uniquelist",
1108
+ description: "Counts the unique elements of a `list`.",
1109
+ origin: "vendor-docs",
1110
+ },
1111
+ list_value: {
1112
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_valuearg-",
1113
+ description: "Creates a LIST containing the argument values.",
1114
+ origin: "vendor-docs",
1115
+ },
1116
+ list_var_pop: {
1117
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_var_poplist",
1118
+ description: "Applies aggregate function `var_pop` to the `list`.",
1119
+ origin: "vendor-docs",
1120
+ },
1121
+ list_var_samp: {
1122
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_var_samplist",
1123
+ description: "Applies aggregate function `var_samp` to the `list`.",
1124
+ origin: "vendor-docs",
1125
+ },
1126
+ list_where: {
1127
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#list_wherevalue_list-mask_list",
1128
+ description: "Returns a list with the `BOOLEAN`s in `mask_list` applied as a mask to the `value_list`.",
1129
+ origin: "vendor-docs",
1130
+ },
1131
+ ln: {
1132
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#lnx",
1133
+ description: "Computes the natural logarithm of `x`.",
1134
+ origin: "vendor-docs",
1135
+ },
1136
+ log: {
1137
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#logx",
1138
+ description: "Computes the base-10 log of `x`.",
1139
+ origin: "vendor-docs",
1140
+ },
1141
+ log10: {
1142
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#log10x",
1143
+ description: "Alias of `log`. Computes the base-10 log of `x`.",
1144
+ origin: "vendor-docs",
1145
+ },
1146
+ log2: {
1147
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#log2x",
1148
+ description: "Computes the base-2 log of `x`.",
1149
+ origin: "vendor-docs",
1150
+ },
1151
+ lower: {
1152
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#lowerstring",
1153
+ description: "Converts `string` to lower case.",
1154
+ origin: "vendor-docs",
1155
+ },
1156
+ lpad: {
1157
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#lpadstring-count-character",
1158
+ description: "Pads the `string` with the `character` on the left until it has `count` characters.",
1159
+ origin: "vendor-docs",
1160
+ },
1161
+ ltrim: {
1162
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#ltrimstring-characters",
1163
+ description: "Removes any occurrences of any of the `characters` from the left side of the `string`.",
1164
+ origin: "vendor-docs",
1165
+ },
1166
+ mad: {
1167
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#madx",
1168
+ description: "The median absolute deviation.",
1169
+ origin: "vendor-docs",
1170
+ },
1171
+ make_date: {
1172
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#make_dateyear-month-day",
1173
+ description: "The date for the given parts.",
1174
+ origin: "vendor-docs",
1175
+ },
1176
+ make_time: {
1177
+ docUrl: "https://duckdb.org/docs/current/sql/functions/time.html#make_timebigint-bigint-double",
1178
+ description: "The time for the given parts.",
1179
+ origin: "vendor-docs",
1180
+ },
1181
+ make_timestamp: {
1182
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#make_timestampbigint-bigint-bigint-bigint-bigint-double",
1183
+ description: "The timestamp for the given parts.",
1184
+ origin: "vendor-docs",
1185
+ },
1186
+ make_timestamp_ms: {
1187
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#make_timestamp_msmilliseconds",
1188
+ description: "Converts milliseconds since the epoch to a timestamp.",
1189
+ origin: "vendor-docs",
1190
+ },
1191
+ make_timestamp_ns: {
1192
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#make_timestamp_nsnanoseconds",
1193
+ description: "Converts nanoseconds since the epoch to a timestamp.",
1194
+ origin: "vendor-docs",
1195
+ },
1196
+ make_timestamptz: {
1197
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#make_timestamptzbigint-bigint-bigint-bigint-bigint-double-string",
1198
+ description: "The `TIMESTAMP WITH TIME ZONE` for the given parts and time zone.",
1199
+ origin: "vendor-docs",
1200
+ },
1201
+ map_contains: {
1202
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_containsmap-key",
1203
+ description: "Checks if a map contains a given key.",
1204
+ origin: "vendor-docs",
1205
+ },
1206
+ map_contains_entry: {
1207
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_contains_entrymap-key-value",
1208
+ description: "Check if a map contains a given key-value pair.",
1209
+ origin: "vendor-docs",
1210
+ },
1211
+ map_contains_value: {
1212
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_contains_valuemap-value",
1213
+ description: "Checks if a map contains a given value.",
1214
+ origin: "vendor-docs",
1215
+ },
1216
+ map_entries: {
1217
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_entriesmap",
1218
+ description: "Return a list of struct(k, v) for each key-value pair in the map.",
1219
+ origin: "vendor-docs",
1220
+ },
1221
+ map_extract: {
1222
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_extractmap-key",
1223
+ description: "Return the value for a given `key` as a list, or `NULL` if the key is not contained in the map.",
1224
+ origin: "vendor-docs",
1225
+ },
1226
+ map_extract_value: {
1227
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_extract_valuemap-key",
1228
+ description: "Returns the value for a given `key` or `NULL` if the `key` is not contained in the map.",
1229
+ origin: "vendor-docs",
1230
+ },
1231
+ map_keys: {
1232
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_keysmap",
1233
+ description: "Return a list of all keys in the map.",
1234
+ origin: "vendor-docs",
1235
+ },
1236
+ map_values: {
1237
+ docUrl: "https://duckdb.org/docs/current/sql/functions/map.html#map_valuesmap",
1238
+ description: "Return a list of all values in the map.",
1239
+ origin: "vendor-docs",
1240
+ },
1241
+ max: {
1242
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#maxarg",
1243
+ description: "Returns the maximum value present in `arg`.",
1244
+ origin: "vendor-docs",
1245
+ },
1246
+ md5: {
1247
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#md5blob",
1248
+ description: "Returns the MD5 hash of the `blob` as a `VARCHAR`.",
1249
+ origin: "vendor-docs",
1250
+ },
1251
+ md5_number: {
1252
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#md5_numberblob",
1253
+ description: "Returns the MD5 hash of the `blob` as a `HUGEINT`.",
1254
+ origin: "vendor-docs",
1255
+ },
1256
+ md5_number_lower: {
1257
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#md5_number_lowerstring",
1258
+ description: "Returns the lower 64-bit segment of the MD5 hash of the `string` as a `UBIGINT`.",
1259
+ origin: "vendor-docs",
1260
+ },
1261
+ md5_number_upper: {
1262
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#md5_number_upperstring",
1263
+ description: "Returns the upper 64-bit segment of the MD5 hash of the `string` as a `UBIGINT`.",
1264
+ origin: "vendor-docs",
1265
+ },
1266
+ median: {
1267
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#medianx",
1268
+ description: "The middle value of the set.",
1269
+ origin: "vendor-docs",
1270
+ },
1271
+ microsecond: {
1272
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#microseconddate",
1273
+ description: "Sub-minute microseconds.",
1274
+ origin: "vendor-docs",
1275
+ },
1276
+ millennium: {
1277
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#millenniumdate",
1278
+ description: "Millennium.",
1279
+ origin: "vendor-docs",
1280
+ },
1281
+ millisecond: {
1282
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#milliseconddate",
1283
+ description: "Sub-minute milliseconds.",
1284
+ origin: "vendor-docs",
1285
+ },
1286
+ min: {
1287
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#minarg",
1288
+ description: "Returns the minimum value present in `arg`.",
1289
+ origin: "vendor-docs",
1290
+ },
1291
+ minute: {
1292
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#minutedate",
1293
+ description: "Minutes.",
1294
+ origin: "vendor-docs",
1295
+ },
1296
+ mode: {
1297
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#modex",
1298
+ description: "The most frequent value.",
1299
+ origin: "vendor-docs",
1300
+ },
1301
+ month: {
1302
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#monthdate",
1303
+ description: "Month.",
1304
+ origin: "vendor-docs",
1305
+ },
1306
+ monthname: {
1307
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#monthnamedate",
1308
+ description: "The (English) name of the month.",
1309
+ origin: "vendor-docs",
1310
+ },
1311
+ multiply: {
1312
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#multiplyx-y",
1313
+ description: "Alias for `x * y`.",
1314
+ origin: "vendor-docs",
1315
+ },
1316
+ nextafter: {
1317
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#nextafterx-y",
1318
+ description: "Return the next floating point value after `x` in the direction of `y`.",
1319
+ origin: "vendor-docs",
1320
+ },
1321
+ nfc_normalize: {
1322
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#nfc_normalizestring",
1323
+ description: "Converts `string` to Unicode NFC normalized string.",
1324
+ origin: "vendor-docs",
1325
+ },
1326
+ not_ilike_escape: {
1327
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#not_ilike_escapestring-like_specifier-escape_character",
1328
+ description: "Returns `false` if the `string` matches the `like_specifier` (see Pattern Matching) using case-insensitive matching.",
1329
+ origin: "vendor-docs",
1330
+ },
1331
+ not_like_escape: {
1332
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#not_like_escapestring-like_specifier-escape_character",
1333
+ description: "Returns `false` if the `string` matches the `like_specifier` (see Pattern Matching) using case-sensitive matching.",
1334
+ origin: "vendor-docs",
1335
+ },
1336
+ now: {
1337
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#now",
1338
+ description: "Current date and time (start of current transaction).",
1339
+ origin: "vendor-docs",
1340
+ },
1341
+ nullif: {
1342
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#nullifa-b",
1343
+ description: "Return `NULL` if a = b, else return a.",
1344
+ origin: "vendor-docs",
1345
+ },
1346
+ octet_length: {
1347
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#octet_lengthbitstring",
1348
+ description: "Returns the number of bytes in the bitstring.",
1349
+ origin: "vendor-docs",
1350
+ },
1351
+ parse_dirname: {
1352
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#parse_dirnamepath-separator",
1353
+ description: "Returns the top-level directory name from the given `path`.",
1354
+ origin: "vendor-docs",
1355
+ },
1356
+ parse_dirpath: {
1357
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#parse_dirpathpath-separator",
1358
+ description: "Returns the head of the `path` (the pathname until the last slash) similarly to Python's `os.path.dirname`.",
1359
+ origin: "vendor-docs",
1360
+ },
1361
+ parse_filename: {
1362
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#parse_filenamestring-trim_extension-separator",
1363
+ description: "Returns the last component of the `path` similarly to Python's `os.path.basename` function.",
1364
+ origin: "vendor-docs",
1365
+ },
1366
+ parse_formatted_bytes: {
1367
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#parse_formatted_bytesstring",
1368
+ description: "Parse a human-readable byte size string (e.g., `'16 KiB'`) into a `UBIGINT` number of bytes.",
1369
+ origin: "vendor-docs",
1370
+ },
1371
+ parse_path: {
1372
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#parse_pathpath-separator",
1373
+ description: "Returns a list of the components (directories and filename) in the `path` similarly to Python's `pathlib.parts` function.",
1374
+ origin: "vendor-docs",
1375
+ },
1376
+ pg_typeof: {
1377
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#pg_typeofexpression",
1378
+ description: "Returns the lower case name of the data type of the result of the expression.",
1379
+ origin: "vendor-docs",
1380
+ },
1381
+ pi: {
1382
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#pi",
1383
+ description: "Returns the value of pi.",
1384
+ origin: "vendor-docs",
1385
+ },
1386
+ pow: {
1387
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#powx-y",
1388
+ description: "Computes `x` to the power of `y`.",
1389
+ origin: "vendor-docs",
1390
+ },
1391
+ power: {
1392
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#powerx-y",
1393
+ description: "Alias of `pow`. Computes `x` to the power of `y`.",
1394
+ origin: "vendor-docs",
1395
+ },
1396
+ prefix: {
1397
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#prefixstring-search_string",
1398
+ description: "Returns `true` if `string` starts with `search_string`.",
1399
+ origin: "vendor-docs",
1400
+ },
1401
+ printf: {
1402
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#printfformat-",
1403
+ description: "Formats a `string` using printf syntax.",
1404
+ origin: "vendor-docs",
1405
+ },
1406
+ product: {
1407
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#productarg",
1408
+ description: "Calculates the product of all non-null values in `arg`.",
1409
+ origin: "vendor-docs",
1410
+ },
1411
+ quantile_cont: {
1412
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#quantile_contx-pos",
1413
+ description: "The interpolated `pos`-quantile of `x` for `0 <= pos <= 1`.",
1414
+ origin: "vendor-docs",
1415
+ },
1416
+ quantile_disc: {
1417
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#quantile_discx-pos",
1418
+ description: "The discrete `pos`-quantile of `x` for `0 <= pos <= 1`.",
1419
+ origin: "vendor-docs",
1420
+ },
1421
+ quarter: {
1422
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#quarterdate",
1423
+ description: "Quarter.",
1424
+ origin: "vendor-docs",
1425
+ },
1426
+ query: {
1427
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#queryquery_string",
1428
+ description: "Table function that parses and executes the query defined in `query_string`.",
1429
+ origin: "vendor-docs",
1430
+ },
1431
+ query_table: {
1432
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#query_tabletbl_name",
1433
+ description: "Table function that returns the table given in `tbl_name`.",
1434
+ origin: "vendor-docs",
1435
+ },
1436
+ radians: {
1437
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#radiansx",
1438
+ description: "Converts degrees to radians.",
1439
+ origin: "vendor-docs",
1440
+ },
1441
+ random: {
1442
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#random",
1443
+ description: "Returns a random number `x` in the range `0.0 <= x < 1.0`.",
1444
+ origin: "vendor-docs",
1445
+ },
1446
+ range: {
1447
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#rangestart-stop-step",
1448
+ description: "Creates a list of values between `start` and `stop` - the stop parameter is exclusive.",
1449
+ origin: "vendor-docs",
1450
+ },
1451
+ read_blob: {
1452
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#read_blobsource",
1453
+ description: "Returns the content from `source` (a filename, a list of filenames, or a glob pattern) as a `BLOB`.",
1454
+ origin: "vendor-docs",
1455
+ },
1456
+ read_text: {
1457
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#read_textsource",
1458
+ description: "Returns the content from `source` (a filename, a list of filenames, or a glob pattern) as a `VARCHAR`.",
1459
+ origin: "vendor-docs",
1460
+ },
1461
+ regexp_escape: {
1462
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#regexp_escapestring",
1463
+ description: "Escapes special patterns to turn `string` into a regular expression similarly to Python's `re.escape` function.",
1464
+ origin: "vendor-docs",
1465
+ },
1466
+ regexp_extract: {
1467
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_extractstring-pattern-name_list-options",
1468
+ description: "If `string` contains the regexp `pattern`, returns the capturing group specified by optional parameter `group`; otherwise, returns the empty string.",
1469
+ origin: "vendor-docs",
1470
+ },
1471
+ regexp_extract_all: {
1472
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_extract_allstring-regex-name_list-options",
1473
+ description: "Finds non-overlapping occurrences of `regex` in `string` and returns the corresponding values of `group`.",
1474
+ origin: "vendor-docs",
1475
+ },
1476
+ regexp_full_match: {
1477
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_full_matchstring-regex-options",
1478
+ description: "Returns `true` if the entire `string` matches the `regex`.",
1479
+ origin: "vendor-docs",
1480
+ },
1481
+ regexp_matches: {
1482
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_matchesstring-pattern-options",
1483
+ description: "Returns `true` if `string` contains the regexp `pattern`, `false` otherwise.",
1484
+ origin: "vendor-docs",
1485
+ },
1486
+ regexp_replace: {
1487
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_replacestring-pattern-replacement-options",
1488
+ description: "If `string` contains the regexp `pattern`, replaces the matching part with `replacement`.",
1489
+ origin: "vendor-docs",
1490
+ },
1491
+ regexp_split_to_array: {
1492
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_split_to_arraystring-regex-options",
1493
+ description: "Alias of `string_split_regex`.",
1494
+ origin: "vendor-docs",
1495
+ },
1496
+ regexp_split_to_table: {
1497
+ docUrl: "https://duckdb.org/docs/current/sql/functions/regular_expressions.html#regexp_split_to_tablestring-regex-options",
1498
+ description: "Splits the `string` along the `regex` and returns a row for each part.",
1499
+ origin: "vendor-docs",
1500
+ },
1501
+ regr_avgx: {
1502
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_avgxy-x",
1503
+ description: "The average of the independent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable.",
1504
+ origin: "vendor-docs",
1505
+ },
1506
+ regr_avgy: {
1507
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_avgyy-x",
1508
+ description: "The average of the dependent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable.",
1509
+ origin: "vendor-docs",
1510
+ },
1511
+ regr_count: {
1512
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_county-x",
1513
+ description: "The number of non-`NULL` pairs.",
1514
+ origin: "vendor-docs",
1515
+ },
1516
+ regr_intercept: {
1517
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_intercepty-x",
1518
+ description: "The intercept of the univariate linear regression line, where x is the independent variable and y is the dependent variable.",
1519
+ origin: "vendor-docs",
1520
+ },
1521
+ regr_r2: {
1522
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_r2y-x",
1523
+ description: "The squared Pearson correlation coefficient between y and x.",
1524
+ origin: "vendor-docs",
1525
+ },
1526
+ regr_slope: {
1527
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_slopey-x",
1528
+ description: "Returns the slope of the linear regression line, where x is the independent variable and y is the dependent variable.",
1529
+ origin: "vendor-docs",
1530
+ },
1531
+ regr_sxx: {
1532
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_sxxy-x",
1533
+ description: "The sample variance, which includes Bessel's bias correction, of the independent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable.",
1534
+ origin: "vendor-docs",
1535
+ },
1536
+ regr_sxy: {
1537
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_sxyy-x",
1538
+ description: "The sample covariance, which includes Bessel's bias correction.",
1539
+ origin: "vendor-docs",
1540
+ },
1541
+ regr_syy: {
1542
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#regr_syyy-x",
1543
+ description: "The sample variance, which includes Bessel's bias correction, of the dependent variable for non-`NULL` pairs, where x is the independent variable and y is the dependent variable.",
1544
+ origin: "vendor-docs",
1545
+ },
1546
+ repeat: {
1547
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#repeatblob-count",
1548
+ description: "Repeats the `blob` `count` number of times.",
1549
+ origin: "vendor-docs",
1550
+ },
1551
+ repeat_row: {
1552
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#repeat_rowvarargs-num_rows",
1553
+ description: "Returns a table with `num_rows` rows, each containing the fields defined in `varargs`.",
1554
+ origin: "vendor-docs",
1555
+ },
1556
+ replace: {
1557
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#replacestring-source-target",
1558
+ description: "Replaces any occurrences of the `source` with `target` in `string`.",
1559
+ origin: "vendor-docs",
1560
+ },
1561
+ replace_type: {
1562
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#replace_typevalue-source_type-target_type",
1563
+ description: "Recursively casts every field of `value` that has type `source_type` to `target_type`.",
1564
+ origin: "vendor-docs",
1565
+ },
1566
+ reverse: {
1567
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#reversestring",
1568
+ description: "Reverses the `string`.",
1569
+ origin: "vendor-docs",
1570
+ },
1571
+ right: {
1572
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#rightstring-count",
1573
+ description: "Extract the right-most `count` characters.",
1574
+ origin: "vendor-docs",
1575
+ },
1576
+ right_grapheme: {
1577
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#right_graphemestring-count",
1578
+ description: "Extracts the right-most `count` grapheme clusters.",
1579
+ origin: "vendor-docs",
1580
+ },
1581
+ round: {
1582
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#roundv-numeric-s-integer",
1583
+ description: "Round to `s` decimal places.",
1584
+ origin: "vendor-docs",
1585
+ },
1586
+ round_even: {
1587
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#round_evenv-numeric-s-integer",
1588
+ description: "Alias of `roundbankers(v, s)`.",
1589
+ origin: "vendor-docs",
1590
+ },
1591
+ roundbankers: {
1592
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#roundbankersv-numeric-s-integer",
1593
+ description: "Alias of `round_even(v, s)`.",
1594
+ origin: "vendor-docs",
1595
+ },
1596
+ row: {
1597
+ docUrl: "https://duckdb.org/docs/current/sql/functions/struct.html#rowany-",
1598
+ description: "Create an unnamed `STRUCT` (tuple) containing the argument values.",
1599
+ origin: "vendor-docs",
1600
+ },
1601
+ rpad: {
1602
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#rpadstring-count-character",
1603
+ description: "Pads the `string` with the `character` on the right until it has `count` characters.",
1604
+ origin: "vendor-docs",
1605
+ },
1606
+ rtrim: {
1607
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#rtrimstring-characters",
1608
+ description: "Removes any occurrences of any of the `characters` from the right side of the `string`.",
1609
+ origin: "vendor-docs",
1610
+ },
1611
+ second: {
1612
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#seconddate",
1613
+ description: "Seconds.",
1614
+ origin: "vendor-docs",
1615
+ },
1616
+ sem: {
1617
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#semx",
1618
+ description: "The standard error of the mean.",
1619
+ origin: "vendor-docs",
1620
+ },
1621
+ set_bit: {
1622
+ docUrl: "https://duckdb.org/docs/current/sql/functions/bitstring.html#set_bitbitstring-index-new_value",
1623
+ description: "Sets the nth bit in bitstring to newvalue; the first (leftmost) bit is indexed 0.",
1624
+ origin: "vendor-docs",
1625
+ },
1626
+ setseed: {
1627
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#setseedx",
1628
+ description: "Sets the seed to be used for the random function.",
1629
+ origin: "vendor-docs",
1630
+ },
1631
+ sha1: {
1632
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#sha1blob",
1633
+ description: "Returns a `VARCHAR` with the SHA-1 hash of the `blob`.",
1634
+ origin: "vendor-docs",
1635
+ },
1636
+ sha256: {
1637
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#sha256blob",
1638
+ description: "Returns a `VARCHAR` with the SHA-256 hash of the `blob`.",
1639
+ origin: "vendor-docs",
1640
+ },
1641
+ sign: {
1642
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#signx",
1643
+ description: "Returns the sign of `x` as -1, 0 or 1.",
1644
+ origin: "vendor-docs",
1645
+ },
1646
+ signbit: {
1647
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#signbitx",
1648
+ description: "Returns whether the signbit is set or not.",
1649
+ origin: "vendor-docs",
1650
+ },
1651
+ sin: {
1652
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#sinx",
1653
+ description: "Computes the sin of `x`.",
1654
+ origin: "vendor-docs",
1655
+ },
1656
+ skewness: {
1657
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#skewnessx",
1658
+ description: "The skewness.",
1659
+ origin: "vendor-docs",
1660
+ },
1661
+ sleep_ms: {
1662
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#sleep_msmilliseconds",
1663
+ description: "Pause execution for the specified number of milliseconds.",
1664
+ origin: "vendor-docs",
1665
+ },
1666
+ split_part: {
1667
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#split_partstring-separator-index",
1668
+ description: "Splits the `string` along the `separator` and returns the data at the (1-based) `index` of the list.",
1669
+ origin: "vendor-docs",
1670
+ },
1671
+ sqrt: {
1672
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#sqrtx",
1673
+ description: "Returns the square root of the number.",
1674
+ origin: "vendor-docs",
1675
+ },
1676
+ starts_with: {
1677
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#starts_withstring-search_string",
1678
+ description: "Returns `true` if `string` begins with `search_string`.",
1679
+ origin: "vendor-docs",
1680
+ },
1681
+ stats: {
1682
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#statsexpression",
1683
+ description: "Returns a string with statistics about the expression.",
1684
+ origin: "vendor-docs",
1685
+ },
1686
+ stddev_pop: {
1687
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#stddev_popx",
1688
+ description: "The population standard deviation.",
1689
+ origin: "vendor-docs",
1690
+ },
1691
+ stddev_samp: {
1692
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#stddev_sampx",
1693
+ description: "The sample standard deviation.",
1694
+ origin: "vendor-docs",
1695
+ },
1696
+ strftime: {
1697
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#strftimedate-format",
1698
+ description: "Converts a date to a string according to the format string.",
1699
+ origin: "vendor-docs",
1700
+ },
1701
+ string_agg: {
1702
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#string_aggarg",
1703
+ description: "Concatenates the column string values with a comma separator (`,`).",
1704
+ origin: "vendor-docs",
1705
+ },
1706
+ string_split: {
1707
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#string_splitstring-separator",
1708
+ description: "Splits the `string` along the `separator`.",
1709
+ origin: "vendor-docs",
1710
+ },
1711
+ string_split_regex: {
1712
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#string_split_regexstring-regex-options",
1713
+ description: "Splits the `string` along the `regex`.",
1714
+ origin: "vendor-docs",
1715
+ },
1716
+ strip_accents: {
1717
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#strip_accentsstring",
1718
+ description: "Strips accents from `string`.",
1719
+ origin: "vendor-docs",
1720
+ },
1721
+ strlen: {
1722
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#strlenstring",
1723
+ description: "Number of bytes in `string`.",
1724
+ origin: "vendor-docs",
1725
+ },
1726
+ strptime: {
1727
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#strptimetext-format",
1728
+ description: "Converts the string `text` to timestamp applying the format strings in the list until one succeeds.",
1729
+ origin: "vendor-docs",
1730
+ },
1731
+ struct_contains: {
1732
+ docUrl: "https://duckdb.org/docs/current/sql/functions/struct.html#struct_containsstruct-entry",
1733
+ description: "Check if the `STRUCT` contains the specified entry.",
1734
+ origin: "vendor-docs",
1735
+ },
1736
+ struct_extract: {
1737
+ docUrl: "https://duckdb.org/docs/current/sql/functions/struct.html#struct_extractstruct-idx",
1738
+ description: "Extract the named entry from the `STRUCT`.",
1739
+ origin: "vendor-docs",
1740
+ },
1741
+ struct_extract_at: {
1742
+ docUrl: "https://duckdb.org/docs/current/sql/functions/struct.html#struct_extract_atstruct-idx",
1743
+ description: "Extract the entry from a `STRUCT` (tuple) using an index (1-based).",
1744
+ origin: "vendor-docs",
1745
+ },
1746
+ struct_position: {
1747
+ docUrl: "https://duckdb.org/docs/current/sql/functions/struct.html#struct_positionstruct-entry",
1748
+ description: "Return the index of the entry within the `STRUCT` (1-based), or `NULL` if not found.",
1749
+ origin: "vendor-docs",
1750
+ },
1751
+ struct_values: {
1752
+ docUrl: "https://duckdb.org/docs/current/sql/functions/struct.html#struct_valuesstruct",
1753
+ description: "Return the values of a `STRUCT` as an unnamed `STRUCT` (tuple).",
1754
+ origin: "vendor-docs",
1755
+ },
1756
+ substring: {
1757
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#substringstring-start-length",
1758
+ description: "Extracts substring starting from character `start` up to the end of the string.",
1759
+ origin: "vendor-docs",
1760
+ },
1761
+ substring_grapheme: {
1762
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#substring_graphemestring-start-length",
1763
+ description: "Extracts substring starting from grapheme clusters `start` up to the end of the string.",
1764
+ origin: "vendor-docs",
1765
+ },
1766
+ subtract: {
1767
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#subtractx-y",
1768
+ description: "Alias for `x - y`.",
1769
+ origin: "vendor-docs",
1770
+ },
1771
+ suffix: {
1772
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#suffixstring-search_string",
1773
+ description: "Returns `true` if `string` ends with `search_string`.",
1774
+ origin: "vendor-docs",
1775
+ },
1776
+ sum: {
1777
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#sumarg",
1778
+ description: "Calculates the sum of all non-null values in `arg` / counts `true` values when `arg` is boolean.",
1779
+ origin: "vendor-docs",
1780
+ },
1781
+ tan: {
1782
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#tanx",
1783
+ description: "Computes the tangent of `x`.",
1784
+ origin: "vendor-docs",
1785
+ },
1786
+ time_bucket: {
1787
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#time_bucketbucket_width-date-offset",
1788
+ description: "Truncate `date` to a grid of width `bucket_width`.",
1789
+ origin: "vendor-docs",
1790
+ },
1791
+ timetz_byte_comparable: {
1792
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#timetz_byte_comparabletimetz",
1793
+ description: "Converts a `TIME WITH TIME ZONE` to a `UBIGINT` sort key.",
1794
+ origin: "vendor-docs",
1795
+ },
1796
+ timezone: {
1797
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#timezonedate",
1798
+ description: "Time zone offset in minutes.",
1799
+ origin: "vendor-docs",
1800
+ },
1801
+ timezone_hour: {
1802
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#timezone_hourdate",
1803
+ description: "Time zone offset hour portion.",
1804
+ origin: "vendor-docs",
1805
+ },
1806
+ timezone_minute: {
1807
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#timezone_minutedate",
1808
+ description: "Time zone offset minutes portion.",
1809
+ origin: "vendor-docs",
1810
+ },
1811
+ to_base: {
1812
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#to_basenumber-radix-min_length",
1813
+ description: "Converts `number` to a string in the given base `radix`, optionally padding with leading zeros to `min_length`.",
1814
+ origin: "vendor-docs",
1815
+ },
1816
+ to_base64: {
1817
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#to_base64blob",
1818
+ description: "Converts a `blob` to a base64 encoded string.",
1819
+ origin: "vendor-docs",
1820
+ },
1821
+ to_centuries: {
1822
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_centuriesinteger",
1823
+ description: "Construct a century interval.",
1824
+ origin: "vendor-docs",
1825
+ },
1826
+ to_days: {
1827
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_daysinteger",
1828
+ description: "Construct a day interval.",
1829
+ origin: "vendor-docs",
1830
+ },
1831
+ to_decades: {
1832
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_decadesinteger",
1833
+ description: "Construct a decade interval.",
1834
+ origin: "vendor-docs",
1835
+ },
1836
+ to_hours: {
1837
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_hoursinteger",
1838
+ description: "Construct an hour interval.",
1839
+ origin: "vendor-docs",
1840
+ },
1841
+ to_microseconds: {
1842
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_microsecondsinteger",
1843
+ description: "Construct a microsecond interval.",
1844
+ origin: "vendor-docs",
1845
+ },
1846
+ to_millennia: {
1847
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_millenniainteger",
1848
+ description: "Construct a millennium interval.",
1849
+ origin: "vendor-docs",
1850
+ },
1851
+ to_milliseconds: {
1852
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_millisecondsinteger",
1853
+ description: "Construct a millisecond interval.",
1854
+ origin: "vendor-docs",
1855
+ },
1856
+ to_minutes: {
1857
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_minutesinteger",
1858
+ description: "Construct a minute interval.",
1859
+ origin: "vendor-docs",
1860
+ },
1861
+ to_months: {
1862
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_monthsinteger",
1863
+ description: "Construct a month interval.",
1864
+ origin: "vendor-docs",
1865
+ },
1866
+ to_quarters: {
1867
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_quartersinteger",
1868
+ description: "Construct an interval of `integer` quarters.",
1869
+ origin: "vendor-docs",
1870
+ },
1871
+ to_seconds: {
1872
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_secondsinteger",
1873
+ description: "Construct a second interval.",
1874
+ origin: "vendor-docs",
1875
+ },
1876
+ to_timestamp: {
1877
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#to_timestampdouble",
1878
+ description: "Converts seconds since the epoch to a timestamp with time zone.",
1879
+ origin: "vendor-docs",
1880
+ },
1881
+ to_weeks: {
1882
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_weeksinteger",
1883
+ description: "Construct a week interval.",
1884
+ origin: "vendor-docs",
1885
+ },
1886
+ to_years: {
1887
+ docUrl: "https://duckdb.org/docs/current/sql/functions/interval.html#to_yearsinteger",
1888
+ description: "Construct a year interval.",
1889
+ origin: "vendor-docs",
1890
+ },
1891
+ today: {
1892
+ docUrl: "https://duckdb.org/docs/current/sql/functions/date.html#today",
1893
+ description: "Current date (start of current transaction) in the local time zone.",
1894
+ origin: "vendor-docs",
1895
+ },
1896
+ transaction_timestamp: {
1897
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamptz.html#transaction_timestamp",
1898
+ description: "Current date and time (start of current transaction).",
1899
+ origin: "vendor-docs",
1900
+ },
1901
+ translate: {
1902
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#translatestring-from-to",
1903
+ description: "Replaces each character in `string` that matches a character in the `from` set with the corresponding character in the `to` set.",
1904
+ origin: "vendor-docs",
1905
+ },
1906
+ trim: {
1907
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#trimstring-characters",
1908
+ description: "Removes any occurrences of any of the `characters` from either side of the `string`.",
1909
+ origin: "vendor-docs",
1910
+ },
1911
+ trunc: {
1912
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#truncx",
1913
+ description: "Truncates the number.",
1914
+ origin: "vendor-docs",
1915
+ },
1916
+ try_strptime: {
1917
+ docUrl: "https://duckdb.org/docs/current/sql/functions/timestamp.html#try_strptimetext-format",
1918
+ description: "Converts the string `text` to timestamp applying the format strings in the list until one succeeds.",
1919
+ origin: "vendor-docs",
1920
+ },
1921
+ txid_current: {
1922
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#txid_current",
1923
+ description: "Returns the current transaction's identifier, a `BIGINT` value.",
1924
+ origin: "vendor-docs",
1925
+ },
1926
+ typeof: {
1927
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#typeofexpression",
1928
+ description: "Returns the name of the data type of the result of the expression.",
1929
+ origin: "vendor-docs",
1930
+ },
1931
+ unbin: {
1932
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#unbinvalue",
1933
+ description: "Converts a `value` from binary representation to a blob.",
1934
+ origin: "vendor-docs",
1935
+ },
1936
+ unhex: {
1937
+ docUrl: "https://duckdb.org/docs/current/sql/functions/blob.html#unhexvalue",
1938
+ description: "Converts a `value` from hexadecimal representation to a blob.",
1939
+ origin: "vendor-docs",
1940
+ },
1941
+ unicode: {
1942
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#unicodestring",
1943
+ description: "Returns an `INTEGER` representing the `unicode` codepoint of the first character in the `string`.",
1944
+ origin: "vendor-docs",
1945
+ },
1946
+ union_tag: {
1947
+ docUrl: "https://duckdb.org/docs/current/sql/functions/union.html#union_tagunion",
1948
+ description: "Retrieve the currently selected tag of the union as an Enum.",
1949
+ origin: "vendor-docs",
1950
+ },
1951
+ unnest: {
1952
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#unnestlist",
1953
+ description: "Unnests a list by one level.",
1954
+ origin: "vendor-docs",
1955
+ },
1956
+ unpivot_list: {
1957
+ docUrl: "https://duckdb.org/docs/current/sql/functions/list.html#unpivot_listarg-",
1958
+ description: "Identical to list_value, but generated as part of unpivot for better error messages.",
1959
+ origin: "vendor-docs",
1960
+ },
1961
+ upper: {
1962
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#upperstring",
1963
+ description: "Converts `string` to upper case.",
1964
+ origin: "vendor-docs",
1965
+ },
1966
+ url_decode: {
1967
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#url_decodestring",
1968
+ description: "Decodes a URL from a representation using Percent-Encoding.",
1969
+ origin: "vendor-docs",
1970
+ },
1971
+ url_encode: {
1972
+ docUrl: "https://duckdb.org/docs/current/sql/functions/text.html#url_encodestring",
1973
+ description: "Encodes a URL to a representation using Percent-Encoding.",
1974
+ origin: "vendor-docs",
1975
+ },
1976
+ uuid: {
1977
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#uuid",
1978
+ description: "Return a random UUID (UUIDv4) similar to this: `eeccb8c5-9943-b2bb-bb5e-222f4e14b687`.",
1979
+ origin: "vendor-docs",
1980
+ },
1981
+ uuid_extract_timestamp: {
1982
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#uuid_extract_timestampuuidv7",
1983
+ description: "Extracts `TIMESTAMP WITH TIME ZONE` from a UUIDv7 value.",
1984
+ origin: "vendor-docs",
1985
+ },
1986
+ uuid_extract_version: {
1987
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#uuid_extract_versionuuid",
1988
+ description: "Extracts UUID version (`4` or `7`).",
1989
+ origin: "vendor-docs",
1990
+ },
1991
+ uuidv4: {
1992
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#uuidv4",
1993
+ description: "Return a random UUID (UUIDv4) similar to this: `eeccb8c5-9943-b2bb-bb5e-222f4e14b687`.",
1994
+ origin: "vendor-docs",
1995
+ },
1996
+ uuidv7: {
1997
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#uuidv7",
1998
+ description: "Return a random UUIDv7 similar to this: `81964ebe-00b1-7e1d-b0f9-43c29b6fb8f5`.",
1999
+ origin: "vendor-docs",
2000
+ },
2001
+ var_pop: {
2002
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#var_popx",
2003
+ description: "The population variance, which does not include bias correction.",
2004
+ origin: "vendor-docs",
2005
+ },
2006
+ var_samp: {
2007
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#var_sampx",
2008
+ description: "The sample variance, which includes Bessel's bias correction.",
2009
+ origin: "vendor-docs",
2010
+ },
2011
+ version: {
2012
+ docUrl: "https://duckdb.org/docs/current/sql/functions/utility.html#version",
2013
+ description: "Return the currently active version of DuckDB in this format.",
2014
+ origin: "vendor-docs",
2015
+ },
2016
+ week: {
2017
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#weekdate",
2018
+ description: "ISO Week.",
2019
+ origin: "vendor-docs",
2020
+ },
2021
+ weekday: {
2022
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#weekdaydate",
2023
+ description: "Numeric weekday synonym (Sunday = 0, Saturday = 6).",
2024
+ origin: "vendor-docs",
2025
+ },
2026
+ weekofyear: {
2027
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#weekofyeardate",
2028
+ description: "ISO Week (synonym).",
2029
+ origin: "vendor-docs",
2030
+ },
2031
+ weighted_avg: {
2032
+ docUrl: "https://duckdb.org/docs/current/sql/functions/aggregates.html#weighted_avgarg-weight",
2033
+ description: "Calculates the weighted average of all non-null values in `arg`, where each value is scaled by its corresponding `weight`.",
2034
+ origin: "vendor-docs",
2035
+ },
2036
+ xor: {
2037
+ docUrl: "https://duckdb.org/docs/current/sql/functions/numeric.html#xorx-y",
2038
+ description: "Bitwise XOR.",
2039
+ origin: "vendor-docs",
2040
+ },
2041
+ year: {
2042
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#yeardate",
2043
+ description: "Year.",
2044
+ origin: "vendor-docs",
2045
+ },
2046
+ yearweek: {
2047
+ docUrl: "https://duckdb.org/docs/current/sql/functions/datepart.html#yearweekdate",
2048
+ description: "`BIGINT` of combined ISO Year number and 2-digit version of ISO Week number.",
2049
+ origin: "vendor-docs",
2050
+ },
2051
+ };