sqllens 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +31 -6
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/bigquery/fn-docs.generated.d.ts +2 -0
- package/dist/bigquery/fn-docs.generated.js +1704 -0
- package/dist/completion/jinja-slot.js +6 -1
- package/dist/databricks/fn-docs.generated.d.ts +2 -0
- package/dist/databricks/fn-docs.generated.js +3257 -0
- package/dist/duckdb/fn-docs.generated.d.ts +2 -0
- package/dist/duckdb/fn-docs.generated.js +2051 -0
- package/dist/duckdb/fold.js +6 -4
- package/dist/ident/fold.d.ts +5 -2
- package/dist/ident/fold.js +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/infer/types.js +4 -1
- package/dist/mysql/fn-docs.generated.d.ts +2 -0
- package/dist/mysql/fn-docs.generated.js +1204 -0
- package/dist/parse-diagnostics.js +33 -1
- package/dist/postgres/fn-docs.generated.d.ts +2 -0
- package/dist/postgres/fn-docs.generated.js +2818 -0
- package/dist/postgres/fold.js +9 -3
- package/dist/postgres/signatures.generated.js +585 -585
- package/dist/redshift/fn-docs.generated.d.ts +2 -0
- package/dist/redshift/fn-docs.generated.js +1457 -0
- package/dist/redshift/fold.js +6 -4
- package/dist/sema/resolve.js +3 -1
- package/dist/signature/docs.d.ts +16 -0
- package/dist/signature/docs.js +47 -0
- package/dist/signature/render.d.ts +7 -0
- package/dist/signature/render.js +40 -0
- package/dist/signature/signature.js +5 -5
- package/dist/snowflake/fn-docs.generated.d.ts +2 -0
- package/dist/snowflake/fn-docs.generated.js +2461 -0
- package/dist/sqlite/fn-docs.generated.d.ts +2 -0
- package/dist/sqlite/fn-docs.generated.js +609 -0
- package/dist/sqlite/fold.js +5 -7
- package/dist/trino/fn-docs.generated.d.ts +2 -0
- package/dist/trino/fn-docs.generated.js +1932 -0
- package/dist/tsql/fn-docs.generated.d.ts +2 -0
- package/dist/tsql/fn-docs.generated.js +1017 -0
- package/package.json +1 -1
|
@@ -0,0 +1,3257 @@
|
|
|
1
|
+
export const DATABRICKS_FN_DOCS = {
|
|
2
|
+
abs: {
|
|
3
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/abs",
|
|
4
|
+
description: "Returns the absolute value of the numeric or interval value.",
|
|
5
|
+
origin: "spark-docs",
|
|
6
|
+
},
|
|
7
|
+
acos: {
|
|
8
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/acos",
|
|
9
|
+
description: "Returns the inverse cosine (a.k.a.",
|
|
10
|
+
origin: "spark-docs",
|
|
11
|
+
},
|
|
12
|
+
acosh: {
|
|
13
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/acosh",
|
|
14
|
+
description: "Returns inverse hyperbolic cosine of expr.",
|
|
15
|
+
origin: "spark-docs",
|
|
16
|
+
},
|
|
17
|
+
add_months: {
|
|
18
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/add_months",
|
|
19
|
+
description: "Returns the date that is num_months after start_date.",
|
|
20
|
+
origin: "spark-docs",
|
|
21
|
+
},
|
|
22
|
+
aes_decrypt: {
|
|
23
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/aes_decrypt",
|
|
24
|
+
description: "Returns a decrypted value of expr using AES in mode with padding.",
|
|
25
|
+
origin: "spark-docs",
|
|
26
|
+
},
|
|
27
|
+
aes_encrypt: {
|
|
28
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/aes_encrypt",
|
|
29
|
+
description: "Returns an encrypted value of expr using AES in given mode with the specified padding.",
|
|
30
|
+
origin: "spark-docs",
|
|
31
|
+
},
|
|
32
|
+
agg: { docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/agg", origin: "vendor-docs" },
|
|
33
|
+
aggregate: {
|
|
34
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/aggregate",
|
|
35
|
+
description: "Applies a binary operator to an initial state and all elements in the array, and reduces this to a single state.",
|
|
36
|
+
origin: "spark-docs",
|
|
37
|
+
},
|
|
38
|
+
ai_analyze_sentiment: {
|
|
39
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_analyze_sentiment",
|
|
40
|
+
description: "Analyzes the sentiment of the provided text content, returning a sentiment classification.",
|
|
41
|
+
origin: "authored",
|
|
42
|
+
},
|
|
43
|
+
ai_classify: {
|
|
44
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_classify",
|
|
45
|
+
description: "Classifies text content into one or more provided label categories using a language model.",
|
|
46
|
+
origin: "authored",
|
|
47
|
+
},
|
|
48
|
+
ai_extract: {
|
|
49
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_extract",
|
|
50
|
+
description: "Extracts structured data or specific fields from unstructured text or documents using AI.",
|
|
51
|
+
origin: "authored",
|
|
52
|
+
},
|
|
53
|
+
ai_fix_grammar: {
|
|
54
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_fix_grammar",
|
|
55
|
+
description: "Corrects grammar and spelling errors in the provided text.",
|
|
56
|
+
origin: "authored",
|
|
57
|
+
},
|
|
58
|
+
ai_gen: {
|
|
59
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_gen",
|
|
60
|
+
description: "Generates text content based on the provided prompt using a language model.",
|
|
61
|
+
origin: "authored",
|
|
62
|
+
},
|
|
63
|
+
ai_mask: {
|
|
64
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_mask",
|
|
65
|
+
description: "Masks or redacts sensitive information matching specified labels from the input text.",
|
|
66
|
+
origin: "authored",
|
|
67
|
+
},
|
|
68
|
+
ai_parse_document: {
|
|
69
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_parse_document",
|
|
70
|
+
description: "Parses unstructured documents into structured content using document understanding models.",
|
|
71
|
+
origin: "authored",
|
|
72
|
+
},
|
|
73
|
+
ai_prep_search: {
|
|
74
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_prep_search",
|
|
75
|
+
description: "Prepares parsed document content for semantic search and retrieval operations.",
|
|
76
|
+
origin: "authored",
|
|
77
|
+
},
|
|
78
|
+
ai_query: {
|
|
79
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_query",
|
|
80
|
+
description: "Sends a request to a specified AI endpoint and returns the response.",
|
|
81
|
+
origin: "authored",
|
|
82
|
+
},
|
|
83
|
+
ai_similarity: {
|
|
84
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_similarity",
|
|
85
|
+
origin: "vendor-docs",
|
|
86
|
+
},
|
|
87
|
+
ai_summarize: {
|
|
88
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_summarize",
|
|
89
|
+
origin: "vendor-docs",
|
|
90
|
+
},
|
|
91
|
+
ai_translate: {
|
|
92
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ai_translate",
|
|
93
|
+
description: "Translates text from one language to another.",
|
|
94
|
+
origin: "authored",
|
|
95
|
+
},
|
|
96
|
+
any_value: {
|
|
97
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/any_value",
|
|
98
|
+
description: "Returns some value of expr for a group of rows.",
|
|
99
|
+
origin: "spark-docs",
|
|
100
|
+
},
|
|
101
|
+
approx_count_distinct: {
|
|
102
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/approx_count_distinct",
|
|
103
|
+
description: "Returns the estimated cardinality by HyperLogLog++.",
|
|
104
|
+
origin: "spark-docs",
|
|
105
|
+
},
|
|
106
|
+
approx_percentile: {
|
|
107
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/approx_percentile",
|
|
108
|
+
description: "Returns the approximate percentile of the numeric or ansi interval column col which is the smallest value in the ordered col values (sorted from least to greatest) such that no more than percentage of col values is less than the value or equal to that value.",
|
|
109
|
+
origin: "spark-docs",
|
|
110
|
+
},
|
|
111
|
+
approx_top_k: {
|
|
112
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/approx_top_k",
|
|
113
|
+
origin: "vendor-docs",
|
|
114
|
+
},
|
|
115
|
+
approx_top_k_accumulate: {
|
|
116
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/approx_top_k_accumulate",
|
|
117
|
+
description: "Initializes or accumulates state for approximate top-k frequency estimation.",
|
|
118
|
+
origin: "authored",
|
|
119
|
+
},
|
|
120
|
+
approx_top_k_combine: {
|
|
121
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/approx_top_k_combine",
|
|
122
|
+
description: "Combines multiple top-k approximation states into a single state.",
|
|
123
|
+
origin: "authored",
|
|
124
|
+
},
|
|
125
|
+
approx_top_k_estimate: {
|
|
126
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/approx_top_k_estimate",
|
|
127
|
+
description: "Extracts top-k estimates and frequencies from accumulated approximation state.",
|
|
128
|
+
origin: "authored",
|
|
129
|
+
},
|
|
130
|
+
array: {
|
|
131
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array",
|
|
132
|
+
description: "Returns an array with the given elements.",
|
|
133
|
+
origin: "spark-docs",
|
|
134
|
+
},
|
|
135
|
+
array_agg: {
|
|
136
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_agg",
|
|
137
|
+
description: "Collects and returns a list of non-unique elements.",
|
|
138
|
+
origin: "spark-docs",
|
|
139
|
+
},
|
|
140
|
+
array_append: {
|
|
141
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_append",
|
|
142
|
+
description: "Add the element at the end of the array passed as first argument.",
|
|
143
|
+
origin: "spark-docs",
|
|
144
|
+
},
|
|
145
|
+
array_compact: {
|
|
146
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_compact",
|
|
147
|
+
description: "Removes null values from the array.",
|
|
148
|
+
origin: "spark-docs",
|
|
149
|
+
},
|
|
150
|
+
array_contains: {
|
|
151
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_contains",
|
|
152
|
+
description: "Returns true if the array contains the value.",
|
|
153
|
+
origin: "spark-docs",
|
|
154
|
+
},
|
|
155
|
+
array_distinct: {
|
|
156
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_distinct",
|
|
157
|
+
description: "Removes duplicate values from the array.",
|
|
158
|
+
origin: "spark-docs",
|
|
159
|
+
},
|
|
160
|
+
array_except: {
|
|
161
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_except",
|
|
162
|
+
description: "Returns an array of the elements in array1 but not in array2, without duplicates.",
|
|
163
|
+
origin: "spark-docs",
|
|
164
|
+
},
|
|
165
|
+
array_insert: {
|
|
166
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_insert",
|
|
167
|
+
description: "Places val into index pos of array x.",
|
|
168
|
+
origin: "spark-docs",
|
|
169
|
+
},
|
|
170
|
+
array_intersect: {
|
|
171
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_intersect",
|
|
172
|
+
description: "Returns an array of the elements in the intersection of array1 and array2, without duplicates.",
|
|
173
|
+
origin: "spark-docs",
|
|
174
|
+
},
|
|
175
|
+
array_join: {
|
|
176
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_join",
|
|
177
|
+
description: "Concatenates the elements of the given array using the delimiter and an optional string to replace nulls.",
|
|
178
|
+
origin: "spark-docs",
|
|
179
|
+
},
|
|
180
|
+
array_max: {
|
|
181
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_max",
|
|
182
|
+
description: "Returns the maximum value in the array.",
|
|
183
|
+
origin: "spark-docs",
|
|
184
|
+
},
|
|
185
|
+
array_min: {
|
|
186
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_min",
|
|
187
|
+
description: "Returns the minimum value in the array.",
|
|
188
|
+
origin: "spark-docs",
|
|
189
|
+
},
|
|
190
|
+
array_position: {
|
|
191
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_position",
|
|
192
|
+
description: "Returns the (1-based) index of the first matching element of the array as long, or 0 if no match is found.",
|
|
193
|
+
origin: "spark-docs",
|
|
194
|
+
},
|
|
195
|
+
array_prepend: {
|
|
196
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_prepend",
|
|
197
|
+
description: "Add the element at the beginning of the array passed as first argument.",
|
|
198
|
+
origin: "spark-docs",
|
|
199
|
+
},
|
|
200
|
+
array_remove: {
|
|
201
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_remove",
|
|
202
|
+
description: "Remove all elements that equal to element from array.",
|
|
203
|
+
origin: "spark-docs",
|
|
204
|
+
},
|
|
205
|
+
array_repeat: {
|
|
206
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_repeat",
|
|
207
|
+
description: "Returns the array containing element count times.",
|
|
208
|
+
origin: "spark-docs",
|
|
209
|
+
},
|
|
210
|
+
array_size: {
|
|
211
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_size",
|
|
212
|
+
description: "Returns the size of an array.",
|
|
213
|
+
origin: "spark-docs",
|
|
214
|
+
},
|
|
215
|
+
array_sort: {
|
|
216
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_sort",
|
|
217
|
+
description: "Sorts the input array.",
|
|
218
|
+
origin: "spark-docs",
|
|
219
|
+
},
|
|
220
|
+
array_union: {
|
|
221
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/array_union",
|
|
222
|
+
description: "Returns an array of the elements in the union of array1 and array2, without duplicates.",
|
|
223
|
+
origin: "spark-docs",
|
|
224
|
+
},
|
|
225
|
+
arrays_overlap: {
|
|
226
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/arrays_overlap",
|
|
227
|
+
description: "Returns true if a1 contains at least a non-null element present also in a2.",
|
|
228
|
+
origin: "spark-docs",
|
|
229
|
+
},
|
|
230
|
+
arrays_zip: {
|
|
231
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/arrays_zip",
|
|
232
|
+
description: "Returns a merged array of structs in which the N-th struct contains all N-th values of input arrays.",
|
|
233
|
+
origin: "spark-docs",
|
|
234
|
+
},
|
|
235
|
+
ascii: {
|
|
236
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ascii",
|
|
237
|
+
description: "Returns the numeric value of the first character of str.",
|
|
238
|
+
origin: "spark-docs",
|
|
239
|
+
},
|
|
240
|
+
asin: {
|
|
241
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/asin",
|
|
242
|
+
description: "Returns the inverse sine (a.k.a.",
|
|
243
|
+
origin: "spark-docs",
|
|
244
|
+
},
|
|
245
|
+
asinh: {
|
|
246
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/asinh",
|
|
247
|
+
description: "Returns inverse hyperbolic sine of expr.",
|
|
248
|
+
origin: "spark-docs",
|
|
249
|
+
},
|
|
250
|
+
assert_true: {
|
|
251
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/assert_true",
|
|
252
|
+
description: "Throws an exception if expr is not true.",
|
|
253
|
+
origin: "spark-docs",
|
|
254
|
+
},
|
|
255
|
+
atan: {
|
|
256
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/atan",
|
|
257
|
+
description: "Returns the inverse tangent (a.k.a.",
|
|
258
|
+
origin: "spark-docs",
|
|
259
|
+
},
|
|
260
|
+
atan2: {
|
|
261
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/atan2",
|
|
262
|
+
description: "Returns the angle in radians between the positive x-axis of a plane and the point given by the coordinates ( exprX, exprY), as if computed by java.lang.Math.atan2.",
|
|
263
|
+
origin: "spark-docs",
|
|
264
|
+
},
|
|
265
|
+
atanh: {
|
|
266
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/atanh",
|
|
267
|
+
description: "Returns inverse hyperbolic tangent of expr.",
|
|
268
|
+
origin: "spark-docs",
|
|
269
|
+
},
|
|
270
|
+
avg: {
|
|
271
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/avg",
|
|
272
|
+
description: "Returns the mean calculated from values of a group.",
|
|
273
|
+
origin: "spark-docs",
|
|
274
|
+
},
|
|
275
|
+
base64: {
|
|
276
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/base64",
|
|
277
|
+
description: "Converts the argument from a binary bin to a base 64 string.",
|
|
278
|
+
origin: "spark-docs",
|
|
279
|
+
},
|
|
280
|
+
bigint: {
|
|
281
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bigint",
|
|
282
|
+
description: "Casts the value expr to the target data type bigint.",
|
|
283
|
+
origin: "spark-docs",
|
|
284
|
+
},
|
|
285
|
+
bin: {
|
|
286
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bin",
|
|
287
|
+
description: "Returns the string representation of the long value expr represented in binary.",
|
|
288
|
+
origin: "spark-docs",
|
|
289
|
+
},
|
|
290
|
+
binary: {
|
|
291
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/binary",
|
|
292
|
+
description: "Casts the value expr to the target data type binary.",
|
|
293
|
+
origin: "spark-docs",
|
|
294
|
+
},
|
|
295
|
+
bit_and: {
|
|
296
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_and",
|
|
297
|
+
description: "Returns the bitwise AND of all non-null input values, or null if none.",
|
|
298
|
+
origin: "spark-docs",
|
|
299
|
+
},
|
|
300
|
+
bit_count: {
|
|
301
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_count",
|
|
302
|
+
description: "Returns the number of bits that are set in the argument expr as an unsigned 64-bit integer, or NULL if the argument is NULL.",
|
|
303
|
+
origin: "spark-docs",
|
|
304
|
+
},
|
|
305
|
+
bit_get: {
|
|
306
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_get",
|
|
307
|
+
description: "Returns the value of the bit (0 or 1) at the specified position.",
|
|
308
|
+
origin: "spark-docs",
|
|
309
|
+
},
|
|
310
|
+
bit_length: {
|
|
311
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_length",
|
|
312
|
+
description: "Returns the bit length of string data or number of bits of binary data.",
|
|
313
|
+
origin: "spark-docs",
|
|
314
|
+
},
|
|
315
|
+
bit_or: {
|
|
316
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_or",
|
|
317
|
+
description: "Returns the bitwise OR of all non-null input values, or null if none.",
|
|
318
|
+
origin: "spark-docs",
|
|
319
|
+
},
|
|
320
|
+
bit_reverse: {
|
|
321
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_reverse",
|
|
322
|
+
description: "Reverses the bit order in a numeric value.",
|
|
323
|
+
origin: "authored",
|
|
324
|
+
},
|
|
325
|
+
bit_xor: {
|
|
326
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bit_xor",
|
|
327
|
+
description: "Returns the bitwise XOR of all non-null input values, or null if none.",
|
|
328
|
+
origin: "spark-docs",
|
|
329
|
+
},
|
|
330
|
+
bitmap_and_agg: {
|
|
331
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bitmap_and_agg",
|
|
332
|
+
description: "Aggregates bitmaps using bitwise AND operation across rows.",
|
|
333
|
+
origin: "authored",
|
|
334
|
+
},
|
|
335
|
+
bitmap_bit_position: {
|
|
336
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bitmap_bit_position",
|
|
337
|
+
description: "Returns the bit position for the given input child expression.",
|
|
338
|
+
origin: "spark-docs",
|
|
339
|
+
},
|
|
340
|
+
bitmap_bucket_number: {
|
|
341
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bitmap_bucket_number",
|
|
342
|
+
description: "Returns the bucket number for the given input child expression.",
|
|
343
|
+
origin: "spark-docs",
|
|
344
|
+
},
|
|
345
|
+
bitmap_construct_agg: {
|
|
346
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bitmap_construct_agg",
|
|
347
|
+
description: "Returns a bitmap with the positions of the bits set from all the values from the child expression.",
|
|
348
|
+
origin: "spark-docs",
|
|
349
|
+
},
|
|
350
|
+
bitmap_count: {
|
|
351
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bitmap_count",
|
|
352
|
+
description: "Returns the number of set bits in the child bitmap.",
|
|
353
|
+
origin: "spark-docs",
|
|
354
|
+
},
|
|
355
|
+
bitmap_or_agg: {
|
|
356
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bitmap_or_agg",
|
|
357
|
+
description: "Returns a bitmap that is the bitwise OR of all of the bitmaps from the child expression.",
|
|
358
|
+
origin: "spark-docs",
|
|
359
|
+
},
|
|
360
|
+
bool_and: {
|
|
361
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bool_and",
|
|
362
|
+
description: "Returns true if all values of expr are true.",
|
|
363
|
+
origin: "spark-docs",
|
|
364
|
+
},
|
|
365
|
+
bool_or: {
|
|
366
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bool_or",
|
|
367
|
+
description: "Returns true if at least one value of expr is true.",
|
|
368
|
+
origin: "spark-docs",
|
|
369
|
+
},
|
|
370
|
+
boolean: {
|
|
371
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/boolean",
|
|
372
|
+
description: "Casts the value expr to the target data type boolean.",
|
|
373
|
+
origin: "spark-docs",
|
|
374
|
+
},
|
|
375
|
+
bround: {
|
|
376
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/bround",
|
|
377
|
+
description: "Returns expr rounded to d decimal places using HALF_EVEN rounding mode.",
|
|
378
|
+
origin: "spark-docs",
|
|
379
|
+
},
|
|
380
|
+
btrim: {
|
|
381
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/btrim",
|
|
382
|
+
description: "Removes the leading and trailing space characters from str.",
|
|
383
|
+
origin: "spark-docs",
|
|
384
|
+
},
|
|
385
|
+
cardinality: {
|
|
386
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cardinality",
|
|
387
|
+
description: "Returns the size of an array or a map.",
|
|
388
|
+
origin: "spark-docs",
|
|
389
|
+
},
|
|
390
|
+
cast: {
|
|
391
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cast",
|
|
392
|
+
description: "Casts the value expr to the target data type type.",
|
|
393
|
+
origin: "spark-docs",
|
|
394
|
+
},
|
|
395
|
+
cbrt: {
|
|
396
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cbrt",
|
|
397
|
+
description: "Returns the cube root of expr.",
|
|
398
|
+
origin: "spark-docs",
|
|
399
|
+
},
|
|
400
|
+
ceil: {
|
|
401
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ceil",
|
|
402
|
+
description: "Returns the smallest number after rounding up that is not smaller than expr.",
|
|
403
|
+
origin: "spark-docs",
|
|
404
|
+
},
|
|
405
|
+
ceiling: {
|
|
406
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ceiling",
|
|
407
|
+
description: "Returns the smallest number after rounding up that is not smaller than expr.",
|
|
408
|
+
origin: "spark-docs",
|
|
409
|
+
},
|
|
410
|
+
char: {
|
|
411
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/char",
|
|
412
|
+
description: "Returns the ASCII character having the binary equivalent to expr.",
|
|
413
|
+
origin: "spark-docs",
|
|
414
|
+
},
|
|
415
|
+
char_length: {
|
|
416
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/char_length",
|
|
417
|
+
description: "Returns the character length of string data or number of bytes of binary data.",
|
|
418
|
+
origin: "spark-docs",
|
|
419
|
+
},
|
|
420
|
+
character_length: {
|
|
421
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/character_length",
|
|
422
|
+
description: "Returns the character length of string data or number of bytes of binary data.",
|
|
423
|
+
origin: "spark-docs",
|
|
424
|
+
},
|
|
425
|
+
charindex: {
|
|
426
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/charindex",
|
|
427
|
+
description: "Returns the position of a substring within a string, using 1-based indexing.",
|
|
428
|
+
origin: "authored",
|
|
429
|
+
},
|
|
430
|
+
chr: {
|
|
431
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/chr",
|
|
432
|
+
description: "Returns the ASCII character having the binary equivalent to expr.",
|
|
433
|
+
origin: "spark-docs",
|
|
434
|
+
},
|
|
435
|
+
classifier: {
|
|
436
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/classifier",
|
|
437
|
+
origin: "vendor-docs",
|
|
438
|
+
},
|
|
439
|
+
coalesce: {
|
|
440
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/coalesce",
|
|
441
|
+
description: "Returns the first non-null argument if exists.",
|
|
442
|
+
origin: "spark-docs",
|
|
443
|
+
},
|
|
444
|
+
collation: {
|
|
445
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/collation",
|
|
446
|
+
description: "Returns the collation name of a given expression.",
|
|
447
|
+
origin: "spark-docs",
|
|
448
|
+
},
|
|
449
|
+
collations: {
|
|
450
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/collations",
|
|
451
|
+
description: "Get all of the Spark SQL string collations",
|
|
452
|
+
origin: "spark-docs",
|
|
453
|
+
},
|
|
454
|
+
collect_list: {
|
|
455
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/collect_list",
|
|
456
|
+
description: "Collects and returns a list of non-unique elements.",
|
|
457
|
+
origin: "spark-docs",
|
|
458
|
+
},
|
|
459
|
+
collect_set: {
|
|
460
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/collect_set",
|
|
461
|
+
description: "Collects and returns a set of unique elements.",
|
|
462
|
+
origin: "spark-docs",
|
|
463
|
+
},
|
|
464
|
+
concat: {
|
|
465
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/concat",
|
|
466
|
+
description: "Returns the concatenation of col1, col2,..., colN.",
|
|
467
|
+
origin: "spark-docs",
|
|
468
|
+
},
|
|
469
|
+
concat_ws: {
|
|
470
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/concat_ws",
|
|
471
|
+
description: "Returns the concatenation of the strings separated by sep, skipping null values.",
|
|
472
|
+
origin: "spark-docs",
|
|
473
|
+
},
|
|
474
|
+
contains: {
|
|
475
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/contains",
|
|
476
|
+
description: "Returns a boolean. The value is True if right is found inside left. Returns NULL if either input expression is NULL. Otherwise, returns False. Both left or right must be of STRING or BINARY type.",
|
|
477
|
+
origin: "spark-docs",
|
|
478
|
+
},
|
|
479
|
+
conv: {
|
|
480
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/conv",
|
|
481
|
+
description: "Convert num from from_base to to_base.",
|
|
482
|
+
origin: "spark-docs",
|
|
483
|
+
},
|
|
484
|
+
corr: {
|
|
485
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/corr",
|
|
486
|
+
description: "Returns Pearson coefficient of correlation between a set of number pairs.",
|
|
487
|
+
origin: "spark-docs",
|
|
488
|
+
},
|
|
489
|
+
cos: {
|
|
490
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cos",
|
|
491
|
+
description: "Returns the cosine of expr, as if computed by java.lang.Math.cos.",
|
|
492
|
+
origin: "spark-docs",
|
|
493
|
+
},
|
|
494
|
+
cosh: {
|
|
495
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cosh",
|
|
496
|
+
description: "Returns the hyperbolic cosine of expr, as if computed by java.lang.Math.cosh.",
|
|
497
|
+
origin: "spark-docs",
|
|
498
|
+
},
|
|
499
|
+
cot: {
|
|
500
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cot",
|
|
501
|
+
description: "Returns the cotangent of expr, as if computed by 1/java.lang.Math.tan.",
|
|
502
|
+
origin: "spark-docs",
|
|
503
|
+
},
|
|
504
|
+
count: {
|
|
505
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/count",
|
|
506
|
+
description: "Returns the total number of retrieved rows, including rows containing null.",
|
|
507
|
+
origin: "spark-docs",
|
|
508
|
+
},
|
|
509
|
+
count_if: {
|
|
510
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/count_if",
|
|
511
|
+
description: "Returns the number of TRUE values for the expression.",
|
|
512
|
+
origin: "spark-docs",
|
|
513
|
+
},
|
|
514
|
+
count_min_sketch: {
|
|
515
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/count_min_sketch",
|
|
516
|
+
description: "Returns a count-min sketch of a column with the given esp, confidence and seed.",
|
|
517
|
+
origin: "spark-docs",
|
|
518
|
+
},
|
|
519
|
+
covar_pop: {
|
|
520
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/covar_pop",
|
|
521
|
+
description: "Returns the population covariance of a set of number pairs.",
|
|
522
|
+
origin: "spark-docs",
|
|
523
|
+
},
|
|
524
|
+
covar_samp: {
|
|
525
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/covar_samp",
|
|
526
|
+
description: "Returns the sample covariance of a set of number pairs.",
|
|
527
|
+
origin: "spark-docs",
|
|
528
|
+
},
|
|
529
|
+
crc32: {
|
|
530
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/crc32",
|
|
531
|
+
description: "Returns a cyclic redundancy check value of the expr as a bigint.",
|
|
532
|
+
origin: "spark-docs",
|
|
533
|
+
},
|
|
534
|
+
csc: {
|
|
535
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/csc",
|
|
536
|
+
description: "Returns the cosecant of expr, as if computed by 1/java.lang.Math.sin.",
|
|
537
|
+
origin: "spark-docs",
|
|
538
|
+
},
|
|
539
|
+
cube: {
|
|
540
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cube",
|
|
541
|
+
description: "Generates multi-dimensional grouping sets for aggregation, including all combinations of the specified columns.",
|
|
542
|
+
origin: "authored",
|
|
543
|
+
},
|
|
544
|
+
cume_dist: {
|
|
545
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/cume_dist",
|
|
546
|
+
description: "Computes the position of a value relative to all values in the partition.",
|
|
547
|
+
origin: "spark-docs",
|
|
548
|
+
},
|
|
549
|
+
curdate: {
|
|
550
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/curdate",
|
|
551
|
+
description: "Returns the current date at the start of query evaluation.",
|
|
552
|
+
origin: "spark-docs",
|
|
553
|
+
},
|
|
554
|
+
current_catalog: {
|
|
555
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_catalog",
|
|
556
|
+
description: "Returns the current catalog.",
|
|
557
|
+
origin: "spark-docs",
|
|
558
|
+
},
|
|
559
|
+
current_database: {
|
|
560
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_database",
|
|
561
|
+
description: "Returns the current database.",
|
|
562
|
+
origin: "spark-docs",
|
|
563
|
+
},
|
|
564
|
+
current_date: {
|
|
565
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_date",
|
|
566
|
+
description: "Returns the current date at the start of query evaluation.",
|
|
567
|
+
origin: "spark-docs",
|
|
568
|
+
},
|
|
569
|
+
current_metastore: {
|
|
570
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_metastore",
|
|
571
|
+
origin: "vendor-docs",
|
|
572
|
+
},
|
|
573
|
+
current_recipient: {
|
|
574
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_recipient",
|
|
575
|
+
origin: "vendor-docs",
|
|
576
|
+
},
|
|
577
|
+
current_schema: {
|
|
578
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_schema",
|
|
579
|
+
description: "Returns the current database.",
|
|
580
|
+
origin: "spark-docs",
|
|
581
|
+
},
|
|
582
|
+
current_time: {
|
|
583
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_time",
|
|
584
|
+
description: "Returns the current time at the specified precision.",
|
|
585
|
+
origin: "authored",
|
|
586
|
+
},
|
|
587
|
+
current_timestamp: {
|
|
588
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_timestamp",
|
|
589
|
+
description: "Returns the current timestamp at the start of query evaluation.",
|
|
590
|
+
origin: "spark-docs",
|
|
591
|
+
},
|
|
592
|
+
current_timezone: {
|
|
593
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_timezone",
|
|
594
|
+
description: "Returns the current session local timezone.",
|
|
595
|
+
origin: "spark-docs",
|
|
596
|
+
},
|
|
597
|
+
current_user: {
|
|
598
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_user",
|
|
599
|
+
description: "user name of current execution context.",
|
|
600
|
+
origin: "spark-docs",
|
|
601
|
+
},
|
|
602
|
+
current_version: {
|
|
603
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/current_version",
|
|
604
|
+
origin: "vendor-docs",
|
|
605
|
+
},
|
|
606
|
+
date: {
|
|
607
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date",
|
|
608
|
+
description: "Casts the value expr to the target data type date.",
|
|
609
|
+
origin: "spark-docs",
|
|
610
|
+
},
|
|
611
|
+
date_add: {
|
|
612
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_add",
|
|
613
|
+
description: "Returns the date that is num_days after start_date.",
|
|
614
|
+
origin: "spark-docs",
|
|
615
|
+
},
|
|
616
|
+
date_diff: {
|
|
617
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_diff",
|
|
618
|
+
description: "Returns the number of days from startDate to endDate.",
|
|
619
|
+
origin: "spark-docs",
|
|
620
|
+
},
|
|
621
|
+
date_format: {
|
|
622
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_format",
|
|
623
|
+
description: "Converts timestamp to a value of string in the format specified by the date format fmt.",
|
|
624
|
+
origin: "spark-docs",
|
|
625
|
+
},
|
|
626
|
+
date_from_unix_date: {
|
|
627
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_from_unix_date",
|
|
628
|
+
description: "Create date from the number of days since 1970-01-01.",
|
|
629
|
+
origin: "spark-docs",
|
|
630
|
+
},
|
|
631
|
+
date_part: {
|
|
632
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_part",
|
|
633
|
+
description: "Extracts a part of the date/timestamp or interval source.",
|
|
634
|
+
origin: "spark-docs",
|
|
635
|
+
},
|
|
636
|
+
date_sub: {
|
|
637
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_sub",
|
|
638
|
+
description: "Returns the date that is num_days before start_date.",
|
|
639
|
+
origin: "spark-docs",
|
|
640
|
+
},
|
|
641
|
+
date_trunc: {
|
|
642
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/date_trunc",
|
|
643
|
+
description: "Returns timestamp ts truncated to the unit specified by the format model fmt.",
|
|
644
|
+
origin: "spark-docs",
|
|
645
|
+
},
|
|
646
|
+
dateadd: {
|
|
647
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/dateadd",
|
|
648
|
+
description: "Returns the date that is num_days after start_date.",
|
|
649
|
+
origin: "spark-docs",
|
|
650
|
+
},
|
|
651
|
+
datediff: {
|
|
652
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/datediff",
|
|
653
|
+
description: "Returns the number of days from startDate to endDate.",
|
|
654
|
+
origin: "spark-docs",
|
|
655
|
+
},
|
|
656
|
+
day: {
|
|
657
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/day",
|
|
658
|
+
description: "Returns the day of month of the date/timestamp.",
|
|
659
|
+
origin: "spark-docs",
|
|
660
|
+
},
|
|
661
|
+
dayname: {
|
|
662
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/dayname",
|
|
663
|
+
description: "Returns the three-letter abbreviated day name from the given date.",
|
|
664
|
+
origin: "spark-docs",
|
|
665
|
+
},
|
|
666
|
+
dayofmonth: {
|
|
667
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/dayofmonth",
|
|
668
|
+
description: "Returns the day of month of the date/timestamp.",
|
|
669
|
+
origin: "spark-docs",
|
|
670
|
+
},
|
|
671
|
+
dayofweek: {
|
|
672
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/dayofweek",
|
|
673
|
+
description: "Returns the day of the week for date/timestamp (1 = Sunday, 2 = Monday,..., 7 = Saturday).",
|
|
674
|
+
origin: "spark-docs",
|
|
675
|
+
},
|
|
676
|
+
dayofyear: {
|
|
677
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/dayofyear",
|
|
678
|
+
description: "Returns the day of year of the date/timestamp.",
|
|
679
|
+
origin: "spark-docs",
|
|
680
|
+
},
|
|
681
|
+
decimal: {
|
|
682
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/decimal",
|
|
683
|
+
description: "Casts the value expr to the target data type decimal.",
|
|
684
|
+
origin: "spark-docs",
|
|
685
|
+
},
|
|
686
|
+
decode: {
|
|
687
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/decode",
|
|
688
|
+
description: "Decodes the first argument using the second argument character set.",
|
|
689
|
+
origin: "spark-docs",
|
|
690
|
+
},
|
|
691
|
+
degrees: {
|
|
692
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/degrees",
|
|
693
|
+
description: "Converts radians to degrees.",
|
|
694
|
+
origin: "spark-docs",
|
|
695
|
+
},
|
|
696
|
+
dense_rank: {
|
|
697
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/dense_rank",
|
|
698
|
+
description: "Computes the rank of a value in a group of values.",
|
|
699
|
+
origin: "spark-docs",
|
|
700
|
+
},
|
|
701
|
+
double: {
|
|
702
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/double",
|
|
703
|
+
description: "Casts the value expr to the target data type double.",
|
|
704
|
+
origin: "spark-docs",
|
|
705
|
+
},
|
|
706
|
+
e: {
|
|
707
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/e",
|
|
708
|
+
description: "Returns Euler's number, e.",
|
|
709
|
+
origin: "spark-docs",
|
|
710
|
+
},
|
|
711
|
+
element_at: {
|
|
712
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/element_at",
|
|
713
|
+
description: "Returns element of array at given (1-based) index.",
|
|
714
|
+
origin: "spark-docs",
|
|
715
|
+
},
|
|
716
|
+
elt: {
|
|
717
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/elt",
|
|
718
|
+
description: "Returns the n -th input, e.g., returns input2 when n is 2.",
|
|
719
|
+
origin: "spark-docs",
|
|
720
|
+
},
|
|
721
|
+
encode: {
|
|
722
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/encode",
|
|
723
|
+
description: "Encodes the first argument using the second argument character set.",
|
|
724
|
+
origin: "spark-docs",
|
|
725
|
+
},
|
|
726
|
+
endswith: {
|
|
727
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/endswith",
|
|
728
|
+
description: "Returns a boolean. The value is True if left ends with right. Returns NULL if either input expression is NULL. Otherwise, returns False. Both left or right must be of STRING or BINARY type.",
|
|
729
|
+
origin: "spark-docs",
|
|
730
|
+
},
|
|
731
|
+
equal_null: {
|
|
732
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/equal_null",
|
|
733
|
+
description: "Returns same result as the EQUAL(=) operator for non-null operands, but returns true if both are null, false if one of the them is null.",
|
|
734
|
+
origin: "spark-docs",
|
|
735
|
+
},
|
|
736
|
+
every: {
|
|
737
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/every",
|
|
738
|
+
description: "Returns true if all values of expr are true.",
|
|
739
|
+
origin: "spark-docs",
|
|
740
|
+
},
|
|
741
|
+
exp: {
|
|
742
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/exp",
|
|
743
|
+
description: "Returns e to the power of expr.",
|
|
744
|
+
origin: "spark-docs",
|
|
745
|
+
},
|
|
746
|
+
explode: {
|
|
747
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/explode",
|
|
748
|
+
description: "Separates the elements of array expr into multiple rows, or the elements of map expr into multiple rows and columns.",
|
|
749
|
+
origin: "spark-docs",
|
|
750
|
+
},
|
|
751
|
+
explode_outer: {
|
|
752
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/explode_outer",
|
|
753
|
+
description: "Separates the elements of array expr into multiple rows, or the elements of map expr into multiple rows and columns.",
|
|
754
|
+
origin: "spark-docs",
|
|
755
|
+
},
|
|
756
|
+
expm1: {
|
|
757
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/expm1",
|
|
758
|
+
description: "Returns exp( expr) - 1.",
|
|
759
|
+
origin: "spark-docs",
|
|
760
|
+
},
|
|
761
|
+
factorial: {
|
|
762
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/factorial",
|
|
763
|
+
description: "Returns the factorial of expr.",
|
|
764
|
+
origin: "spark-docs",
|
|
765
|
+
},
|
|
766
|
+
filter: {
|
|
767
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/filter",
|
|
768
|
+
description: "Filters the input array using the given predicate.",
|
|
769
|
+
origin: "spark-docs",
|
|
770
|
+
},
|
|
771
|
+
find_in_set: {
|
|
772
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/find_in_set",
|
|
773
|
+
description: "Returns the index (1-based) of the given string ( str) in the comma-delimited list ( str_array).",
|
|
774
|
+
origin: "spark-docs",
|
|
775
|
+
},
|
|
776
|
+
first: {
|
|
777
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/first",
|
|
778
|
+
description: "Returns the first value of expr for a group of rows.",
|
|
779
|
+
origin: "spark-docs",
|
|
780
|
+
},
|
|
781
|
+
first_value: {
|
|
782
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/first_value",
|
|
783
|
+
description: "Returns the first value of expr for a group of rows.",
|
|
784
|
+
origin: "spark-docs",
|
|
785
|
+
},
|
|
786
|
+
flatten: {
|
|
787
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/flatten",
|
|
788
|
+
description: "Transforms an array of arrays into a single array.",
|
|
789
|
+
origin: "spark-docs",
|
|
790
|
+
},
|
|
791
|
+
float: {
|
|
792
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/float",
|
|
793
|
+
description: "Casts the value expr to the target data type float.",
|
|
794
|
+
origin: "spark-docs",
|
|
795
|
+
},
|
|
796
|
+
floor: {
|
|
797
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/floor",
|
|
798
|
+
description: "Returns the largest number after rounding down that is not greater than expr.",
|
|
799
|
+
origin: "spark-docs",
|
|
800
|
+
},
|
|
801
|
+
forall: {
|
|
802
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/forall",
|
|
803
|
+
description: "Tests whether a predicate holds for all elements in the array.",
|
|
804
|
+
origin: "spark-docs",
|
|
805
|
+
},
|
|
806
|
+
format_number: {
|
|
807
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/format_number",
|
|
808
|
+
description: "Formats the number expr1 like '#,###,###.##', rounded to expr2 decimal places.",
|
|
809
|
+
origin: "spark-docs",
|
|
810
|
+
},
|
|
811
|
+
format_string: {
|
|
812
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/format_string",
|
|
813
|
+
description: "Returns a formatted string from printf-style format strings.",
|
|
814
|
+
origin: "spark-docs",
|
|
815
|
+
},
|
|
816
|
+
from_avro: {
|
|
817
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/from_avro",
|
|
818
|
+
description: "Converts a binary Avro value into a Catalyst value.",
|
|
819
|
+
origin: "spark-docs",
|
|
820
|
+
},
|
|
821
|
+
from_csv: {
|
|
822
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/from_csv",
|
|
823
|
+
description: "Returns a struct value with the given csvStr and schema.",
|
|
824
|
+
origin: "spark-docs",
|
|
825
|
+
},
|
|
826
|
+
from_json: {
|
|
827
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/from_json",
|
|
828
|
+
description: "Returns a struct value with the given jsonStr and schema.",
|
|
829
|
+
origin: "spark-docs",
|
|
830
|
+
},
|
|
831
|
+
from_unixtime: {
|
|
832
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/from_unixtime",
|
|
833
|
+
description: "Returns unix_time in the specified fmt.",
|
|
834
|
+
origin: "spark-docs",
|
|
835
|
+
},
|
|
836
|
+
from_utc_timestamp: {
|
|
837
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/from_utc_timestamp",
|
|
838
|
+
description: "Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in UTC, and renders that time as a timestamp in the given time zone.",
|
|
839
|
+
origin: "spark-docs",
|
|
840
|
+
},
|
|
841
|
+
from_xml: {
|
|
842
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/from_xml",
|
|
843
|
+
description: "Returns a struct value with the given xmlStr and schema.",
|
|
844
|
+
origin: "spark-docs",
|
|
845
|
+
},
|
|
846
|
+
get: {
|
|
847
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/get",
|
|
848
|
+
description: "Returns element of array at given (0-based) index.",
|
|
849
|
+
origin: "spark-docs",
|
|
850
|
+
},
|
|
851
|
+
get_json_object: {
|
|
852
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/get_json_object",
|
|
853
|
+
description: "Extracts a json object from path.",
|
|
854
|
+
origin: "spark-docs",
|
|
855
|
+
},
|
|
856
|
+
getdate: {
|
|
857
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/getdate",
|
|
858
|
+
description: "Returns the current date and time as a timestamp.",
|
|
859
|
+
origin: "authored",
|
|
860
|
+
},
|
|
861
|
+
greatest: {
|
|
862
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/greatest",
|
|
863
|
+
description: "Returns the greatest value of all parameters, skipping null values.",
|
|
864
|
+
origin: "spark-docs",
|
|
865
|
+
},
|
|
866
|
+
grouping: {
|
|
867
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/grouping",
|
|
868
|
+
description: 'indicates whether a specified column in a GROUP BY is aggregated or not, returns 1 for aggregated or 0 for not aggregated in the result set.",',
|
|
869
|
+
origin: "spark-docs",
|
|
870
|
+
},
|
|
871
|
+
h3_boundaryasgeojson: {
|
|
872
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_boundaryasgeojson",
|
|
873
|
+
description: "Returns the boundary of an H3 hexagon cell as a GeoJSON polygon.",
|
|
874
|
+
origin: "authored",
|
|
875
|
+
},
|
|
876
|
+
h3_boundaryaswkb: {
|
|
877
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_boundaryaswkb",
|
|
878
|
+
description: "Returns the boundary of an H3 hexagon cell in WKB (well-known binary) format.",
|
|
879
|
+
origin: "authored",
|
|
880
|
+
},
|
|
881
|
+
h3_boundaryaswkt: {
|
|
882
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_boundaryaswkt",
|
|
883
|
+
description: "Returns the boundary of an H3 hexagon cell as WKT (well-known text) geometry.",
|
|
884
|
+
origin: "authored",
|
|
885
|
+
},
|
|
886
|
+
h3_centerasgeojson: {
|
|
887
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_centerasgeojson",
|
|
888
|
+
description: "Returns the center point of an H3 hexagon cell as a GeoJSON point.",
|
|
889
|
+
origin: "authored",
|
|
890
|
+
},
|
|
891
|
+
h3_centeraswkb: {
|
|
892
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_centeraswkb",
|
|
893
|
+
description: "Returns the center point of an H3 hexagon cell in WKB (well-known binary) format.",
|
|
894
|
+
origin: "authored",
|
|
895
|
+
},
|
|
896
|
+
h3_centeraswkt: {
|
|
897
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_centeraswkt",
|
|
898
|
+
description: "Returns the center point of an H3 hexagon cell as WKT (well-known text) geometry.",
|
|
899
|
+
origin: "authored",
|
|
900
|
+
},
|
|
901
|
+
h3_compact: {
|
|
902
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_compact",
|
|
903
|
+
description: "Compresses a set of H3 cells to their minimal representation, combining contained cells.",
|
|
904
|
+
origin: "authored",
|
|
905
|
+
},
|
|
906
|
+
h3_coverash3: {
|
|
907
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_coverash3",
|
|
908
|
+
description: "Returns H3 hexagon cells that cover a given geographic area at the specified resolution.",
|
|
909
|
+
origin: "authored",
|
|
910
|
+
},
|
|
911
|
+
h3_distance: {
|
|
912
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_distance",
|
|
913
|
+
description: "Calculates the distance in hexagon steps between two H3 cells.",
|
|
914
|
+
origin: "authored",
|
|
915
|
+
},
|
|
916
|
+
h3_h3tostring: {
|
|
917
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_h3tostring",
|
|
918
|
+
description: "Converts an H3 cell ID from numeric representation to hexadecimal string format.",
|
|
919
|
+
origin: "authored",
|
|
920
|
+
},
|
|
921
|
+
h3_hexring: {
|
|
922
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_hexring",
|
|
923
|
+
description: "Returns the hexagon ring located k steps away from a given H3 cell.",
|
|
924
|
+
origin: "authored",
|
|
925
|
+
},
|
|
926
|
+
h3_ischildof: {
|
|
927
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_ischildof",
|
|
928
|
+
description: "Tests whether the first H3 cell is a child of (contained within) the second cell.",
|
|
929
|
+
origin: "authored",
|
|
930
|
+
},
|
|
931
|
+
h3_ispentagon: {
|
|
932
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_ispentagon",
|
|
933
|
+
origin: "vendor-docs",
|
|
934
|
+
},
|
|
935
|
+
h3_isvalid: {
|
|
936
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_isvalid",
|
|
937
|
+
origin: "vendor-docs",
|
|
938
|
+
},
|
|
939
|
+
h3_kring: {
|
|
940
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_kring",
|
|
941
|
+
origin: "vendor-docs",
|
|
942
|
+
},
|
|
943
|
+
h3_kringdistances: {
|
|
944
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_kringdistances",
|
|
945
|
+
origin: "vendor-docs",
|
|
946
|
+
},
|
|
947
|
+
h3_longlatash3: {
|
|
948
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_longlatash3",
|
|
949
|
+
origin: "vendor-docs",
|
|
950
|
+
},
|
|
951
|
+
h3_longlatash3string: {
|
|
952
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_longlatash3string",
|
|
953
|
+
origin: "vendor-docs",
|
|
954
|
+
},
|
|
955
|
+
h3_maxchild: {
|
|
956
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_maxchild",
|
|
957
|
+
origin: "vendor-docs",
|
|
958
|
+
},
|
|
959
|
+
h3_minchild: {
|
|
960
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_minchild",
|
|
961
|
+
origin: "vendor-docs",
|
|
962
|
+
},
|
|
963
|
+
h3_pointash3: {
|
|
964
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_pointash3",
|
|
965
|
+
origin: "vendor-docs",
|
|
966
|
+
},
|
|
967
|
+
h3_pointash3string: {
|
|
968
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_pointash3string",
|
|
969
|
+
origin: "vendor-docs",
|
|
970
|
+
},
|
|
971
|
+
h3_polyfillash3: {
|
|
972
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_polyfillash3",
|
|
973
|
+
origin: "vendor-docs",
|
|
974
|
+
},
|
|
975
|
+
h3_polyfillash3string: {
|
|
976
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_polyfillash3string",
|
|
977
|
+
origin: "vendor-docs",
|
|
978
|
+
},
|
|
979
|
+
h3_resolution: {
|
|
980
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_resolution",
|
|
981
|
+
origin: "vendor-docs",
|
|
982
|
+
},
|
|
983
|
+
h3_stringtoh3: {
|
|
984
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_stringtoh3",
|
|
985
|
+
origin: "vendor-docs",
|
|
986
|
+
},
|
|
987
|
+
h3_tessellateaswkb: {
|
|
988
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_tessellateaswkb",
|
|
989
|
+
origin: "vendor-docs",
|
|
990
|
+
},
|
|
991
|
+
h3_tochildren: {
|
|
992
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_tochildren",
|
|
993
|
+
origin: "vendor-docs",
|
|
994
|
+
},
|
|
995
|
+
h3_toparent: {
|
|
996
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_toparent",
|
|
997
|
+
origin: "vendor-docs",
|
|
998
|
+
},
|
|
999
|
+
h3_try_coverash3: {
|
|
1000
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_coverash3",
|
|
1001
|
+
origin: "vendor-docs",
|
|
1002
|
+
},
|
|
1003
|
+
h3_try_coverash3string: {
|
|
1004
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_coverash3string",
|
|
1005
|
+
origin: "vendor-docs",
|
|
1006
|
+
},
|
|
1007
|
+
h3_try_distance: {
|
|
1008
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_distance",
|
|
1009
|
+
origin: "vendor-docs",
|
|
1010
|
+
},
|
|
1011
|
+
h3_try_polyfillash3: {
|
|
1012
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_polyfillash3",
|
|
1013
|
+
origin: "vendor-docs",
|
|
1014
|
+
},
|
|
1015
|
+
h3_try_polyfillash3string: {
|
|
1016
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_polyfillash3string",
|
|
1017
|
+
origin: "vendor-docs",
|
|
1018
|
+
},
|
|
1019
|
+
h3_try_tessellateaswkb: {
|
|
1020
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_tessellateaswkb",
|
|
1021
|
+
origin: "vendor-docs",
|
|
1022
|
+
},
|
|
1023
|
+
h3_try_validate: {
|
|
1024
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_try_validate",
|
|
1025
|
+
origin: "vendor-docs",
|
|
1026
|
+
},
|
|
1027
|
+
h3_uncompact: {
|
|
1028
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_uncompact",
|
|
1029
|
+
origin: "vendor-docs",
|
|
1030
|
+
},
|
|
1031
|
+
h3_validate: {
|
|
1032
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/h3_validate",
|
|
1033
|
+
origin: "vendor-docs",
|
|
1034
|
+
},
|
|
1035
|
+
hash: {
|
|
1036
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hash",
|
|
1037
|
+
description: "Returns a hash value of the arguments.",
|
|
1038
|
+
origin: "spark-docs",
|
|
1039
|
+
},
|
|
1040
|
+
hex: {
|
|
1041
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hex",
|
|
1042
|
+
description: "Converts expr to hexadecimal.",
|
|
1043
|
+
origin: "spark-docs",
|
|
1044
|
+
},
|
|
1045
|
+
histogram_numeric: {
|
|
1046
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/histogram_numeric",
|
|
1047
|
+
description: "Computes a histogram on numeric 'expr' using nb bins.",
|
|
1048
|
+
origin: "spark-docs",
|
|
1049
|
+
},
|
|
1050
|
+
hll_sketch_agg: {
|
|
1051
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hll_sketch_agg",
|
|
1052
|
+
description: "Returns the HllSketch's updatable binary representation.",
|
|
1053
|
+
origin: "spark-docs",
|
|
1054
|
+
},
|
|
1055
|
+
hll_sketch_estimate: {
|
|
1056
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hll_sketch_estimate",
|
|
1057
|
+
description: "Returns the estimated number of unique values given the binary representation of a Datasketches HllSketch.",
|
|
1058
|
+
origin: "spark-docs",
|
|
1059
|
+
},
|
|
1060
|
+
hll_union: {
|
|
1061
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hll_union",
|
|
1062
|
+
description: "Merges two binary representations of Datasketches HllSketch objects, using a Datasketches Union object.",
|
|
1063
|
+
origin: "spark-docs",
|
|
1064
|
+
},
|
|
1065
|
+
hll_union_agg: {
|
|
1066
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hll_union_agg",
|
|
1067
|
+
description: "Returns the estimated number of unique values.",
|
|
1068
|
+
origin: "spark-docs",
|
|
1069
|
+
},
|
|
1070
|
+
hour: {
|
|
1071
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hour",
|
|
1072
|
+
description: "Returns the hour component of the string/timestamp.",
|
|
1073
|
+
origin: "spark-docs",
|
|
1074
|
+
},
|
|
1075
|
+
hypot: {
|
|
1076
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/hypot",
|
|
1077
|
+
description: "Returns sqrt( expr1 ² + expr2 ²).",
|
|
1078
|
+
origin: "spark-docs",
|
|
1079
|
+
},
|
|
1080
|
+
if: {
|
|
1081
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/if",
|
|
1082
|
+
description: "If expr1 evaluates to true, then returns expr2; otherwise returns expr3.",
|
|
1083
|
+
origin: "spark-docs",
|
|
1084
|
+
},
|
|
1085
|
+
iff: { docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/iff", origin: "vendor-docs" },
|
|
1086
|
+
ifnull: {
|
|
1087
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ifnull",
|
|
1088
|
+
description: "Returns expr2 if expr1 is null, or expr1 otherwise.",
|
|
1089
|
+
origin: "spark-docs",
|
|
1090
|
+
},
|
|
1091
|
+
initcap: {
|
|
1092
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/initcap",
|
|
1093
|
+
description: "Returns str with the first letter of each word in uppercase.",
|
|
1094
|
+
origin: "spark-docs",
|
|
1095
|
+
},
|
|
1096
|
+
inline: {
|
|
1097
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/inline",
|
|
1098
|
+
description: "Explodes an array of structs into a table.",
|
|
1099
|
+
origin: "spark-docs",
|
|
1100
|
+
},
|
|
1101
|
+
inline_outer: {
|
|
1102
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/inline_outer",
|
|
1103
|
+
description: "Explodes an array of structs into a table.",
|
|
1104
|
+
origin: "spark-docs",
|
|
1105
|
+
},
|
|
1106
|
+
input_file_block_length: {
|
|
1107
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/input_file_block_length",
|
|
1108
|
+
description: "Returns the length of the block being read, or -1 if not available.",
|
|
1109
|
+
origin: "spark-docs",
|
|
1110
|
+
},
|
|
1111
|
+
input_file_block_start: {
|
|
1112
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/input_file_block_start",
|
|
1113
|
+
description: "Returns the start offset of the block being read, or -1 if not available.",
|
|
1114
|
+
origin: "spark-docs",
|
|
1115
|
+
},
|
|
1116
|
+
input_file_name: {
|
|
1117
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/input_file_name",
|
|
1118
|
+
description: "Returns the name of the file being read, or empty string if not available.",
|
|
1119
|
+
origin: "spark-docs",
|
|
1120
|
+
},
|
|
1121
|
+
instr: {
|
|
1122
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/instr",
|
|
1123
|
+
description: "Returns the (1-based) index of the first occurrence of substr in str.",
|
|
1124
|
+
origin: "spark-docs",
|
|
1125
|
+
},
|
|
1126
|
+
int: {
|
|
1127
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/int",
|
|
1128
|
+
description: "Casts the value expr to the target data type int.",
|
|
1129
|
+
origin: "spark-docs",
|
|
1130
|
+
},
|
|
1131
|
+
ip_as_binary: {
|
|
1132
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_as_binary",
|
|
1133
|
+
description: "Converts an IP address or CIDR notation to binary form.",
|
|
1134
|
+
origin: "authored",
|
|
1135
|
+
},
|
|
1136
|
+
ip_as_string: {
|
|
1137
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_as_string",
|
|
1138
|
+
description: "Converts an IP address or CIDR notation to string representation.",
|
|
1139
|
+
origin: "authored",
|
|
1140
|
+
},
|
|
1141
|
+
ip_cidr: {
|
|
1142
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_cidr",
|
|
1143
|
+
origin: "vendor-docs",
|
|
1144
|
+
},
|
|
1145
|
+
ip_cidr_contains: {
|
|
1146
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_cidr_contains",
|
|
1147
|
+
description: "Returns true if a CIDR range contains a given IP address or another CIDR.",
|
|
1148
|
+
origin: "authored",
|
|
1149
|
+
},
|
|
1150
|
+
ip_host: {
|
|
1151
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_host",
|
|
1152
|
+
origin: "vendor-docs",
|
|
1153
|
+
},
|
|
1154
|
+
ip_network: {
|
|
1155
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_network",
|
|
1156
|
+
origin: "vendor-docs",
|
|
1157
|
+
},
|
|
1158
|
+
ip_network_first: {
|
|
1159
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_network_first",
|
|
1160
|
+
description: "Returns the first IP address in a network range.",
|
|
1161
|
+
origin: "authored",
|
|
1162
|
+
},
|
|
1163
|
+
ip_network_last: {
|
|
1164
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_network_last",
|
|
1165
|
+
description: "Returns the last IP address in a network range.",
|
|
1166
|
+
origin: "authored",
|
|
1167
|
+
},
|
|
1168
|
+
ip_prefix_length: {
|
|
1169
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_prefix_length",
|
|
1170
|
+
origin: "vendor-docs",
|
|
1171
|
+
},
|
|
1172
|
+
ip_version: {
|
|
1173
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ip_version",
|
|
1174
|
+
description: "Returns the IP version (4 or 6) of an IP address or CIDR.",
|
|
1175
|
+
origin: "authored",
|
|
1176
|
+
},
|
|
1177
|
+
is_account_group_member: {
|
|
1178
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/is_account_group_member",
|
|
1179
|
+
origin: "vendor-docs",
|
|
1180
|
+
},
|
|
1181
|
+
is_member: {
|
|
1182
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/is_member",
|
|
1183
|
+
origin: "vendor-docs",
|
|
1184
|
+
},
|
|
1185
|
+
is_valid_utf8: {
|
|
1186
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/is_valid_utf8",
|
|
1187
|
+
description: "Returns true if str is a valid UTF-8 string, otherwise returns false.",
|
|
1188
|
+
origin: "spark-docs",
|
|
1189
|
+
},
|
|
1190
|
+
is_variant_null: {
|
|
1191
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/is_variant_null",
|
|
1192
|
+
description: "Check if a variant value is a variant null.",
|
|
1193
|
+
origin: "spark-docs",
|
|
1194
|
+
},
|
|
1195
|
+
isnan: {
|
|
1196
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/isnan",
|
|
1197
|
+
description: "Returns true if expr is NaN, or false otherwise.",
|
|
1198
|
+
origin: "spark-docs",
|
|
1199
|
+
},
|
|
1200
|
+
isnotnull: {
|
|
1201
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/isnotnull",
|
|
1202
|
+
description: "Returns true if expr is not null, or false otherwise.",
|
|
1203
|
+
origin: "spark-docs",
|
|
1204
|
+
},
|
|
1205
|
+
isnull: {
|
|
1206
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/isnull",
|
|
1207
|
+
description: "Returns true if expr is null, or false otherwise.",
|
|
1208
|
+
origin: "spark-docs",
|
|
1209
|
+
},
|
|
1210
|
+
java_method: {
|
|
1211
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/java_method",
|
|
1212
|
+
description: "Calls a method with reflection.",
|
|
1213
|
+
origin: "spark-docs",
|
|
1214
|
+
},
|
|
1215
|
+
json_array_length: {
|
|
1216
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/json_array_length",
|
|
1217
|
+
description: "Returns the number of elements in the outermost JSON array.",
|
|
1218
|
+
origin: "spark-docs",
|
|
1219
|
+
},
|
|
1220
|
+
json_object_keys: {
|
|
1221
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/json_object_keys",
|
|
1222
|
+
description: "Returns all the keys of the outermost JSON object as an array.",
|
|
1223
|
+
origin: "spark-docs",
|
|
1224
|
+
},
|
|
1225
|
+
json_tuple: {
|
|
1226
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/json_tuple",
|
|
1227
|
+
description: "Returns a tuple like the function get_json_object, but it takes multiple names.",
|
|
1228
|
+
origin: "spark-docs",
|
|
1229
|
+
},
|
|
1230
|
+
kll_merge_agg_bigint: {
|
|
1231
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_merge_agg_bigint",
|
|
1232
|
+
origin: "vendor-docs",
|
|
1233
|
+
},
|
|
1234
|
+
kll_merge_agg_double: {
|
|
1235
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_merge_agg_double",
|
|
1236
|
+
origin: "vendor-docs",
|
|
1237
|
+
},
|
|
1238
|
+
kll_merge_agg_float: {
|
|
1239
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_merge_agg_float",
|
|
1240
|
+
description: "Aggregates KLL float sketches by merging them incrementally to estimate quantiles across a dataset.",
|
|
1241
|
+
origin: "authored",
|
|
1242
|
+
},
|
|
1243
|
+
kll_sketch_agg_bigint: {
|
|
1244
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_agg_bigint",
|
|
1245
|
+
description: "Builds a KLL sketch from bigint values to enable approximate quantile queries on large datasets.",
|
|
1246
|
+
origin: "authored",
|
|
1247
|
+
},
|
|
1248
|
+
kll_sketch_agg_double: {
|
|
1249
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_agg_double",
|
|
1250
|
+
description: "Builds a KLL sketch from double values to enable approximate quantile queries on large datasets.",
|
|
1251
|
+
origin: "authored",
|
|
1252
|
+
},
|
|
1253
|
+
kll_sketch_agg_float: {
|
|
1254
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_agg_float",
|
|
1255
|
+
description: "Builds a KLL sketch from float values to enable approximate quantile queries on large datasets.",
|
|
1256
|
+
origin: "authored",
|
|
1257
|
+
},
|
|
1258
|
+
kll_sketch_get_n_bigint: {
|
|
1259
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_n_bigint",
|
|
1260
|
+
description: "Returns the count of items that were added to the bigint KLL sketch.",
|
|
1261
|
+
origin: "authored",
|
|
1262
|
+
},
|
|
1263
|
+
kll_sketch_get_n_double: {
|
|
1264
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_n_double",
|
|
1265
|
+
description: "Returns the count of items that were added to the double KLL sketch.",
|
|
1266
|
+
origin: "authored",
|
|
1267
|
+
},
|
|
1268
|
+
kll_sketch_get_n_float: {
|
|
1269
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_n_float",
|
|
1270
|
+
description: "Returns the count of items that were added to the float KLL sketch.",
|
|
1271
|
+
origin: "authored",
|
|
1272
|
+
},
|
|
1273
|
+
kll_sketch_get_quantile_bigint: {
|
|
1274
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_quantile_bigint",
|
|
1275
|
+
description: "Returns an approximate quantile value at the given rank from a bigint KLL sketch.",
|
|
1276
|
+
origin: "authored",
|
|
1277
|
+
},
|
|
1278
|
+
kll_sketch_get_quantile_double: {
|
|
1279
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_quantile_double",
|
|
1280
|
+
description: "Returns an approximate quantile value at the given rank from a double KLL sketch.",
|
|
1281
|
+
origin: "authored",
|
|
1282
|
+
},
|
|
1283
|
+
kll_sketch_get_quantile_float: {
|
|
1284
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_quantile_float",
|
|
1285
|
+
description: "Returns an approximate quantile value at the given rank from a float KLL sketch.",
|
|
1286
|
+
origin: "authored",
|
|
1287
|
+
},
|
|
1288
|
+
kll_sketch_get_rank_bigint: {
|
|
1289
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_rank_bigint",
|
|
1290
|
+
origin: "vendor-docs",
|
|
1291
|
+
},
|
|
1292
|
+
kll_sketch_get_rank_double: {
|
|
1293
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_rank_double",
|
|
1294
|
+
origin: "vendor-docs",
|
|
1295
|
+
},
|
|
1296
|
+
kll_sketch_get_rank_float: {
|
|
1297
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_get_rank_float",
|
|
1298
|
+
origin: "vendor-docs",
|
|
1299
|
+
},
|
|
1300
|
+
kll_sketch_merge_bigint: {
|
|
1301
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_merge_bigint",
|
|
1302
|
+
description: "Merges two bigint KLL sketches into a single sketch representing both datasets.",
|
|
1303
|
+
origin: "authored",
|
|
1304
|
+
},
|
|
1305
|
+
kll_sketch_merge_double: {
|
|
1306
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_merge_double",
|
|
1307
|
+
description: "Merges two double KLL sketches into a single sketch representing both datasets.",
|
|
1308
|
+
origin: "authored",
|
|
1309
|
+
},
|
|
1310
|
+
kll_sketch_merge_float: {
|
|
1311
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_merge_float",
|
|
1312
|
+
description: "Merges two float KLL sketches into a single sketch representing both datasets.",
|
|
1313
|
+
origin: "authored",
|
|
1314
|
+
},
|
|
1315
|
+
kll_sketch_to_string_bigint: {
|
|
1316
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_to_string_bigint",
|
|
1317
|
+
origin: "vendor-docs",
|
|
1318
|
+
},
|
|
1319
|
+
kll_sketch_to_string_double: {
|
|
1320
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_to_string_double",
|
|
1321
|
+
origin: "vendor-docs",
|
|
1322
|
+
},
|
|
1323
|
+
kll_sketch_to_string_float: {
|
|
1324
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kll_sketch_to_string_float",
|
|
1325
|
+
origin: "vendor-docs",
|
|
1326
|
+
},
|
|
1327
|
+
kurtosis: {
|
|
1328
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/kurtosis",
|
|
1329
|
+
description: "Returns the kurtosis value calculated from values of a group.",
|
|
1330
|
+
origin: "spark-docs",
|
|
1331
|
+
},
|
|
1332
|
+
lag: {
|
|
1333
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/lag",
|
|
1334
|
+
description: "Returns the value of input at the offset th row before the current row in the window.",
|
|
1335
|
+
origin: "spark-docs",
|
|
1336
|
+
},
|
|
1337
|
+
last: {
|
|
1338
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/last",
|
|
1339
|
+
description: "Returns the last value of expr for a group of rows.",
|
|
1340
|
+
origin: "spark-docs",
|
|
1341
|
+
},
|
|
1342
|
+
last_day: {
|
|
1343
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/last_day",
|
|
1344
|
+
description: "Returns the last day of the month which the date belongs to.",
|
|
1345
|
+
origin: "spark-docs",
|
|
1346
|
+
},
|
|
1347
|
+
last_value: {
|
|
1348
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/last_value",
|
|
1349
|
+
description: "Returns the last value of expr for a group of rows.",
|
|
1350
|
+
origin: "spark-docs",
|
|
1351
|
+
},
|
|
1352
|
+
lcase: {
|
|
1353
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/lcase",
|
|
1354
|
+
description: "Returns str with all characters changed to lowercase.",
|
|
1355
|
+
origin: "spark-docs",
|
|
1356
|
+
},
|
|
1357
|
+
lead: {
|
|
1358
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/lead",
|
|
1359
|
+
description: "Returns the value of input at the offset th row after the current row in the window.",
|
|
1360
|
+
origin: "spark-docs",
|
|
1361
|
+
},
|
|
1362
|
+
least: {
|
|
1363
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/least",
|
|
1364
|
+
description: "Returns the least value of all parameters, skipping null values.",
|
|
1365
|
+
origin: "spark-docs",
|
|
1366
|
+
},
|
|
1367
|
+
left: {
|
|
1368
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/left",
|
|
1369
|
+
description: "Returns the leftmost len ( len can be string type) characters from the string str,if len is less or equal than 0 the result is an empty string.",
|
|
1370
|
+
origin: "spark-docs",
|
|
1371
|
+
},
|
|
1372
|
+
len: {
|
|
1373
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/len",
|
|
1374
|
+
description: "Returns the character length of string data or number of bytes of binary data.",
|
|
1375
|
+
origin: "spark-docs",
|
|
1376
|
+
},
|
|
1377
|
+
length: {
|
|
1378
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/length",
|
|
1379
|
+
description: "Returns the character length of string data or number of bytes of binary data.",
|
|
1380
|
+
origin: "spark-docs",
|
|
1381
|
+
},
|
|
1382
|
+
levenshtein: {
|
|
1383
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/levenshtein",
|
|
1384
|
+
description: "Returns the Levenshtein distance between the two given strings.",
|
|
1385
|
+
origin: "spark-docs",
|
|
1386
|
+
},
|
|
1387
|
+
list_secrets: {
|
|
1388
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/list_secrets",
|
|
1389
|
+
origin: "vendor-docs",
|
|
1390
|
+
},
|
|
1391
|
+
listagg: {
|
|
1392
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/listagg",
|
|
1393
|
+
description: "Returns the concatenation of non-NULL input values, separated by the delimiter ordered by key.",
|
|
1394
|
+
origin: "spark-docs",
|
|
1395
|
+
},
|
|
1396
|
+
ln: {
|
|
1397
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ln",
|
|
1398
|
+
description: "Returns the natural logarithm (base e) of expr.",
|
|
1399
|
+
origin: "spark-docs",
|
|
1400
|
+
},
|
|
1401
|
+
locate: {
|
|
1402
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/locate",
|
|
1403
|
+
description: "Returns the position of the first occurrence of substr in str after position pos.",
|
|
1404
|
+
origin: "spark-docs",
|
|
1405
|
+
},
|
|
1406
|
+
log10: {
|
|
1407
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/log10",
|
|
1408
|
+
description: "Returns the logarithm of expr with base 10.",
|
|
1409
|
+
origin: "spark-docs",
|
|
1410
|
+
},
|
|
1411
|
+
log1p: {
|
|
1412
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/log1p",
|
|
1413
|
+
description: "Returns log(1 + expr).",
|
|
1414
|
+
origin: "spark-docs",
|
|
1415
|
+
},
|
|
1416
|
+
log2: {
|
|
1417
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/log2",
|
|
1418
|
+
description: "Returns the logarithm of expr with base 2.",
|
|
1419
|
+
origin: "spark-docs",
|
|
1420
|
+
},
|
|
1421
|
+
lower: {
|
|
1422
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/lower",
|
|
1423
|
+
description: "Returns str with all characters changed to lowercase.",
|
|
1424
|
+
origin: "spark-docs",
|
|
1425
|
+
},
|
|
1426
|
+
lpad: {
|
|
1427
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/lpad",
|
|
1428
|
+
description: "Returns str, left-padded with pad to a length of len.",
|
|
1429
|
+
origin: "spark-docs",
|
|
1430
|
+
},
|
|
1431
|
+
luhn_check: {
|
|
1432
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/luhn_check",
|
|
1433
|
+
description: "Checks that a string of digits is valid according to the Luhn algorithm.",
|
|
1434
|
+
origin: "spark-docs",
|
|
1435
|
+
},
|
|
1436
|
+
make_date: {
|
|
1437
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/make_date",
|
|
1438
|
+
description: "Create date from year, month and day fields.",
|
|
1439
|
+
origin: "spark-docs",
|
|
1440
|
+
},
|
|
1441
|
+
make_time: {
|
|
1442
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/make_time",
|
|
1443
|
+
description: "Constructs a time value from hour, minute, and second components.",
|
|
1444
|
+
origin: "authored",
|
|
1445
|
+
},
|
|
1446
|
+
make_timestamp: {
|
|
1447
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/make_timestamp",
|
|
1448
|
+
description: "Create timestamp from year, month, day, hour, min, sec and timezone fields.",
|
|
1449
|
+
origin: "spark-docs",
|
|
1450
|
+
},
|
|
1451
|
+
make_valid_utf8: {
|
|
1452
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/make_valid_utf8",
|
|
1453
|
+
description: "Returns the original string if str is a valid UTF-8 string, otherwise returns a new string whose invalid UTF8 byte sequences are replaced using the UNICODE replacement character U+FFFD.",
|
|
1454
|
+
origin: "spark-docs",
|
|
1455
|
+
},
|
|
1456
|
+
map_contains_key: {
|
|
1457
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_contains_key",
|
|
1458
|
+
description: "Returns true if the map contains the key.",
|
|
1459
|
+
origin: "spark-docs",
|
|
1460
|
+
},
|
|
1461
|
+
map_entries: {
|
|
1462
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_entries",
|
|
1463
|
+
description: "Returns an unordered array of all entries in the given map.",
|
|
1464
|
+
origin: "spark-docs",
|
|
1465
|
+
},
|
|
1466
|
+
map_filter: {
|
|
1467
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_filter",
|
|
1468
|
+
description: "Filters entries in a map using the function.",
|
|
1469
|
+
origin: "spark-docs",
|
|
1470
|
+
},
|
|
1471
|
+
map_from_arrays: {
|
|
1472
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_from_arrays",
|
|
1473
|
+
description: "Creates a map with a pair of the given key/value arrays.",
|
|
1474
|
+
origin: "spark-docs",
|
|
1475
|
+
},
|
|
1476
|
+
map_from_entries: {
|
|
1477
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_from_entries",
|
|
1478
|
+
description: "Returns a map created from the given array of entries.",
|
|
1479
|
+
origin: "spark-docs",
|
|
1480
|
+
},
|
|
1481
|
+
map_keys: {
|
|
1482
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_keys",
|
|
1483
|
+
description: "Returns an unordered array containing the keys of the map.",
|
|
1484
|
+
origin: "spark-docs",
|
|
1485
|
+
},
|
|
1486
|
+
map_values: {
|
|
1487
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_values",
|
|
1488
|
+
description: "Returns an unordered array containing the values of the map.",
|
|
1489
|
+
origin: "spark-docs",
|
|
1490
|
+
},
|
|
1491
|
+
map_zip_with: {
|
|
1492
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/map_zip_with",
|
|
1493
|
+
description: "Merges two given maps into a single map by applying function to the pair of values with the same key.",
|
|
1494
|
+
origin: "spark-docs",
|
|
1495
|
+
},
|
|
1496
|
+
mask: {
|
|
1497
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/mask",
|
|
1498
|
+
description: "masks the given string value.",
|
|
1499
|
+
origin: "spark-docs",
|
|
1500
|
+
},
|
|
1501
|
+
match_number: {
|
|
1502
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/match_number",
|
|
1503
|
+
description: "Returns the ordinal position of the current match within a MATCH_RECOGNIZE clause.",
|
|
1504
|
+
origin: "authored",
|
|
1505
|
+
},
|
|
1506
|
+
max: {
|
|
1507
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/max",
|
|
1508
|
+
description: "Returns the maximum value of expr.",
|
|
1509
|
+
origin: "spark-docs",
|
|
1510
|
+
},
|
|
1511
|
+
max_by: {
|
|
1512
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/max_by",
|
|
1513
|
+
description: "Returns the value of x associated with the maximum value of y.",
|
|
1514
|
+
origin: "spark-docs",
|
|
1515
|
+
},
|
|
1516
|
+
md5: {
|
|
1517
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/md5",
|
|
1518
|
+
description: "Returns an MD5 128-bit checksum as a hex string of expr.",
|
|
1519
|
+
origin: "spark-docs",
|
|
1520
|
+
},
|
|
1521
|
+
mean: {
|
|
1522
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/mean",
|
|
1523
|
+
description: "Returns the mean calculated from values of a group.",
|
|
1524
|
+
origin: "spark-docs",
|
|
1525
|
+
},
|
|
1526
|
+
measure: {
|
|
1527
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/measure",
|
|
1528
|
+
description: "Evaluates a measure defined in a semantic model and returns its computed value.",
|
|
1529
|
+
origin: "authored",
|
|
1530
|
+
},
|
|
1531
|
+
median: {
|
|
1532
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/median",
|
|
1533
|
+
description: "Returns the median of numeric or ANSI interval column col.",
|
|
1534
|
+
origin: "spark-docs",
|
|
1535
|
+
},
|
|
1536
|
+
min: {
|
|
1537
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/min",
|
|
1538
|
+
description: "Returns the minimum value of expr.",
|
|
1539
|
+
origin: "spark-docs",
|
|
1540
|
+
},
|
|
1541
|
+
min_by: {
|
|
1542
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/min_by",
|
|
1543
|
+
description: "Returns the value of x associated with the minimum value of y.",
|
|
1544
|
+
origin: "spark-docs",
|
|
1545
|
+
},
|
|
1546
|
+
minute: {
|
|
1547
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/minute",
|
|
1548
|
+
description: "Returns the minute component of the string/timestamp.",
|
|
1549
|
+
origin: "spark-docs",
|
|
1550
|
+
},
|
|
1551
|
+
mod: {
|
|
1552
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/mod",
|
|
1553
|
+
description: "Returns the remainder after expr1 / expr2.",
|
|
1554
|
+
origin: "spark-docs",
|
|
1555
|
+
},
|
|
1556
|
+
mode: {
|
|
1557
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/mode",
|
|
1558
|
+
description: "Returns the most frequent value for the values within col.",
|
|
1559
|
+
origin: "spark-docs",
|
|
1560
|
+
},
|
|
1561
|
+
monotonically_increasing_id: {
|
|
1562
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/monotonically_increasing_id",
|
|
1563
|
+
description: "Returns monotonically increasing 64-bit integers.",
|
|
1564
|
+
origin: "spark-docs",
|
|
1565
|
+
},
|
|
1566
|
+
month: {
|
|
1567
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/month",
|
|
1568
|
+
description: "Returns the month component of the date/timestamp.",
|
|
1569
|
+
origin: "spark-docs",
|
|
1570
|
+
},
|
|
1571
|
+
months_between: {
|
|
1572
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/months_between",
|
|
1573
|
+
description: "If timestamp1 is later than timestamp2, then the result is positive.",
|
|
1574
|
+
origin: "spark-docs",
|
|
1575
|
+
},
|
|
1576
|
+
nanvl: {
|
|
1577
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/nanvl",
|
|
1578
|
+
description: "Returns expr1 if it's not NaN, or expr2 otherwise.",
|
|
1579
|
+
origin: "spark-docs",
|
|
1580
|
+
},
|
|
1581
|
+
negative: {
|
|
1582
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/negative",
|
|
1583
|
+
description: "Returns the negated value of expr.",
|
|
1584
|
+
origin: "spark-docs",
|
|
1585
|
+
},
|
|
1586
|
+
next_day: {
|
|
1587
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/next_day",
|
|
1588
|
+
description: "Returns the first date which is later than start_date and named as indicated.",
|
|
1589
|
+
origin: "spark-docs",
|
|
1590
|
+
},
|
|
1591
|
+
now: {
|
|
1592
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/now",
|
|
1593
|
+
description: "Returns the current timestamp at the start of query evaluation.",
|
|
1594
|
+
origin: "spark-docs",
|
|
1595
|
+
},
|
|
1596
|
+
nth_value: {
|
|
1597
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/nth_value",
|
|
1598
|
+
description: "Returns the value of input at the row that is the offset th row from beginning of the window frame.",
|
|
1599
|
+
origin: "spark-docs",
|
|
1600
|
+
},
|
|
1601
|
+
ntile: {
|
|
1602
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ntile",
|
|
1603
|
+
description: "Divides the rows for each window partition into n buckets ranging from 1 to at most n.",
|
|
1604
|
+
origin: "spark-docs",
|
|
1605
|
+
},
|
|
1606
|
+
nullif: {
|
|
1607
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/nullif",
|
|
1608
|
+
description: "Returns null if expr1 equals to expr2, or expr1 otherwise.",
|
|
1609
|
+
origin: "spark-docs",
|
|
1610
|
+
},
|
|
1611
|
+
nullifzero: {
|
|
1612
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/nullifzero",
|
|
1613
|
+
description: "Returns null if expr is equal to zero, or expr otherwise.",
|
|
1614
|
+
origin: "spark-docs",
|
|
1615
|
+
},
|
|
1616
|
+
nvl: {
|
|
1617
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/nvl",
|
|
1618
|
+
description: "Returns expr2 if expr1 is null, or expr1 otherwise.",
|
|
1619
|
+
origin: "spark-docs",
|
|
1620
|
+
},
|
|
1621
|
+
nvl2: {
|
|
1622
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/nvl2",
|
|
1623
|
+
description: "Returns expr2 if expr1 is not null, or expr3 otherwise.",
|
|
1624
|
+
origin: "spark-docs",
|
|
1625
|
+
},
|
|
1626
|
+
octet_length: {
|
|
1627
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/octet_length",
|
|
1628
|
+
description: "Returns the byte length of string data or number of bytes of binary data.",
|
|
1629
|
+
origin: "spark-docs",
|
|
1630
|
+
},
|
|
1631
|
+
overlay: {
|
|
1632
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/overlay",
|
|
1633
|
+
description: "Replace input with replace that starts at pos and is of length len.",
|
|
1634
|
+
origin: "spark-docs",
|
|
1635
|
+
},
|
|
1636
|
+
parse_json: {
|
|
1637
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/parse_json",
|
|
1638
|
+
description: "Parse a JSON string as a Variant value.",
|
|
1639
|
+
origin: "spark-docs",
|
|
1640
|
+
},
|
|
1641
|
+
parse_url: {
|
|
1642
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/parse_url",
|
|
1643
|
+
description: "Extracts a part from a URL.",
|
|
1644
|
+
origin: "spark-docs",
|
|
1645
|
+
},
|
|
1646
|
+
percent_rank: {
|
|
1647
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/percent_rank",
|
|
1648
|
+
description: "Computes the percentage ranking of a value in a group of values.",
|
|
1649
|
+
origin: "spark-docs",
|
|
1650
|
+
},
|
|
1651
|
+
percentile: {
|
|
1652
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/percentile",
|
|
1653
|
+
description: "Returns the exact percentile value of numeric or ANSI interval column col at the given percentage.",
|
|
1654
|
+
origin: "spark-docs",
|
|
1655
|
+
},
|
|
1656
|
+
percentile_approx: {
|
|
1657
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/percentile_approx",
|
|
1658
|
+
description: "Returns the approximate percentile of the numeric or ansi interval column col which is the smallest value in the ordered col values (sorted from least to greatest) such that no more than percentage of col values is less than the value or equal to that value.",
|
|
1659
|
+
origin: "spark-docs",
|
|
1660
|
+
},
|
|
1661
|
+
percentile_cont: {
|
|
1662
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/percentile_cont",
|
|
1663
|
+
description: "Return a percentile value based on a continuous distribution of numeric or ANSI interval column col at the given percentage (specified in ORDER BY clause).",
|
|
1664
|
+
origin: "spark-docs",
|
|
1665
|
+
},
|
|
1666
|
+
percentile_disc: {
|
|
1667
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/percentile_disc",
|
|
1668
|
+
description: "Return a percentile value based on a discrete distribution of numeric or ANSI interval column col at the given percentage (specified in ORDER BY clause).",
|
|
1669
|
+
origin: "spark-docs",
|
|
1670
|
+
},
|
|
1671
|
+
pi: {
|
|
1672
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/pi",
|
|
1673
|
+
description: "Returns pi.",
|
|
1674
|
+
origin: "spark-docs",
|
|
1675
|
+
},
|
|
1676
|
+
pmod: {
|
|
1677
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/pmod",
|
|
1678
|
+
description: "Returns the positive value of expr1 mod expr2.",
|
|
1679
|
+
origin: "spark-docs",
|
|
1680
|
+
},
|
|
1681
|
+
posexplode: {
|
|
1682
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/posexplode",
|
|
1683
|
+
description: "Separates the elements of array expr into multiple rows with positions, or the elements of map expr into multiple rows and columns with positions.",
|
|
1684
|
+
origin: "spark-docs",
|
|
1685
|
+
},
|
|
1686
|
+
posexplode_outer: {
|
|
1687
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/posexplode_outer",
|
|
1688
|
+
description: "Separates the elements of array expr into multiple rows with positions, or the elements of map expr into multiple rows and columns with positions.",
|
|
1689
|
+
origin: "spark-docs",
|
|
1690
|
+
},
|
|
1691
|
+
position: {
|
|
1692
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/position",
|
|
1693
|
+
description: "Returns the position of the first occurrence of substr in str after position pos.",
|
|
1694
|
+
origin: "spark-docs",
|
|
1695
|
+
},
|
|
1696
|
+
positive: {
|
|
1697
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/positive",
|
|
1698
|
+
description: "Returns the value of expr.",
|
|
1699
|
+
origin: "spark-docs",
|
|
1700
|
+
},
|
|
1701
|
+
pow: {
|
|
1702
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/pow",
|
|
1703
|
+
description: "Raises expr1 to the power of expr2.",
|
|
1704
|
+
origin: "spark-docs",
|
|
1705
|
+
},
|
|
1706
|
+
power: {
|
|
1707
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/power",
|
|
1708
|
+
description: "Raises expr1 to the power of expr2.",
|
|
1709
|
+
origin: "spark-docs",
|
|
1710
|
+
},
|
|
1711
|
+
quarter: {
|
|
1712
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/quarter",
|
|
1713
|
+
description: "Returns the quarter of the year for date, in the range 1 to 4.",
|
|
1714
|
+
origin: "spark-docs",
|
|
1715
|
+
},
|
|
1716
|
+
radians: {
|
|
1717
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/radians",
|
|
1718
|
+
description: "Converts degrees to radians.",
|
|
1719
|
+
origin: "spark-docs",
|
|
1720
|
+
},
|
|
1721
|
+
raise_error: {
|
|
1722
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/raise_error",
|
|
1723
|
+
description: "Throws a USER_RAISED_EXCEPTION with expr as message.",
|
|
1724
|
+
origin: "spark-docs",
|
|
1725
|
+
},
|
|
1726
|
+
rand: {
|
|
1727
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/rand",
|
|
1728
|
+
description: "Returns a random value with independent and identically distributed (i.i.d.) uniformly distributed values in [0, 1).",
|
|
1729
|
+
origin: "spark-docs",
|
|
1730
|
+
},
|
|
1731
|
+
randn: {
|
|
1732
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/randn",
|
|
1733
|
+
description: "Returns a random value with independent and identically distributed (i.i.d.) values drawn from the standard normal distribution.",
|
|
1734
|
+
origin: "spark-docs",
|
|
1735
|
+
},
|
|
1736
|
+
random: {
|
|
1737
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/random",
|
|
1738
|
+
description: "Returns a random value with independent and identically distributed (i.i.d.) uniformly distributed values in [0, 1).",
|
|
1739
|
+
origin: "spark-docs",
|
|
1740
|
+
},
|
|
1741
|
+
randstr: {
|
|
1742
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/randstr",
|
|
1743
|
+
description: "Returns a string of the specified length whose characters are chosen uniformly at random from the following pool of characters: 0-9, a-z, A-Z.",
|
|
1744
|
+
origin: "spark-docs",
|
|
1745
|
+
},
|
|
1746
|
+
range: {
|
|
1747
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/range",
|
|
1748
|
+
description: "Returns a table of values within a specified range.",
|
|
1749
|
+
origin: "spark-docs",
|
|
1750
|
+
},
|
|
1751
|
+
rank: {
|
|
1752
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/rank",
|
|
1753
|
+
description: "Computes the rank of a value in a group of values.",
|
|
1754
|
+
origin: "spark-docs",
|
|
1755
|
+
},
|
|
1756
|
+
read_state_metadata: {
|
|
1757
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/read_state_metadata",
|
|
1758
|
+
origin: "vendor-docs",
|
|
1759
|
+
},
|
|
1760
|
+
reduce: {
|
|
1761
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/reduce",
|
|
1762
|
+
description: "Applies a binary operator to an initial state and all elements in the array, and reduces this to a single state.",
|
|
1763
|
+
origin: "spark-docs",
|
|
1764
|
+
},
|
|
1765
|
+
regexp_count: {
|
|
1766
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regexp_count",
|
|
1767
|
+
description: "Returns a count of the number of times that the regular expression pattern regexp is matched in the string str.",
|
|
1768
|
+
origin: "spark-docs",
|
|
1769
|
+
},
|
|
1770
|
+
regexp_extract: {
|
|
1771
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regexp_extract",
|
|
1772
|
+
description: "Extract the first string in the str that match the regexp expression and corresponding to the regex group index.",
|
|
1773
|
+
origin: "spark-docs",
|
|
1774
|
+
},
|
|
1775
|
+
regexp_extract_all: {
|
|
1776
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regexp_extract_all",
|
|
1777
|
+
description: "Extract all strings in the str that match the regexp expression and corresponding to the regex group index.",
|
|
1778
|
+
origin: "spark-docs",
|
|
1779
|
+
},
|
|
1780
|
+
regexp_instr: {
|
|
1781
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regexp_instr",
|
|
1782
|
+
description: "Searches a string for a regular expression and returns an integer that indicates the beginning position of the matched substring.",
|
|
1783
|
+
origin: "spark-docs",
|
|
1784
|
+
},
|
|
1785
|
+
regexp_replace: {
|
|
1786
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regexp_replace",
|
|
1787
|
+
description: "Replaces all substrings of str that match regexp with rep.",
|
|
1788
|
+
origin: "spark-docs",
|
|
1789
|
+
},
|
|
1790
|
+
regexp_substr: {
|
|
1791
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regexp_substr",
|
|
1792
|
+
description: "Returns the substring that matches the regular expression regexp within the string str.",
|
|
1793
|
+
origin: "spark-docs",
|
|
1794
|
+
},
|
|
1795
|
+
regr_avgx: {
|
|
1796
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_avgx",
|
|
1797
|
+
description: "Returns the average of the independent variable for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1798
|
+
origin: "spark-docs",
|
|
1799
|
+
},
|
|
1800
|
+
regr_avgy: {
|
|
1801
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_avgy",
|
|
1802
|
+
description: "Returns the average of the dependent variable for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1803
|
+
origin: "spark-docs",
|
|
1804
|
+
},
|
|
1805
|
+
regr_count: {
|
|
1806
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_count",
|
|
1807
|
+
description: "Returns the number of non-null number pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1808
|
+
origin: "spark-docs",
|
|
1809
|
+
},
|
|
1810
|
+
regr_intercept: {
|
|
1811
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_intercept",
|
|
1812
|
+
description: "Returns the intercept of the univariate linear regression line for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1813
|
+
origin: "spark-docs",
|
|
1814
|
+
},
|
|
1815
|
+
regr_r2: {
|
|
1816
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_r2",
|
|
1817
|
+
description: "Returns the coefficient of determination for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1818
|
+
origin: "spark-docs",
|
|
1819
|
+
},
|
|
1820
|
+
regr_slope: {
|
|
1821
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_slope",
|
|
1822
|
+
description: "Returns the slope of the linear regression line for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1823
|
+
origin: "spark-docs",
|
|
1824
|
+
},
|
|
1825
|
+
regr_sxx: {
|
|
1826
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_sxx",
|
|
1827
|
+
description: "Returns REGR_COUNT(y, x) * VAR_POP(x) for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1828
|
+
origin: "spark-docs",
|
|
1829
|
+
},
|
|
1830
|
+
regr_sxy: {
|
|
1831
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_sxy",
|
|
1832
|
+
description: "Returns REGR_COUNT(y, x) * COVAR_POP(y, x) for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1833
|
+
origin: "spark-docs",
|
|
1834
|
+
},
|
|
1835
|
+
regr_syy: {
|
|
1836
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/regr_syy",
|
|
1837
|
+
description: "Returns REGR_COUNT(y, x) * VAR_POP(y) for non-null pairs in a group, where y is the dependent variable and x is the independent variable.",
|
|
1838
|
+
origin: "spark-docs",
|
|
1839
|
+
},
|
|
1840
|
+
repeat: {
|
|
1841
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/repeat",
|
|
1842
|
+
description: "Returns the string which repeats the given string value n times.",
|
|
1843
|
+
origin: "spark-docs",
|
|
1844
|
+
},
|
|
1845
|
+
replace: {
|
|
1846
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/replace",
|
|
1847
|
+
description: "Replaces all occurrences of search with replace.",
|
|
1848
|
+
origin: "spark-docs",
|
|
1849
|
+
},
|
|
1850
|
+
reverse: {
|
|
1851
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/reverse",
|
|
1852
|
+
description: "Returns a reversed string or an array with reverse order of elements.",
|
|
1853
|
+
origin: "spark-docs",
|
|
1854
|
+
},
|
|
1855
|
+
right: {
|
|
1856
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/right",
|
|
1857
|
+
description: "Returns the rightmost len ( len can be string type) characters from the string str,if len is less or equal than 0 the result is an empty string.",
|
|
1858
|
+
origin: "spark-docs",
|
|
1859
|
+
},
|
|
1860
|
+
rint: {
|
|
1861
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/rint",
|
|
1862
|
+
description: "Returns the double value that is closest in value to the argument and is equal to a mathematical integer.",
|
|
1863
|
+
origin: "spark-docs",
|
|
1864
|
+
},
|
|
1865
|
+
round: {
|
|
1866
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/round",
|
|
1867
|
+
description: "Returns expr rounded to d decimal places using HALF_UP rounding mode.",
|
|
1868
|
+
origin: "spark-docs",
|
|
1869
|
+
},
|
|
1870
|
+
row_number: {
|
|
1871
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/row_number",
|
|
1872
|
+
description: "Assigns a unique, sequential number to each row, starting with one, according to the ordering of rows within the window partition.",
|
|
1873
|
+
origin: "spark-docs",
|
|
1874
|
+
},
|
|
1875
|
+
rpad: {
|
|
1876
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/rpad",
|
|
1877
|
+
description: "Returns str, right-padded with pad to a length of len.",
|
|
1878
|
+
origin: "spark-docs",
|
|
1879
|
+
},
|
|
1880
|
+
schema_of_csv: {
|
|
1881
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/schema_of_csv",
|
|
1882
|
+
description: "Returns schema in the DDL format of CSV string.",
|
|
1883
|
+
origin: "spark-docs",
|
|
1884
|
+
},
|
|
1885
|
+
schema_of_json: {
|
|
1886
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/schema_of_json",
|
|
1887
|
+
description: "Returns schema in the DDL format of JSON string.",
|
|
1888
|
+
origin: "spark-docs",
|
|
1889
|
+
},
|
|
1890
|
+
schema_of_json_agg: {
|
|
1891
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/schema_of_json_agg",
|
|
1892
|
+
origin: "vendor-docs",
|
|
1893
|
+
},
|
|
1894
|
+
schema_of_variant: {
|
|
1895
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/schema_of_variant",
|
|
1896
|
+
description: "Returns schema in the SQL format of a variant.",
|
|
1897
|
+
origin: "spark-docs",
|
|
1898
|
+
},
|
|
1899
|
+
schema_of_variant_agg: {
|
|
1900
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/schema_of_variant_agg",
|
|
1901
|
+
description: "Returns the merged schema in the SQL format of a variant column.",
|
|
1902
|
+
origin: "spark-docs",
|
|
1903
|
+
},
|
|
1904
|
+
schema_of_xml: {
|
|
1905
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/schema_of_xml",
|
|
1906
|
+
description: "Returns schema in the DDL format of XML string.",
|
|
1907
|
+
origin: "spark-docs",
|
|
1908
|
+
},
|
|
1909
|
+
sec: {
|
|
1910
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sec",
|
|
1911
|
+
description: "Returns the secant of expr, as if computed by 1/java.lang.Math.cos.",
|
|
1912
|
+
origin: "spark-docs",
|
|
1913
|
+
},
|
|
1914
|
+
second: {
|
|
1915
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/second",
|
|
1916
|
+
description: "Returns the second component of the string/timestamp.",
|
|
1917
|
+
origin: "spark-docs",
|
|
1918
|
+
},
|
|
1919
|
+
secret: {
|
|
1920
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/secret",
|
|
1921
|
+
description: "Retrieves the value of a secret from the specified scope and key.",
|
|
1922
|
+
origin: "authored",
|
|
1923
|
+
},
|
|
1924
|
+
sequence: {
|
|
1925
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sequence",
|
|
1926
|
+
description: "Generates an array of elements from start to stop (inclusive), incrementing by step.",
|
|
1927
|
+
origin: "spark-docs",
|
|
1928
|
+
},
|
|
1929
|
+
session_user: {
|
|
1930
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/session_user",
|
|
1931
|
+
description: "user name of current execution context.",
|
|
1932
|
+
origin: "spark-docs",
|
|
1933
|
+
},
|
|
1934
|
+
session_window: {
|
|
1935
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/session_window",
|
|
1936
|
+
description: "Generates session window given a timestamp specifying column and gap duration.",
|
|
1937
|
+
origin: "spark-docs",
|
|
1938
|
+
},
|
|
1939
|
+
sha: {
|
|
1940
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sha",
|
|
1941
|
+
description: "Returns a sha1 hash value as a hex string of the expr.",
|
|
1942
|
+
origin: "spark-docs",
|
|
1943
|
+
},
|
|
1944
|
+
sha1: {
|
|
1945
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sha1",
|
|
1946
|
+
description: "Returns a sha1 hash value as a hex string of the expr.",
|
|
1947
|
+
origin: "spark-docs",
|
|
1948
|
+
},
|
|
1949
|
+
sha2: {
|
|
1950
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sha2",
|
|
1951
|
+
description: "Returns a checksum of SHA-2 family as a hex string of expr.",
|
|
1952
|
+
origin: "spark-docs",
|
|
1953
|
+
},
|
|
1954
|
+
shiftleft: {
|
|
1955
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/shiftleft",
|
|
1956
|
+
description: "Bitwise left shift.",
|
|
1957
|
+
origin: "spark-docs",
|
|
1958
|
+
},
|
|
1959
|
+
shiftright: {
|
|
1960
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/shiftright",
|
|
1961
|
+
description: "Bitwise (signed) right shift.",
|
|
1962
|
+
origin: "spark-docs",
|
|
1963
|
+
},
|
|
1964
|
+
shiftrightunsigned: {
|
|
1965
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/shiftrightunsigned",
|
|
1966
|
+
description: "Bitwise unsigned right shift.",
|
|
1967
|
+
origin: "spark-docs",
|
|
1968
|
+
},
|
|
1969
|
+
shuffle: {
|
|
1970
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/shuffle",
|
|
1971
|
+
description: "Returns a random permutation of the given array.",
|
|
1972
|
+
origin: "spark-docs",
|
|
1973
|
+
},
|
|
1974
|
+
sign: {
|
|
1975
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sign",
|
|
1976
|
+
description: "Returns -1.0, 0.0 or 1.0 as expr is negative, 0 or positive.",
|
|
1977
|
+
origin: "spark-docs",
|
|
1978
|
+
},
|
|
1979
|
+
signum: {
|
|
1980
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/signum",
|
|
1981
|
+
description: "Returns -1.0, 0.0 or 1.0 as expr is negative, 0 or positive.",
|
|
1982
|
+
origin: "spark-docs",
|
|
1983
|
+
},
|
|
1984
|
+
sin: {
|
|
1985
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sin",
|
|
1986
|
+
description: "Returns the sine of expr, as if computed by java.lang.Math.sin.",
|
|
1987
|
+
origin: "spark-docs",
|
|
1988
|
+
},
|
|
1989
|
+
sinh: {
|
|
1990
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sinh",
|
|
1991
|
+
description: "Returns hyperbolic sine of expr, as if computed by java.lang.Math.sinh.",
|
|
1992
|
+
origin: "spark-docs",
|
|
1993
|
+
},
|
|
1994
|
+
size: {
|
|
1995
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/size",
|
|
1996
|
+
description: "Returns the size of an array or a map.",
|
|
1997
|
+
origin: "spark-docs",
|
|
1998
|
+
},
|
|
1999
|
+
skewness: {
|
|
2000
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/skewness",
|
|
2001
|
+
description: "Returns the skewness value calculated from values of a group.",
|
|
2002
|
+
origin: "spark-docs",
|
|
2003
|
+
},
|
|
2004
|
+
slice: {
|
|
2005
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/slice",
|
|
2006
|
+
description: "Subsets array x starting from index start (array indices start at 1, or starting from the end if start is negative) with the specified length.",
|
|
2007
|
+
origin: "spark-docs",
|
|
2008
|
+
},
|
|
2009
|
+
smallint: {
|
|
2010
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/smallint",
|
|
2011
|
+
description: "Casts the value expr to the target data type smallint.",
|
|
2012
|
+
origin: "spark-docs",
|
|
2013
|
+
},
|
|
2014
|
+
sort_array: {
|
|
2015
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sort_array",
|
|
2016
|
+
description: "Sorts the input array in ascending or descending order according to the natural ordering of the array elements.",
|
|
2017
|
+
origin: "spark-docs",
|
|
2018
|
+
},
|
|
2019
|
+
soundex: {
|
|
2020
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/soundex",
|
|
2021
|
+
description: "Returns Soundex code of the string.",
|
|
2022
|
+
origin: "spark-docs",
|
|
2023
|
+
},
|
|
2024
|
+
space: {
|
|
2025
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/space",
|
|
2026
|
+
description: "Returns a string consisting of n spaces.",
|
|
2027
|
+
origin: "spark-docs",
|
|
2028
|
+
},
|
|
2029
|
+
spark_partition_id: {
|
|
2030
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/spark_partition",
|
|
2031
|
+
description: "Returns the current partition id.",
|
|
2032
|
+
origin: "spark-docs",
|
|
2033
|
+
},
|
|
2034
|
+
split: {
|
|
2035
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/split",
|
|
2036
|
+
description: "Splits str around occurrences that match regex and returns an array with a length of at most limit",
|
|
2037
|
+
origin: "spark-docs",
|
|
2038
|
+
},
|
|
2039
|
+
split_part: {
|
|
2040
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/split_part",
|
|
2041
|
+
description: "Splits str by delimiter and return requested part of the split (1-based).",
|
|
2042
|
+
origin: "spark-docs",
|
|
2043
|
+
},
|
|
2044
|
+
sql_keywords: {
|
|
2045
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sql_keywords",
|
|
2046
|
+
description: "Get Spark SQL keywords",
|
|
2047
|
+
origin: "spark-docs",
|
|
2048
|
+
},
|
|
2049
|
+
sqrt: {
|
|
2050
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sqrt",
|
|
2051
|
+
description: "Returns the square root of expr.",
|
|
2052
|
+
origin: "spark-docs",
|
|
2053
|
+
},
|
|
2054
|
+
st_addpoint: {
|
|
2055
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_addpoint",
|
|
2056
|
+
description: "Adds a point to a geometry or geography, optionally at a specified index position.",
|
|
2057
|
+
origin: "authored",
|
|
2058
|
+
},
|
|
2059
|
+
st_area: {
|
|
2060
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_area",
|
|
2061
|
+
origin: "vendor-docs",
|
|
2062
|
+
},
|
|
2063
|
+
st_asbinary: {
|
|
2064
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_asbinary",
|
|
2065
|
+
description: "Converts a geometry or geography to its well-known binary (WKB) representation.",
|
|
2066
|
+
origin: "authored",
|
|
2067
|
+
},
|
|
2068
|
+
st_asewkb: {
|
|
2069
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_asewkb",
|
|
2070
|
+
description: "Converts a geometry or geography to extended well-known binary (EWKB) format.",
|
|
2071
|
+
origin: "authored",
|
|
2072
|
+
},
|
|
2073
|
+
st_asgeojson: {
|
|
2074
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_asgeojson",
|
|
2075
|
+
description: "Converts a geometry or geography to GeoJSON format.",
|
|
2076
|
+
origin: "authored",
|
|
2077
|
+
},
|
|
2078
|
+
st_astext: {
|
|
2079
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_astext",
|
|
2080
|
+
description: "Converts a geometry or geography to its well-known text (WKT) representation.",
|
|
2081
|
+
origin: "authored",
|
|
2082
|
+
},
|
|
2083
|
+
st_aswkb: {
|
|
2084
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_aswkb",
|
|
2085
|
+
description: "Converts a geometry or geography to well-known binary (WKB) format.",
|
|
2086
|
+
origin: "authored",
|
|
2087
|
+
},
|
|
2088
|
+
st_aswkt: {
|
|
2089
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_aswkt",
|
|
2090
|
+
description: "Converts a geometry or geography to well-known text (WKT) format.",
|
|
2091
|
+
origin: "authored",
|
|
2092
|
+
},
|
|
2093
|
+
st_azimuth: {
|
|
2094
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_azimuth",
|
|
2095
|
+
description: "Calculates the azimuth (bearing angle) from the first geometry to the second.",
|
|
2096
|
+
origin: "authored",
|
|
2097
|
+
},
|
|
2098
|
+
st_boundary: {
|
|
2099
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_boundary",
|
|
2100
|
+
description: "Returns the boundary geometry of a given geometry.",
|
|
2101
|
+
origin: "authored",
|
|
2102
|
+
},
|
|
2103
|
+
st_buffer: {
|
|
2104
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_buffer",
|
|
2105
|
+
description: "Creates a buffer polygon at a specified distance around a geometry.",
|
|
2106
|
+
origin: "authored",
|
|
2107
|
+
},
|
|
2108
|
+
st_centroid: {
|
|
2109
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_centroid",
|
|
2110
|
+
description: "Returns the centroid (geometric center) of a geometry.",
|
|
2111
|
+
origin: "authored",
|
|
2112
|
+
},
|
|
2113
|
+
st_closestpoint: {
|
|
2114
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_closestpoint",
|
|
2115
|
+
description: "Returns the closest point on the first geometry to the second geometry.",
|
|
2116
|
+
origin: "authored",
|
|
2117
|
+
},
|
|
2118
|
+
st_collect: {
|
|
2119
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_collect",
|
|
2120
|
+
origin: "vendor-docs",
|
|
2121
|
+
},
|
|
2122
|
+
st_concavehull: {
|
|
2123
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_concavehull",
|
|
2124
|
+
description: "Returns the concave hull of a geometry, with the lengthRatio parameter controlling the degree of concavity.",
|
|
2125
|
+
origin: "authored",
|
|
2126
|
+
},
|
|
2127
|
+
st_contains: {
|
|
2128
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_contains",
|
|
2129
|
+
description: "Tests whether the first geometry completely contains the second geometry.",
|
|
2130
|
+
origin: "authored",
|
|
2131
|
+
},
|
|
2132
|
+
st_convexhull: {
|
|
2133
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_convexhull",
|
|
2134
|
+
description: "Returns the convex hull of a geometry, the smallest convex polygon containing all points.",
|
|
2135
|
+
origin: "authored",
|
|
2136
|
+
},
|
|
2137
|
+
st_covers: {
|
|
2138
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_covers",
|
|
2139
|
+
description: "Tests whether the first geometry covers the second geometry without necessarily containing it.",
|
|
2140
|
+
origin: "authored",
|
|
2141
|
+
},
|
|
2142
|
+
st_difference: {
|
|
2143
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_difference",
|
|
2144
|
+
description: "Returns the portion of the first geometry that does not intersect with the second geometry.",
|
|
2145
|
+
origin: "authored",
|
|
2146
|
+
},
|
|
2147
|
+
st_dimension: {
|
|
2148
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_dimension",
|
|
2149
|
+
description: "Returns the dimension of a geometry as an integer: 0 for point, 1 for line, 2 for polygon.",
|
|
2150
|
+
origin: "authored",
|
|
2151
|
+
},
|
|
2152
|
+
st_disjoint: {
|
|
2153
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_disjoint",
|
|
2154
|
+
description: "Tests whether two geometries have no points in common.",
|
|
2155
|
+
origin: "authored",
|
|
2156
|
+
},
|
|
2157
|
+
st_distance: {
|
|
2158
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_distance",
|
|
2159
|
+
description: "Calculates the shortest distance between two geometries.",
|
|
2160
|
+
origin: "authored",
|
|
2161
|
+
},
|
|
2162
|
+
st_distancesphere: {
|
|
2163
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_distancesphere",
|
|
2164
|
+
origin: "vendor-docs",
|
|
2165
|
+
},
|
|
2166
|
+
st_distancespheroid: {
|
|
2167
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_distancespheroid",
|
|
2168
|
+
origin: "vendor-docs",
|
|
2169
|
+
},
|
|
2170
|
+
st_dump: {
|
|
2171
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_dump",
|
|
2172
|
+
description: "Breaks down a geometry into its constituent single-part geometries.",
|
|
2173
|
+
origin: "authored",
|
|
2174
|
+
},
|
|
2175
|
+
st_dwithin: {
|
|
2176
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_dwithin",
|
|
2177
|
+
description: "Tests whether two geometries are within a specified distance of each other.",
|
|
2178
|
+
origin: "authored",
|
|
2179
|
+
},
|
|
2180
|
+
st_endpoint: {
|
|
2181
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_endpoint",
|
|
2182
|
+
origin: "vendor-docs",
|
|
2183
|
+
},
|
|
2184
|
+
st_envelope: {
|
|
2185
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_envelope",
|
|
2186
|
+
description: "Returns the minimum bounding rectangle (axis-aligned box) of a geometry.",
|
|
2187
|
+
origin: "authored",
|
|
2188
|
+
},
|
|
2189
|
+
st_envelope_agg: {
|
|
2190
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_envelope_agg",
|
|
2191
|
+
description: "Returns the aggregate minimum bounding rectangle of multiple geometries across rows.",
|
|
2192
|
+
origin: "authored",
|
|
2193
|
+
},
|
|
2194
|
+
st_equals: {
|
|
2195
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_equals",
|
|
2196
|
+
description: "Tests whether two geometries are spatially equal.",
|
|
2197
|
+
origin: "authored",
|
|
2198
|
+
},
|
|
2199
|
+
st_estimatesrid: {
|
|
2200
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_estimatesrid",
|
|
2201
|
+
origin: "vendor-docs",
|
|
2202
|
+
},
|
|
2203
|
+
st_exteriorring: {
|
|
2204
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_exteriorring",
|
|
2205
|
+
description: "Returns the exterior ring of a polygon as a line string.",
|
|
2206
|
+
origin: "authored",
|
|
2207
|
+
},
|
|
2208
|
+
st_flipcoordinates: {
|
|
2209
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_flipcoordinates",
|
|
2210
|
+
description: "Swaps the X and Y coordinates of a geometry.",
|
|
2211
|
+
origin: "authored",
|
|
2212
|
+
},
|
|
2213
|
+
st_force2d: {
|
|
2214
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_force2d",
|
|
2215
|
+
description: "Converts a geometry to 2D by removing the Z coordinate.",
|
|
2216
|
+
origin: "authored",
|
|
2217
|
+
},
|
|
2218
|
+
st_geogfromewkt: {
|
|
2219
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geogfromewkt",
|
|
2220
|
+
description: "Constructs a geography from an Extended Well-Known Text (EWKT) string.",
|
|
2221
|
+
origin: "authored",
|
|
2222
|
+
},
|
|
2223
|
+
st_geogfromgeojson: {
|
|
2224
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geogfromgeojson",
|
|
2225
|
+
origin: "vendor-docs",
|
|
2226
|
+
},
|
|
2227
|
+
st_geogfromtext: {
|
|
2228
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geogfromtext",
|
|
2229
|
+
description: "Constructs a geography from a Well-Known Text (WKT) string.",
|
|
2230
|
+
origin: "authored",
|
|
2231
|
+
},
|
|
2232
|
+
st_geogfromwkb: {
|
|
2233
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geogfromwkb",
|
|
2234
|
+
description: "Constructs a geography from Well-Known Binary (WKB) format.",
|
|
2235
|
+
origin: "authored",
|
|
2236
|
+
},
|
|
2237
|
+
st_geogfromwkt: {
|
|
2238
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geogfromwkt",
|
|
2239
|
+
description: "Constructs a geography from a Well-Known Text (WKT) string.",
|
|
2240
|
+
origin: "authored",
|
|
2241
|
+
},
|
|
2242
|
+
st_geohash: {
|
|
2243
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geohash",
|
|
2244
|
+
description: "Encodes a geometry as a Geohash string with optional precision parameter.",
|
|
2245
|
+
origin: "authored",
|
|
2246
|
+
},
|
|
2247
|
+
st_geometryn: {
|
|
2248
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geometryn",
|
|
2249
|
+
description: "Returns the nth geometry from a geometry collection (1-indexed).",
|
|
2250
|
+
origin: "authored",
|
|
2251
|
+
},
|
|
2252
|
+
st_geometrytype: {
|
|
2253
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geometrytype",
|
|
2254
|
+
origin: "vendor-docs",
|
|
2255
|
+
},
|
|
2256
|
+
st_geomfromewkb: {
|
|
2257
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromewkb",
|
|
2258
|
+
description: "Constructs a geometry from Extended Well-Known Binary (EWKB) format.",
|
|
2259
|
+
origin: "authored",
|
|
2260
|
+
},
|
|
2261
|
+
st_geomfromewkt: {
|
|
2262
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromewkt",
|
|
2263
|
+
description: "Constructs a geometry from an Extended Well-Known Text (EWKT) string.",
|
|
2264
|
+
origin: "authored",
|
|
2265
|
+
},
|
|
2266
|
+
st_geomfromgeohash: {
|
|
2267
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromgeohash",
|
|
2268
|
+
description: "Constructs a geometry from a Geohash string.",
|
|
2269
|
+
origin: "authored",
|
|
2270
|
+
},
|
|
2271
|
+
st_geomfromgeojson: {
|
|
2272
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromgeojson",
|
|
2273
|
+
origin: "vendor-docs",
|
|
2274
|
+
},
|
|
2275
|
+
st_geomfromtext: {
|
|
2276
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromtext",
|
|
2277
|
+
description: "Constructs a geometry from a Well-Known Text (WKT) string with optional SRID.",
|
|
2278
|
+
origin: "authored",
|
|
2279
|
+
},
|
|
2280
|
+
st_geomfromwkb: {
|
|
2281
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromwkb",
|
|
2282
|
+
description: "Constructs a geometry from Well-Known Binary (WKB) format with optional SRID.",
|
|
2283
|
+
origin: "authored",
|
|
2284
|
+
},
|
|
2285
|
+
st_geomfromwkt: {
|
|
2286
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_geomfromwkt",
|
|
2287
|
+
description: "Constructs a geometry from a Well-Known Text (WKT) string with optional SRID.",
|
|
2288
|
+
origin: "authored",
|
|
2289
|
+
},
|
|
2290
|
+
st_interiorringn: {
|
|
2291
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_interiorringn",
|
|
2292
|
+
description: "Returns the nth interior ring (hole) of a polygon (1-indexed).",
|
|
2293
|
+
origin: "authored",
|
|
2294
|
+
},
|
|
2295
|
+
st_intersection: {
|
|
2296
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_intersection",
|
|
2297
|
+
description: "Returns the geometry formed by the points common to both input geometries.",
|
|
2298
|
+
origin: "authored",
|
|
2299
|
+
},
|
|
2300
|
+
st_intersects: {
|
|
2301
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_intersects",
|
|
2302
|
+
description: "Tests whether two geometries share any space.",
|
|
2303
|
+
origin: "authored",
|
|
2304
|
+
},
|
|
2305
|
+
st_isempty: {
|
|
2306
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_isempty",
|
|
2307
|
+
description: "Tests whether a geometry is empty.",
|
|
2308
|
+
origin: "authored",
|
|
2309
|
+
},
|
|
2310
|
+
st_isvalid: {
|
|
2311
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_isvalid",
|
|
2312
|
+
origin: "vendor-docs",
|
|
2313
|
+
},
|
|
2314
|
+
st_length: {
|
|
2315
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_length",
|
|
2316
|
+
description: "Returns the length of the geometry along its edges.",
|
|
2317
|
+
origin: "authored",
|
|
2318
|
+
},
|
|
2319
|
+
st_m: {
|
|
2320
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_m",
|
|
2321
|
+
description: "Extracts the M (measure) coordinate from a point.",
|
|
2322
|
+
origin: "authored",
|
|
2323
|
+
},
|
|
2324
|
+
st_makeenvelope: {
|
|
2325
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_makeenvelope",
|
|
2326
|
+
description: "Creates a rectangular geometry (envelope) from the given corner coordinates.",
|
|
2327
|
+
origin: "authored",
|
|
2328
|
+
},
|
|
2329
|
+
st_makeline: {
|
|
2330
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_makeline",
|
|
2331
|
+
description: "Creates a line geometry from an array of point geometries.",
|
|
2332
|
+
origin: "authored",
|
|
2333
|
+
},
|
|
2334
|
+
st_makepoint: {
|
|
2335
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_makepoint",
|
|
2336
|
+
description: "Creates a point geometry from x and y coordinates, optionally z and m values.",
|
|
2337
|
+
origin: "authored",
|
|
2338
|
+
},
|
|
2339
|
+
st_makepolygon: {
|
|
2340
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_makepolygon",
|
|
2341
|
+
description: "Creates a polygon geometry from an exterior ring and optional interior rings.",
|
|
2342
|
+
origin: "authored",
|
|
2343
|
+
},
|
|
2344
|
+
st_multi: {
|
|
2345
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_multi",
|
|
2346
|
+
description: "Converts a geometry to a multi-type geometry (Multi-Point, Multi-Line, or Multi-Polygon).",
|
|
2347
|
+
origin: "authored",
|
|
2348
|
+
},
|
|
2349
|
+
st_ndims: {
|
|
2350
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_ndims",
|
|
2351
|
+
description: "Returns the number of dimensions (2, 3, or 4) in the geometry.",
|
|
2352
|
+
origin: "authored",
|
|
2353
|
+
},
|
|
2354
|
+
st_npoints: {
|
|
2355
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_npoints",
|
|
2356
|
+
description: "Returns the number of points that make up the geometry.",
|
|
2357
|
+
origin: "authored",
|
|
2358
|
+
},
|
|
2359
|
+
st_nrings: {
|
|
2360
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_nrings",
|
|
2361
|
+
description: "Returns the number of rings in the geometry.",
|
|
2362
|
+
origin: "authored",
|
|
2363
|
+
},
|
|
2364
|
+
st_numgeometries: {
|
|
2365
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_numgeometries",
|
|
2366
|
+
description: "Returns the number of component geometries in a multi-geometry.",
|
|
2367
|
+
origin: "authored",
|
|
2368
|
+
},
|
|
2369
|
+
st_numinteriorrings: {
|
|
2370
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_numinteriorrings",
|
|
2371
|
+
description: "Returns the number of interior rings (holes) in a polygon.",
|
|
2372
|
+
origin: "authored",
|
|
2373
|
+
},
|
|
2374
|
+
st_numpoints: {
|
|
2375
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_numpoints",
|
|
2376
|
+
description: "Returns the number of points in the geometry.",
|
|
2377
|
+
origin: "authored",
|
|
2378
|
+
},
|
|
2379
|
+
st_perimeter: {
|
|
2380
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_perimeter",
|
|
2381
|
+
description: "Returns the perimeter (boundary length) of the geometry.",
|
|
2382
|
+
origin: "authored",
|
|
2383
|
+
},
|
|
2384
|
+
st_point: {
|
|
2385
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_point",
|
|
2386
|
+
description: "Creates a point geometry from x and y coordinates, optionally specifying an SRID.",
|
|
2387
|
+
origin: "authored",
|
|
2388
|
+
},
|
|
2389
|
+
st_pointfromgeohash: {
|
|
2390
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_pointfromgeohash",
|
|
2391
|
+
description: "Creates a point geometry from a geohash string.",
|
|
2392
|
+
origin: "authored",
|
|
2393
|
+
},
|
|
2394
|
+
st_pointn: {
|
|
2395
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_pointn",
|
|
2396
|
+
description: "Returns the point at the specified index position in the geometry.",
|
|
2397
|
+
origin: "authored",
|
|
2398
|
+
},
|
|
2399
|
+
st_pointonsurface: {
|
|
2400
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_pointonsurface",
|
|
2401
|
+
description: "Returns a point that is guaranteed to lie on the surface of the geometry.",
|
|
2402
|
+
origin: "authored",
|
|
2403
|
+
},
|
|
2404
|
+
st_removepoint: {
|
|
2405
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_removepoint",
|
|
2406
|
+
description: "Removes the point at the specified index from a geometry.",
|
|
2407
|
+
origin: "authored",
|
|
2408
|
+
},
|
|
2409
|
+
st_reverse: {
|
|
2410
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_reverse",
|
|
2411
|
+
description: "Returns a geometry with the order of points reversed.",
|
|
2412
|
+
origin: "authored",
|
|
2413
|
+
},
|
|
2414
|
+
st_rotate: {
|
|
2415
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_rotate",
|
|
2416
|
+
origin: "vendor-docs",
|
|
2417
|
+
},
|
|
2418
|
+
st_scale: {
|
|
2419
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_scale",
|
|
2420
|
+
description: "Returns a geometry scaled by the given factors along x, y, and optionally z axes.",
|
|
2421
|
+
origin: "authored",
|
|
2422
|
+
},
|
|
2423
|
+
st_setpoint: {
|
|
2424
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_setpoint",
|
|
2425
|
+
description: "Returns a geometry with the point at the specified index replaced by another point.",
|
|
2426
|
+
origin: "authored",
|
|
2427
|
+
},
|
|
2428
|
+
st_setsrid: {
|
|
2429
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_setsrid",
|
|
2430
|
+
description: "Returns the geometry with the spatial reference system ID set to the specified value.",
|
|
2431
|
+
origin: "authored",
|
|
2432
|
+
},
|
|
2433
|
+
st_simplify: {
|
|
2434
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_simplify",
|
|
2435
|
+
description: "Returns a simplified geometry removing points within the specified tolerance distance.",
|
|
2436
|
+
origin: "authored",
|
|
2437
|
+
},
|
|
2438
|
+
st_srid: {
|
|
2439
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_srid",
|
|
2440
|
+
description: "Returns the spatial reference system ID associated with the geometry.",
|
|
2441
|
+
origin: "authored",
|
|
2442
|
+
},
|
|
2443
|
+
st_startpoint: {
|
|
2444
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_startpoint",
|
|
2445
|
+
description: "Returns the first point of a line or ring geometry.",
|
|
2446
|
+
origin: "authored",
|
|
2447
|
+
},
|
|
2448
|
+
st_touches: {
|
|
2449
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_touches",
|
|
2450
|
+
description: "Tests whether two geometries touch at one or more points without overlapping.",
|
|
2451
|
+
origin: "authored",
|
|
2452
|
+
},
|
|
2453
|
+
st_transform: {
|
|
2454
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_transform",
|
|
2455
|
+
description: "Transforms the geometry to a different spatial reference system identified by the SRID.",
|
|
2456
|
+
origin: "authored",
|
|
2457
|
+
},
|
|
2458
|
+
st_translate: {
|
|
2459
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_translate",
|
|
2460
|
+
description: "Returns a geometry translated (moved) by the specified distance along x, y, and optionally z axes.",
|
|
2461
|
+
origin: "authored",
|
|
2462
|
+
},
|
|
2463
|
+
st_union: {
|
|
2464
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_union",
|
|
2465
|
+
description: "Returns the geometric union of two geometries.",
|
|
2466
|
+
origin: "authored",
|
|
2467
|
+
},
|
|
2468
|
+
st_union_agg: {
|
|
2469
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_union_agg",
|
|
2470
|
+
description: "Aggregates the union of all geometries in a column into a single geometry.",
|
|
2471
|
+
origin: "authored",
|
|
2472
|
+
},
|
|
2473
|
+
st_within: {
|
|
2474
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_within",
|
|
2475
|
+
description: "Tests whether the first geometry is completely within the second geometry.",
|
|
2476
|
+
origin: "authored",
|
|
2477
|
+
},
|
|
2478
|
+
st_x: {
|
|
2479
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_x",
|
|
2480
|
+
description: "Extracts the X coordinate from a point.",
|
|
2481
|
+
origin: "authored",
|
|
2482
|
+
},
|
|
2483
|
+
st_xmax: {
|
|
2484
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_xmax",
|
|
2485
|
+
description: "Returns the maximum X coordinate of the geometry's bounding box.",
|
|
2486
|
+
origin: "authored",
|
|
2487
|
+
},
|
|
2488
|
+
st_xmin: {
|
|
2489
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_xmin",
|
|
2490
|
+
description: "Returns the minimum X coordinate of the geometry's bounding box.",
|
|
2491
|
+
origin: "authored",
|
|
2492
|
+
},
|
|
2493
|
+
st_y: {
|
|
2494
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_y",
|
|
2495
|
+
description: "Extracts the Y coordinate from a point.",
|
|
2496
|
+
origin: "authored",
|
|
2497
|
+
},
|
|
2498
|
+
st_ymax: {
|
|
2499
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_ymax",
|
|
2500
|
+
description: "Returns the maximum Y coordinate of the geometry's bounding box.",
|
|
2501
|
+
origin: "authored",
|
|
2502
|
+
},
|
|
2503
|
+
st_ymin: {
|
|
2504
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_ymin",
|
|
2505
|
+
description: "Returns the minimum Y coordinate of the geometry's bounding box.",
|
|
2506
|
+
origin: "authored",
|
|
2507
|
+
},
|
|
2508
|
+
st_z: {
|
|
2509
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_z",
|
|
2510
|
+
description: "Extracts the Z coordinate from a point.",
|
|
2511
|
+
origin: "authored",
|
|
2512
|
+
},
|
|
2513
|
+
st_zmax: {
|
|
2514
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_zmax",
|
|
2515
|
+
description: "Returns the maximum Z coordinate value of a geospatial object.",
|
|
2516
|
+
origin: "authored",
|
|
2517
|
+
},
|
|
2518
|
+
st_zmin: {
|
|
2519
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/st_zmin",
|
|
2520
|
+
description: "Returns the minimum Z coordinate value of a geospatial object.",
|
|
2521
|
+
origin: "authored",
|
|
2522
|
+
},
|
|
2523
|
+
stack: {
|
|
2524
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/stack",
|
|
2525
|
+
description: "Separates expr1,..., exprk into n rows.",
|
|
2526
|
+
origin: "spark-docs",
|
|
2527
|
+
},
|
|
2528
|
+
startswith: {
|
|
2529
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/startswith",
|
|
2530
|
+
description: "Returns a boolean. The value is True if left starts with right. Returns NULL if either input expression is NULL. Otherwise, returns False. Both left or right must be of STRING or BINARY type.",
|
|
2531
|
+
origin: "spark-docs",
|
|
2532
|
+
},
|
|
2533
|
+
std: {
|
|
2534
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/std",
|
|
2535
|
+
description: "Returns the sample standard deviation calculated from values of a group.",
|
|
2536
|
+
origin: "spark-docs",
|
|
2537
|
+
},
|
|
2538
|
+
stddev: {
|
|
2539
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/stddev",
|
|
2540
|
+
description: "Returns the sample standard deviation calculated from values of a group.",
|
|
2541
|
+
origin: "spark-docs",
|
|
2542
|
+
},
|
|
2543
|
+
stddev_pop: {
|
|
2544
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/stddev_pop",
|
|
2545
|
+
description: "Returns the population standard deviation calculated from values of a group.",
|
|
2546
|
+
origin: "spark-docs",
|
|
2547
|
+
},
|
|
2548
|
+
stddev_samp: {
|
|
2549
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/stddev_samp",
|
|
2550
|
+
description: "Returns the sample standard deviation calculated from values of a group.",
|
|
2551
|
+
origin: "spark-docs",
|
|
2552
|
+
},
|
|
2553
|
+
str_to_map: {
|
|
2554
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/str_to_map",
|
|
2555
|
+
description: "Creates a map after splitting the text into key/value pairs using delimiters.",
|
|
2556
|
+
origin: "spark-docs",
|
|
2557
|
+
},
|
|
2558
|
+
string: {
|
|
2559
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/string",
|
|
2560
|
+
description: "Casts the value expr to the target data type string.",
|
|
2561
|
+
origin: "spark-docs",
|
|
2562
|
+
},
|
|
2563
|
+
string_agg: {
|
|
2564
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/string_agg",
|
|
2565
|
+
description: "Returns the concatenation of non-NULL input values, separated by the delimiter ordered by key.",
|
|
2566
|
+
origin: "spark-docs",
|
|
2567
|
+
},
|
|
2568
|
+
substr: {
|
|
2569
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/substr",
|
|
2570
|
+
description: "Returns the substring of str that starts at pos and is of length len, or the slice of byte array that starts at pos and is of length len.",
|
|
2571
|
+
origin: "spark-docs",
|
|
2572
|
+
},
|
|
2573
|
+
substring: {
|
|
2574
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/substring",
|
|
2575
|
+
description: "Returns the substring of str that starts at pos and is of length len, or the slice of byte array that starts at pos and is of length len.",
|
|
2576
|
+
origin: "spark-docs",
|
|
2577
|
+
},
|
|
2578
|
+
substring_index: {
|
|
2579
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/substring_index",
|
|
2580
|
+
description: "Returns the substring from str before count occurrences of the delimiter delim.",
|
|
2581
|
+
origin: "spark-docs",
|
|
2582
|
+
},
|
|
2583
|
+
sum: {
|
|
2584
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/sum",
|
|
2585
|
+
description: "Returns the sum calculated from values of a group.",
|
|
2586
|
+
origin: "spark-docs",
|
|
2587
|
+
},
|
|
2588
|
+
table_changes: {
|
|
2589
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/table_changes",
|
|
2590
|
+
description: "Returns change data capture records from a Delta table between specified versions or timestamps.",
|
|
2591
|
+
origin: "authored",
|
|
2592
|
+
},
|
|
2593
|
+
tan: {
|
|
2594
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tan",
|
|
2595
|
+
description: "Returns the tangent of expr, as if computed by java.lang.Math.tan.",
|
|
2596
|
+
origin: "spark-docs",
|
|
2597
|
+
},
|
|
2598
|
+
tanh: {
|
|
2599
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tanh",
|
|
2600
|
+
description: "Returns the hyperbolic tangent of expr, as if computed by java.lang.Math.tanh.",
|
|
2601
|
+
origin: "spark-docs",
|
|
2602
|
+
},
|
|
2603
|
+
theta_difference: {
|
|
2604
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_difference",
|
|
2605
|
+
description: "Returns a theta sketch representing elements in the first sketch but not in the second.",
|
|
2606
|
+
origin: "authored",
|
|
2607
|
+
},
|
|
2608
|
+
theta_intersection: {
|
|
2609
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_intersection",
|
|
2610
|
+
description: "Returns a theta sketch representing elements common to both input sketches.",
|
|
2611
|
+
origin: "authored",
|
|
2612
|
+
},
|
|
2613
|
+
theta_intersection_agg: {
|
|
2614
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_intersection_agg",
|
|
2615
|
+
description: "Aggregates theta sketches by computing their intersection over a set of rows.",
|
|
2616
|
+
origin: "authored",
|
|
2617
|
+
},
|
|
2618
|
+
theta_sketch_agg: {
|
|
2619
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_sketch_agg",
|
|
2620
|
+
description: "Aggregates distinct values into a theta sketch for cardinality estimation.",
|
|
2621
|
+
origin: "authored",
|
|
2622
|
+
},
|
|
2623
|
+
theta_sketch_estimate: {
|
|
2624
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_sketch_estimate",
|
|
2625
|
+
description: "Returns the cardinality estimate from a theta sketch.",
|
|
2626
|
+
origin: "authored",
|
|
2627
|
+
},
|
|
2628
|
+
theta_union: {
|
|
2629
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_union",
|
|
2630
|
+
description: "Returns a theta sketch representing elements present in either or both input sketches.",
|
|
2631
|
+
origin: "authored",
|
|
2632
|
+
},
|
|
2633
|
+
theta_union_agg: {
|
|
2634
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/theta_union_agg",
|
|
2635
|
+
description: "Aggregates theta sketches by computing their union over a set of rows.",
|
|
2636
|
+
origin: "authored",
|
|
2637
|
+
},
|
|
2638
|
+
time_diff: {
|
|
2639
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_diff",
|
|
2640
|
+
origin: "vendor-docs",
|
|
2641
|
+
},
|
|
2642
|
+
time_from_micros: {
|
|
2643
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_from_micros",
|
|
2644
|
+
description: "Creates a time value from an integer representing microseconds since midnight.",
|
|
2645
|
+
origin: "authored",
|
|
2646
|
+
},
|
|
2647
|
+
time_from_millis: {
|
|
2648
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_from_millis",
|
|
2649
|
+
description: "Creates a time value from an integer representing milliseconds since midnight.",
|
|
2650
|
+
origin: "authored",
|
|
2651
|
+
},
|
|
2652
|
+
time_from_seconds: {
|
|
2653
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_from_seconds",
|
|
2654
|
+
description: "Creates a time value from an integer representing seconds since midnight.",
|
|
2655
|
+
origin: "authored",
|
|
2656
|
+
},
|
|
2657
|
+
time_to_micros: {
|
|
2658
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_to_micros",
|
|
2659
|
+
description: "Converts a time value to the number of microseconds since midnight.",
|
|
2660
|
+
origin: "authored",
|
|
2661
|
+
},
|
|
2662
|
+
time_to_millis: {
|
|
2663
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_to_millis",
|
|
2664
|
+
description: "Converts a time value to the number of milliseconds since midnight.",
|
|
2665
|
+
origin: "authored",
|
|
2666
|
+
},
|
|
2667
|
+
time_to_seconds: {
|
|
2668
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_to_seconds",
|
|
2669
|
+
description: "Converts a time value to the number of seconds since midnight.",
|
|
2670
|
+
origin: "authored",
|
|
2671
|
+
},
|
|
2672
|
+
time_trunc: {
|
|
2673
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/time_trunc",
|
|
2674
|
+
origin: "vendor-docs",
|
|
2675
|
+
},
|
|
2676
|
+
timediff: {
|
|
2677
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timediff",
|
|
2678
|
+
origin: "vendor-docs",
|
|
2679
|
+
},
|
|
2680
|
+
timestamp: {
|
|
2681
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timestamp",
|
|
2682
|
+
description: "Casts the value expr to the target data type timestamp.",
|
|
2683
|
+
origin: "spark-docs",
|
|
2684
|
+
},
|
|
2685
|
+
timestamp_micros: {
|
|
2686
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timestamp_micros",
|
|
2687
|
+
description: "Creates timestamp from the number of microseconds since UTC epoch.",
|
|
2688
|
+
origin: "spark-docs",
|
|
2689
|
+
},
|
|
2690
|
+
timestamp_millis: {
|
|
2691
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timestamp_millis",
|
|
2692
|
+
description: "Creates timestamp from the number of milliseconds since UTC epoch.",
|
|
2693
|
+
origin: "spark-docs",
|
|
2694
|
+
},
|
|
2695
|
+
timestamp_seconds: {
|
|
2696
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timestamp_seconds",
|
|
2697
|
+
description: "Creates timestamp from the number of seconds (can be fractional) since UTC epoch.",
|
|
2698
|
+
origin: "spark-docs",
|
|
2699
|
+
},
|
|
2700
|
+
timestampadd: {
|
|
2701
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timestampadd",
|
|
2702
|
+
description: "Adds a time interval to a timestamp and returns the resulting timestamp.",
|
|
2703
|
+
origin: "authored",
|
|
2704
|
+
},
|
|
2705
|
+
timestampdiff: {
|
|
2706
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/timestampdiff",
|
|
2707
|
+
description: "Returns the difference between two timestamps as an integer in the specified unit.",
|
|
2708
|
+
origin: "authored",
|
|
2709
|
+
},
|
|
2710
|
+
tinyint: {
|
|
2711
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tinyint",
|
|
2712
|
+
description: "Casts the value expr to the target data type tinyint.",
|
|
2713
|
+
origin: "spark-docs",
|
|
2714
|
+
},
|
|
2715
|
+
to_avro: {
|
|
2716
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_avro",
|
|
2717
|
+
description: "Converts a Catalyst binary input value into its corresponding Avro format result.",
|
|
2718
|
+
origin: "spark-docs",
|
|
2719
|
+
},
|
|
2720
|
+
to_binary: {
|
|
2721
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_binary",
|
|
2722
|
+
description: "Converts the input str to a binary value based on the supplied fmt.",
|
|
2723
|
+
origin: "spark-docs",
|
|
2724
|
+
},
|
|
2725
|
+
to_csv: {
|
|
2726
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_csv",
|
|
2727
|
+
description: "Returns a CSV string with a given struct value",
|
|
2728
|
+
origin: "spark-docs",
|
|
2729
|
+
},
|
|
2730
|
+
to_date: {
|
|
2731
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_date",
|
|
2732
|
+
description: "Parses the date_str expression with the fmt expression to a date.",
|
|
2733
|
+
origin: "spark-docs",
|
|
2734
|
+
},
|
|
2735
|
+
to_geography: {
|
|
2736
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_geography",
|
|
2737
|
+
origin: "vendor-docs",
|
|
2738
|
+
},
|
|
2739
|
+
to_geometry: {
|
|
2740
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_geometry",
|
|
2741
|
+
origin: "vendor-docs",
|
|
2742
|
+
},
|
|
2743
|
+
to_json: {
|
|
2744
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_json",
|
|
2745
|
+
description: "Returns a JSON string with a given struct value",
|
|
2746
|
+
origin: "spark-docs",
|
|
2747
|
+
},
|
|
2748
|
+
to_number: {
|
|
2749
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_number",
|
|
2750
|
+
description: "Convert string 'expr' to a number based on the string format 'fmt'.",
|
|
2751
|
+
origin: "spark-docs",
|
|
2752
|
+
},
|
|
2753
|
+
to_time: {
|
|
2754
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_time",
|
|
2755
|
+
origin: "vendor-docs",
|
|
2756
|
+
},
|
|
2757
|
+
to_timestamp: {
|
|
2758
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_timestamp",
|
|
2759
|
+
description: "Parses the timestamp_str expression with the fmt expression to a timestamp.",
|
|
2760
|
+
origin: "spark-docs",
|
|
2761
|
+
},
|
|
2762
|
+
to_unix_timestamp: {
|
|
2763
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_unix_timestamp",
|
|
2764
|
+
description: "Returns the UNIX timestamp of the given time.",
|
|
2765
|
+
origin: "spark-docs",
|
|
2766
|
+
},
|
|
2767
|
+
to_utc_timestamp: {
|
|
2768
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_utc_timestamp",
|
|
2769
|
+
description: "Given a timestamp like '2017-07-14 02:40:00.0', interprets it as a time in the given time zone, and renders that time as a timestamp in UTC.",
|
|
2770
|
+
origin: "spark-docs",
|
|
2771
|
+
},
|
|
2772
|
+
to_variant_object: {
|
|
2773
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_variant_object",
|
|
2774
|
+
description: "Convert a nested input (array/map/struct) into a variant where maps and structs are converted to variant objects which are unordered unlike SQL structs.",
|
|
2775
|
+
origin: "spark-docs",
|
|
2776
|
+
},
|
|
2777
|
+
to_xml: {
|
|
2778
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/to_xml",
|
|
2779
|
+
description: "Returns a XML string with a given struct value",
|
|
2780
|
+
origin: "spark-docs",
|
|
2781
|
+
},
|
|
2782
|
+
transform: {
|
|
2783
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/transform",
|
|
2784
|
+
description: "Transforms elements in an array using the function.",
|
|
2785
|
+
origin: "spark-docs",
|
|
2786
|
+
},
|
|
2787
|
+
transform_keys: {
|
|
2788
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/transform_keys",
|
|
2789
|
+
description: "Transforms elements in a map using the function.",
|
|
2790
|
+
origin: "spark-docs",
|
|
2791
|
+
},
|
|
2792
|
+
transform_values: {
|
|
2793
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/transform_values",
|
|
2794
|
+
description: "Transforms values in the map using the function.",
|
|
2795
|
+
origin: "spark-docs",
|
|
2796
|
+
},
|
|
2797
|
+
trim: {
|
|
2798
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/trim",
|
|
2799
|
+
description: "Removes the leading and trailing space characters from str.",
|
|
2800
|
+
origin: "spark-docs",
|
|
2801
|
+
},
|
|
2802
|
+
trunc: {
|
|
2803
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/trunc",
|
|
2804
|
+
description: "Returns date with the time portion of the day truncated to the unit specified by the format model fmt.",
|
|
2805
|
+
origin: "spark-docs",
|
|
2806
|
+
},
|
|
2807
|
+
try_add: {
|
|
2808
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_add",
|
|
2809
|
+
description: "Returns the sum of expr1 and expr2 and the result is null on overflow.",
|
|
2810
|
+
origin: "spark-docs",
|
|
2811
|
+
},
|
|
2812
|
+
try_aes_decrypt: {
|
|
2813
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_aes_decrypt",
|
|
2814
|
+
description: "This is a special version of aes_decrypt that performs the same operation, but returns a NULL value instead of raising an error if the decryption cannot be performed.",
|
|
2815
|
+
origin: "spark-docs",
|
|
2816
|
+
},
|
|
2817
|
+
try_avg: {
|
|
2818
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_avg",
|
|
2819
|
+
description: "Returns the mean calculated from values of a group and the result is null on overflow.",
|
|
2820
|
+
origin: "spark-docs",
|
|
2821
|
+
},
|
|
2822
|
+
try_divide: {
|
|
2823
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_divide",
|
|
2824
|
+
description: "Returns dividend / divisor.",
|
|
2825
|
+
origin: "spark-docs",
|
|
2826
|
+
},
|
|
2827
|
+
try_element_at: {
|
|
2828
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_element_at",
|
|
2829
|
+
description: "Returns element of array at given (1-based) index.",
|
|
2830
|
+
origin: "spark-docs",
|
|
2831
|
+
},
|
|
2832
|
+
try_ip_as_binary: {
|
|
2833
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_ip_as_binary",
|
|
2834
|
+
description: "Converts an IP address or CIDR notation to binary form, returning null on invalid input.",
|
|
2835
|
+
origin: "authored",
|
|
2836
|
+
},
|
|
2837
|
+
try_ip_as_string: {
|
|
2838
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_ip_as_string",
|
|
2839
|
+
description: "Converts an IP address or CIDR notation to string representation, returning null on failure.",
|
|
2840
|
+
origin: "authored",
|
|
2841
|
+
},
|
|
2842
|
+
try_ip_cidr: {
|
|
2843
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_ip_cidr",
|
|
2844
|
+
origin: "vendor-docs",
|
|
2845
|
+
},
|
|
2846
|
+
try_ip_host: {
|
|
2847
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_ip_host",
|
|
2848
|
+
origin: "vendor-docs",
|
|
2849
|
+
},
|
|
2850
|
+
try_mod: {
|
|
2851
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_mod",
|
|
2852
|
+
description: "Returns the remainder after expr1 / expr2.",
|
|
2853
|
+
origin: "spark-docs",
|
|
2854
|
+
},
|
|
2855
|
+
try_multiply: {
|
|
2856
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_multiply",
|
|
2857
|
+
description: "Returns expr1 * expr2 and the result is null on overflow.",
|
|
2858
|
+
origin: "spark-docs",
|
|
2859
|
+
},
|
|
2860
|
+
try_parse_json: {
|
|
2861
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_parse_json",
|
|
2862
|
+
description: "Parse a JSON string as a Variant value.",
|
|
2863
|
+
origin: "spark-docs",
|
|
2864
|
+
},
|
|
2865
|
+
try_secret: {
|
|
2866
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_secret",
|
|
2867
|
+
description: "Retrieves a secret from Databricks secret storage, returning null if the secret does not exist.",
|
|
2868
|
+
origin: "authored",
|
|
2869
|
+
},
|
|
2870
|
+
try_subtract: {
|
|
2871
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_subtract",
|
|
2872
|
+
description: "Returns expr1 - expr2 and the result is null on overflow.",
|
|
2873
|
+
origin: "spark-docs",
|
|
2874
|
+
},
|
|
2875
|
+
try_sum: {
|
|
2876
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_sum",
|
|
2877
|
+
description: "Returns the sum calculated from values of a group and the result is null on overflow.",
|
|
2878
|
+
origin: "spark-docs",
|
|
2879
|
+
},
|
|
2880
|
+
try_to_binary: {
|
|
2881
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_to_binary",
|
|
2882
|
+
description: "This is a special version of to_binary that performs the same operation, but returns a NULL value instead of raising an error if the conversion cannot be performed.",
|
|
2883
|
+
origin: "spark-docs",
|
|
2884
|
+
},
|
|
2885
|
+
try_to_geography: {
|
|
2886
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_to_geography",
|
|
2887
|
+
origin: "vendor-docs",
|
|
2888
|
+
},
|
|
2889
|
+
try_to_geometry: {
|
|
2890
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_to_geometry",
|
|
2891
|
+
origin: "vendor-docs",
|
|
2892
|
+
},
|
|
2893
|
+
try_to_number: {
|
|
2894
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_to_number",
|
|
2895
|
+
description: "Convert string 'expr' to a number based on the string format fmt.",
|
|
2896
|
+
origin: "spark-docs",
|
|
2897
|
+
},
|
|
2898
|
+
try_to_time: {
|
|
2899
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_to_time",
|
|
2900
|
+
description: "Converts a string or expression to a time value with optional format, returning null on failure.",
|
|
2901
|
+
origin: "authored",
|
|
2902
|
+
},
|
|
2903
|
+
try_to_timestamp: {
|
|
2904
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_to_timestamp",
|
|
2905
|
+
description: "Parses the timestamp_str expression with the fmt expression to a timestamp.",
|
|
2906
|
+
origin: "spark-docs",
|
|
2907
|
+
},
|
|
2908
|
+
try_url_decode: {
|
|
2909
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_url_decode",
|
|
2910
|
+
description: "This is a special version of url_decode that performs the same operation, but returns a NULL value instead of raising an error if the decoding cannot be performed.",
|
|
2911
|
+
origin: "spark-docs",
|
|
2912
|
+
},
|
|
2913
|
+
try_validate_utf8: {
|
|
2914
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_validate_utf8",
|
|
2915
|
+
description: "Returns the original string if str is a valid UTF-8 string, otherwise returns NULL.",
|
|
2916
|
+
origin: "spark-docs",
|
|
2917
|
+
},
|
|
2918
|
+
try_variant_get: {
|
|
2919
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_variant_get",
|
|
2920
|
+
description: "Extracts a sub-variant from v according to path, and then cast the sub-variant to type.",
|
|
2921
|
+
origin: "spark-docs",
|
|
2922
|
+
},
|
|
2923
|
+
try_zstd_decompress: {
|
|
2924
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/try_zstd_decompress",
|
|
2925
|
+
description: "Decompresses data using the ZSTD algorithm, returning null if decompression fails.",
|
|
2926
|
+
origin: "authored",
|
|
2927
|
+
},
|
|
2928
|
+
tuple_difference_double: {
|
|
2929
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_difference_double",
|
|
2930
|
+
description: "Returns a tuple sketch representing elements in the first sketch but not in the second with double summaries.",
|
|
2931
|
+
origin: "authored",
|
|
2932
|
+
},
|
|
2933
|
+
tuple_difference_integer: {
|
|
2934
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_difference_integer",
|
|
2935
|
+
description: "Returns a tuple sketch representing elements in the first sketch but not in the second with integer summaries.",
|
|
2936
|
+
origin: "authored",
|
|
2937
|
+
},
|
|
2938
|
+
tuple_intersection_agg_double: {
|
|
2939
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_intersection_agg_double",
|
|
2940
|
+
description: "Aggregates tuple sketches by computing their intersection with double-type summaries over rows.",
|
|
2941
|
+
origin: "authored",
|
|
2942
|
+
},
|
|
2943
|
+
tuple_intersection_agg_integer: {
|
|
2944
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_intersection_agg_integer",
|
|
2945
|
+
description: "Aggregates tuple sketches by computing their intersection with integer-type summaries over rows.",
|
|
2946
|
+
origin: "authored",
|
|
2947
|
+
},
|
|
2948
|
+
tuple_intersection_double: {
|
|
2949
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_intersection_double",
|
|
2950
|
+
description: "Returns a tuple sketch representing key-value pairs common to both sketches with double summaries.",
|
|
2951
|
+
origin: "authored",
|
|
2952
|
+
},
|
|
2953
|
+
tuple_intersection_integer: {
|
|
2954
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_intersection_integer",
|
|
2955
|
+
description: "Returns a tuple sketch representing key-value pairs common to both sketches with integer summaries.",
|
|
2956
|
+
origin: "authored",
|
|
2957
|
+
},
|
|
2958
|
+
tuple_sketch_agg_double: {
|
|
2959
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_agg_double",
|
|
2960
|
+
origin: "vendor-docs",
|
|
2961
|
+
},
|
|
2962
|
+
tuple_sketch_agg_integer: {
|
|
2963
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_agg_integer",
|
|
2964
|
+
origin: "vendor-docs",
|
|
2965
|
+
},
|
|
2966
|
+
tuple_sketch_estimate_double: {
|
|
2967
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_estimate_double",
|
|
2968
|
+
origin: "vendor-docs",
|
|
2969
|
+
},
|
|
2970
|
+
tuple_sketch_estimate_integer: {
|
|
2971
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_estimate_integer",
|
|
2972
|
+
origin: "vendor-docs",
|
|
2973
|
+
},
|
|
2974
|
+
tuple_sketch_summary_double: {
|
|
2975
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_summary_double",
|
|
2976
|
+
description: "Returns summary statistics as a double from a tuple sketch containing numeric summaries.",
|
|
2977
|
+
origin: "authored",
|
|
2978
|
+
},
|
|
2979
|
+
tuple_sketch_summary_integer: {
|
|
2980
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_summary_integer",
|
|
2981
|
+
description: "Returns summary statistics as an integer from a tuple sketch containing numeric summaries.",
|
|
2982
|
+
origin: "authored",
|
|
2983
|
+
},
|
|
2984
|
+
tuple_sketch_theta_double: {
|
|
2985
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_theta_double",
|
|
2986
|
+
description: "Extracts the theta (inclusion probability threshold) value from a tuple sketch as a double.",
|
|
2987
|
+
origin: "authored",
|
|
2988
|
+
},
|
|
2989
|
+
tuple_sketch_theta_integer: {
|
|
2990
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_sketch_theta_integer",
|
|
2991
|
+
origin: "vendor-docs",
|
|
2992
|
+
},
|
|
2993
|
+
tuple_union_agg_double: {
|
|
2994
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_union_agg_double",
|
|
2995
|
+
description: "Aggregates unions of tuple sketches across rows to combine approximate summaries with double-typed data.",
|
|
2996
|
+
origin: "authored",
|
|
2997
|
+
},
|
|
2998
|
+
tuple_union_agg_integer: {
|
|
2999
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_union_agg_integer",
|
|
3000
|
+
description: "Aggregates unions of tuple sketches across rows to combine approximate summaries with integer-typed data.",
|
|
3001
|
+
origin: "authored",
|
|
3002
|
+
},
|
|
3003
|
+
tuple_union_double: {
|
|
3004
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_union_double",
|
|
3005
|
+
description: "Returns the union of two tuple sketches, combining their approximate summaries of double-typed data.",
|
|
3006
|
+
origin: "authored",
|
|
3007
|
+
},
|
|
3008
|
+
tuple_union_integer: {
|
|
3009
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/tuple_union_integer",
|
|
3010
|
+
description: "Returns the union of two tuple sketches, combining their approximate summaries of integer-typed data.",
|
|
3011
|
+
origin: "authored",
|
|
3012
|
+
},
|
|
3013
|
+
typeof: {
|
|
3014
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/typeof",
|
|
3015
|
+
description: "Return DDL-formatted type string for the data type of the input.",
|
|
3016
|
+
origin: "spark-docs",
|
|
3017
|
+
},
|
|
3018
|
+
ucase: {
|
|
3019
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/ucase",
|
|
3020
|
+
description: "Returns str with all characters changed to uppercase.",
|
|
3021
|
+
origin: "spark-docs",
|
|
3022
|
+
},
|
|
3023
|
+
unbase64: {
|
|
3024
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/unbase64",
|
|
3025
|
+
description: "Converts the argument from a base 64 string str to a binary.",
|
|
3026
|
+
origin: "spark-docs",
|
|
3027
|
+
},
|
|
3028
|
+
unhex: {
|
|
3029
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/unhex",
|
|
3030
|
+
description: "Converts hexadecimal expr to binary.",
|
|
3031
|
+
origin: "spark-docs",
|
|
3032
|
+
},
|
|
3033
|
+
uniform: {
|
|
3034
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/uniform",
|
|
3035
|
+
description: "Returns a random value with independent and identically distributed (i.i.d.) values with the specified range of numbers.",
|
|
3036
|
+
origin: "spark-docs",
|
|
3037
|
+
},
|
|
3038
|
+
unix_date: {
|
|
3039
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/unix_date",
|
|
3040
|
+
description: "Returns the number of days since 1970-01-01.",
|
|
3041
|
+
origin: "spark-docs",
|
|
3042
|
+
},
|
|
3043
|
+
unix_micros: {
|
|
3044
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/unix_micros",
|
|
3045
|
+
description: "Returns the number of microseconds since 1970-01-01 00:00:00 UTC.",
|
|
3046
|
+
origin: "spark-docs",
|
|
3047
|
+
},
|
|
3048
|
+
unix_millis: {
|
|
3049
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/unix_millis",
|
|
3050
|
+
description: "Returns the number of milliseconds since 1970-01-01 00:00:00 UTC.",
|
|
3051
|
+
origin: "spark-docs",
|
|
3052
|
+
},
|
|
3053
|
+
unix_seconds: {
|
|
3054
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/unix_seconds",
|
|
3055
|
+
description: "Returns the number of seconds since 1970-01-01 00:00:00 UTC.",
|
|
3056
|
+
origin: "spark-docs",
|
|
3057
|
+
},
|
|
3058
|
+
upper: {
|
|
3059
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/upper",
|
|
3060
|
+
description: "Returns str with all characters changed to uppercase.",
|
|
3061
|
+
origin: "spark-docs",
|
|
3062
|
+
},
|
|
3063
|
+
url_decode: {
|
|
3064
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/url_decode",
|
|
3065
|
+
description: "Decodes a str in 'application/x-www-form-urlencoded' format using a specific encoding scheme.",
|
|
3066
|
+
origin: "spark-docs",
|
|
3067
|
+
},
|
|
3068
|
+
url_encode: {
|
|
3069
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/url_encode",
|
|
3070
|
+
description: "Translates a string into 'application/x-www-form-urlencoded' format using a specific encoding scheme.",
|
|
3071
|
+
origin: "spark-docs",
|
|
3072
|
+
},
|
|
3073
|
+
user: {
|
|
3074
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/user",
|
|
3075
|
+
description: "user name of current execution context.",
|
|
3076
|
+
origin: "spark-docs",
|
|
3077
|
+
},
|
|
3078
|
+
uuid: {
|
|
3079
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/uuid",
|
|
3080
|
+
description: "Returns an universally unique identifier (UUID) string.",
|
|
3081
|
+
origin: "spark-docs",
|
|
3082
|
+
},
|
|
3083
|
+
validate_utf8: {
|
|
3084
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/validate_utf8",
|
|
3085
|
+
description: "Returns the original string if str is a valid UTF-8 string, otherwise throws an exception.",
|
|
3086
|
+
origin: "spark-docs",
|
|
3087
|
+
},
|
|
3088
|
+
var_pop: {
|
|
3089
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/var_pop",
|
|
3090
|
+
description: "Returns the population variance calculated from values of a group.",
|
|
3091
|
+
origin: "spark-docs",
|
|
3092
|
+
},
|
|
3093
|
+
var_samp: {
|
|
3094
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/var_samp",
|
|
3095
|
+
description: "Returns the sample variance calculated from values of a group.",
|
|
3096
|
+
origin: "spark-docs",
|
|
3097
|
+
},
|
|
3098
|
+
variance: {
|
|
3099
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/variance",
|
|
3100
|
+
description: "Returns the sample variance calculated from values of a group.",
|
|
3101
|
+
origin: "spark-docs",
|
|
3102
|
+
},
|
|
3103
|
+
variant_explode: {
|
|
3104
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/variant_explode",
|
|
3105
|
+
description: "It separates a variant object/array into multiple rows containing its fields/elements.",
|
|
3106
|
+
origin: "spark-docs",
|
|
3107
|
+
},
|
|
3108
|
+
variant_explode_outer: {
|
|
3109
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/variant_explode_outer",
|
|
3110
|
+
description: "It separates a variant object/array into multiple rows containing its fields/elements.",
|
|
3111
|
+
origin: "spark-docs",
|
|
3112
|
+
},
|
|
3113
|
+
variant_get: {
|
|
3114
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/variant_get",
|
|
3115
|
+
description: "Extracts a sub-variant from v according to path, and then cast the sub-variant to type.",
|
|
3116
|
+
origin: "spark-docs",
|
|
3117
|
+
},
|
|
3118
|
+
vector_avg: {
|
|
3119
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_avg",
|
|
3120
|
+
description: "Computes the element-wise average of a collection of vectors.",
|
|
3121
|
+
origin: "authored",
|
|
3122
|
+
},
|
|
3123
|
+
vector_cosine_similarity: {
|
|
3124
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_cosine_similarity",
|
|
3125
|
+
origin: "vendor-docs",
|
|
3126
|
+
},
|
|
3127
|
+
vector_inner_product: {
|
|
3128
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_inner_product",
|
|
3129
|
+
description: "Computes the inner (dot) product of two vectors.",
|
|
3130
|
+
origin: "authored",
|
|
3131
|
+
},
|
|
3132
|
+
vector_l2_distance: {
|
|
3133
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_l2_distance",
|
|
3134
|
+
description: "Computes the Euclidean (L2) distance between two vectors.",
|
|
3135
|
+
origin: "authored",
|
|
3136
|
+
},
|
|
3137
|
+
vector_norm: {
|
|
3138
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_norm",
|
|
3139
|
+
description: "Computes the norm (magnitude) of a vector, with optional degree parameter to specify which norm to compute.",
|
|
3140
|
+
origin: "authored",
|
|
3141
|
+
},
|
|
3142
|
+
vector_normalize: {
|
|
3143
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_normalize",
|
|
3144
|
+
description: "Scales a vector to unit length, with optional degree parameter specifying the normalization method.",
|
|
3145
|
+
origin: "authored",
|
|
3146
|
+
},
|
|
3147
|
+
vector_sum: {
|
|
3148
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/vector_sum",
|
|
3149
|
+
description: "Computes the element-wise sum of a collection of vectors.",
|
|
3150
|
+
origin: "authored",
|
|
3151
|
+
},
|
|
3152
|
+
version: {
|
|
3153
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/version",
|
|
3154
|
+
description: "Returns the Spark version.",
|
|
3155
|
+
origin: "spark-docs",
|
|
3156
|
+
},
|
|
3157
|
+
weekday: {
|
|
3158
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/weekday",
|
|
3159
|
+
description: "Returns the day of the week for date/timestamp (0 = Monday, 1 = Tuesday,..., 6 = Sunday).",
|
|
3160
|
+
origin: "spark-docs",
|
|
3161
|
+
},
|
|
3162
|
+
weekofyear: {
|
|
3163
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/weekofyear",
|
|
3164
|
+
description: "Returns the week of the year of the given date.",
|
|
3165
|
+
origin: "spark-docs",
|
|
3166
|
+
},
|
|
3167
|
+
width_bucket: {
|
|
3168
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/width_bucket",
|
|
3169
|
+
description: 'Returns the bucket number to which value would be assigned in an equiwidth histogram with num_bucket buckets, in the range min_value to max_value."',
|
|
3170
|
+
origin: "spark-docs",
|
|
3171
|
+
},
|
|
3172
|
+
window: {
|
|
3173
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/window",
|
|
3174
|
+
description: "Bucketize rows into one or more time windows given a timestamp specifying column.",
|
|
3175
|
+
origin: "spark-docs",
|
|
3176
|
+
},
|
|
3177
|
+
window_time: {
|
|
3178
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/window_time",
|
|
3179
|
+
description: "Extract the time value from time/session window column which can be used for event time value of window.",
|
|
3180
|
+
origin: "spark-docs",
|
|
3181
|
+
},
|
|
3182
|
+
xpath: {
|
|
3183
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath",
|
|
3184
|
+
description: "Returns a string array of values within the nodes of xml that match the XPath expression.",
|
|
3185
|
+
origin: "spark-docs",
|
|
3186
|
+
},
|
|
3187
|
+
xpath_boolean: {
|
|
3188
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_boolean",
|
|
3189
|
+
description: "Returns true if the XPath expression evaluates to true, or if a matching node is found.",
|
|
3190
|
+
origin: "spark-docs",
|
|
3191
|
+
},
|
|
3192
|
+
xpath_double: {
|
|
3193
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_double",
|
|
3194
|
+
description: "Returns a double value, the value zero if no match is found, or NaN if a match is found but the value is non-numeric.",
|
|
3195
|
+
origin: "spark-docs",
|
|
3196
|
+
},
|
|
3197
|
+
xpath_float: {
|
|
3198
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_float",
|
|
3199
|
+
description: "Returns a float value, the value zero if no match is found, or NaN if a match is found but the value is non-numeric.",
|
|
3200
|
+
origin: "spark-docs",
|
|
3201
|
+
},
|
|
3202
|
+
xpath_int: {
|
|
3203
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_int",
|
|
3204
|
+
description: "Returns an integer value, or the value zero if no match is found, or a match is found but the value is non-numeric.",
|
|
3205
|
+
origin: "spark-docs",
|
|
3206
|
+
},
|
|
3207
|
+
xpath_long: {
|
|
3208
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_long",
|
|
3209
|
+
description: "Returns a long integer value, or the value zero if no match is found, or a match is found but the value is non-numeric.",
|
|
3210
|
+
origin: "spark-docs",
|
|
3211
|
+
},
|
|
3212
|
+
xpath_number: {
|
|
3213
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_number",
|
|
3214
|
+
description: "Returns a double value, the value zero if no match is found, or NaN if a match is found but the value is non-numeric.",
|
|
3215
|
+
origin: "spark-docs",
|
|
3216
|
+
},
|
|
3217
|
+
xpath_short: {
|
|
3218
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_short",
|
|
3219
|
+
description: "Returns a short integer value, or the value zero if no match is found, or a match is found but the value is non-numeric.",
|
|
3220
|
+
origin: "spark-docs",
|
|
3221
|
+
},
|
|
3222
|
+
xpath_string: {
|
|
3223
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xpath_string",
|
|
3224
|
+
description: "Returns the text contents of the first xml node that matches the XPath expression.",
|
|
3225
|
+
origin: "spark-docs",
|
|
3226
|
+
},
|
|
3227
|
+
xxhash64: {
|
|
3228
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/xxhash64",
|
|
3229
|
+
description: "Returns a 64-bit hash value of the arguments.",
|
|
3230
|
+
origin: "spark-docs",
|
|
3231
|
+
},
|
|
3232
|
+
year: {
|
|
3233
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/year",
|
|
3234
|
+
description: "Returns the year component of the date/timestamp.",
|
|
3235
|
+
origin: "spark-docs",
|
|
3236
|
+
},
|
|
3237
|
+
zeroifnull: {
|
|
3238
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/zeroifnull",
|
|
3239
|
+
description: "Returns zero if expr is equal to null, or expr otherwise.",
|
|
3240
|
+
origin: "spark-docs",
|
|
3241
|
+
},
|
|
3242
|
+
zip_with: {
|
|
3243
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/zip_with",
|
|
3244
|
+
description: "Merges the two given arrays, element-wise, into a single array using function.",
|
|
3245
|
+
origin: "spark-docs",
|
|
3246
|
+
},
|
|
3247
|
+
zstd_compress: {
|
|
3248
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/zstd_compress",
|
|
3249
|
+
description: "Compresses data using the Zstandard (zstd) algorithm, with optional compression level and streaming mode parameters.",
|
|
3250
|
+
origin: "authored",
|
|
3251
|
+
},
|
|
3252
|
+
zstd_decompress: {
|
|
3253
|
+
docUrl: "https://docs.databricks.com/aws/en/sql/language-manual/functions/zstd_decompress",
|
|
3254
|
+
description: "Decompresses data that was compressed with the Zstandard (zstd) algorithm.",
|
|
3255
|
+
origin: "authored",
|
|
3256
|
+
},
|
|
3257
|
+
};
|