sqllens 1.0.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/LICENSE +0 -10
  2. package/README.md +95 -85
  3. package/THIRD-PARTY-NOTICES.md +70 -5
  4. package/dist/api.d.ts +5 -3
  5. package/dist/api.js +17 -4
  6. package/dist/bigquery/behavior.d.ts +2 -0
  7. package/dist/bigquery/behavior.js +20 -0
  8. package/dist/bigquery/dot-path.d.ts +0 -2
  9. package/dist/bigquery/dot-path.js +0 -1
  10. package/dist/bigquery/fold.d.ts +8 -0
  11. package/dist/bigquery/fold.js +39 -0
  12. package/dist/bigquery/index.d.ts +7 -0
  13. package/dist/bigquery/index.js +10 -0
  14. package/dist/{infer/bigquery.d.ts → bigquery/infer.d.ts} +2 -2
  15. package/dist/{infer/bigquery.js → bigquery/infer.js} +4 -3
  16. package/dist/bigquery/lower.js +35 -12
  17. package/dist/bigquery/signatures.generated.d.ts +6 -0
  18. package/dist/bigquery/signatures.generated.js +1068 -0
  19. package/dist/completion/atn-walk.d.ts +13 -2
  20. package/dist/completion/atn-walk.js +13 -10
  21. package/dist/completion/complete.d.ts +4 -3
  22. package/dist/completion/complete.js +101 -45
  23. package/dist/completion/config.js +66 -0
  24. package/dist/completion/jinja-slot.d.ts +24 -0
  25. package/dist/completion/jinja-slot.js +126 -0
  26. package/dist/completion/parser-factory.d.ts +13 -1
  27. package/dist/completion/parser-factory.js +48 -0
  28. package/dist/databricks/behavior.d.ts +2 -0
  29. package/dist/databricks/behavior.js +19 -0
  30. package/dist/databricks/fold.d.ts +8 -0
  31. package/dist/databricks/fold.js +27 -0
  32. package/dist/databricks/index.d.ts +7 -0
  33. package/dist/databricks/index.js +10 -0
  34. package/dist/databricks/infer.d.ts +6 -0
  35. package/dist/databricks/infer.js +638 -0
  36. package/dist/databricks/signatures.generated.d.ts +6 -0
  37. package/dist/databricks/signatures.generated.js +1745 -0
  38. package/dist/derived-dialects.js +19 -1
  39. package/dist/dialect-behavior/behavior.d.ts +26 -0
  40. package/dist/dialect-behavior/behavior.js +1 -0
  41. package/dist/dialect-behavior/carrier.d.ts +5 -0
  42. package/dist/dialect-behavior/carrier.js +5 -0
  43. package/dist/dialect-behavior/coerce-rules.d.ts +7 -0
  44. package/dist/dialect-behavior/coerce-rules.js +69 -0
  45. package/dist/dialect-behavior/public-fold.d.ts +6 -0
  46. package/dist/dialect-behavior/public-fold.js +9 -0
  47. package/dist/dialect-behavior/registry.d.ts +6 -0
  48. package/dist/dialect-behavior/registry.js +34 -0
  49. package/dist/dialect-symbols.js +22 -17
  50. package/dist/dialect.d.ts +2 -2
  51. package/dist/document/document.d.ts +1 -1
  52. package/dist/document/document.js +8 -7
  53. package/dist/duckdb/behavior.d.ts +2 -0
  54. package/dist/duckdb/behavior.js +21 -0
  55. package/dist/duckdb/fold.d.ts +8 -0
  56. package/dist/duckdb/fold.js +29 -0
  57. package/dist/duckdb/index.d.ts +7 -0
  58. package/dist/duckdb/index.js +10 -0
  59. package/dist/{infer/duckdb.d.ts → duckdb/infer.d.ts} +2 -2
  60. package/dist/{infer/duckdb.js → duckdb/infer.js} +4 -3
  61. package/dist/duckdb/lower.js +47 -15
  62. package/dist/duckdb/signatures.generated.d.ts +6 -0
  63. package/dist/duckdb/signatures.generated.js +1072 -0
  64. package/dist/generated/bigquery/GoogleSQLParser.js +0 -7060
  65. package/dist/generated/databricks/DatabricksParser.js +0 -4800
  66. package/dist/generated/duckdb/DuckdbParser.js +0 -9100
  67. package/dist/generated/minijinja/MinijinjaParser.js +0 -380
  68. package/dist/generated/mysql/MysqlLexer.js +7357 -0
  69. package/dist/generated/mysql/MysqlParser.js +78520 -0
  70. package/dist/generated/postgres/PostgresParser.js +0 -8530
  71. package/dist/generated/redshift/RedshiftParser.js +0 -10970
  72. package/dist/generated/snowflake/SnowflakeParser.js +0 -7320
  73. package/dist/generated/sqlite/SqliteLexer.js +945 -0
  74. package/dist/generated/sqlite/SqliteParser.js +14682 -0
  75. package/dist/generated/trino/TrinoParser.js +0 -3770
  76. package/dist/generated/tsql/TSqlParser.js +0 -8420
  77. package/dist/ident/fold.d.ts +24 -15
  78. package/dist/ident/fold.js +12 -145
  79. package/dist/index.d.ts +6 -2
  80. package/dist/index.js +14 -8
  81. package/dist/infer/functions.d.ts +22 -11
  82. package/dist/infer/functions.js +26 -888
  83. package/dist/infer/infer.js +16 -14
  84. package/dist/infer/nullability.js +3 -4
  85. package/dist/infer/types.d.ts +1 -1
  86. package/dist/infer/types.js +7 -7
  87. package/dist/ir/ir.d.ts +26 -17
  88. package/dist/ir/part-span.d.ts +16 -1
  89. package/dist/ir/part-span.js +38 -10
  90. package/dist/ir/span.js +0 -2
  91. package/dist/ir/walk.js +3 -3
  92. package/dist/lineage/hops.js +13 -10
  93. package/dist/lineage/lineage.js +10 -7
  94. package/dist/minijinja/apply-tags.d.ts +14 -7
  95. package/dist/minijinja/apply-tags.js +66 -121
  96. package/dist/minijinja/parse.js +6 -6
  97. package/dist/minijinja/tag-ast.d.ts +29 -36
  98. package/dist/minijinja/tag-ast.js +210 -90
  99. package/dist/mysql/behavior.d.ts +2 -0
  100. package/dist/mysql/behavior.js +21 -0
  101. package/dist/mysql/fold.d.ts +8 -0
  102. package/dist/mysql/fold.js +49 -0
  103. package/dist/mysql/index.d.ts +7 -0
  104. package/dist/mysql/index.js +10 -0
  105. package/dist/mysql/infer.d.ts +20 -0
  106. package/dist/mysql/infer.js +156 -0
  107. package/dist/mysql/lower.d.ts +13 -0
  108. package/dist/mysql/lower.js +1443 -0
  109. package/dist/mysql/parse.d.ts +10 -0
  110. package/dist/mysql/parse.js +70 -0
  111. package/dist/mysql/signatures.generated.d.ts +6 -0
  112. package/dist/mysql/signatures.generated.js +508 -0
  113. package/dist/postgres/behavior.d.ts +2 -0
  114. package/dist/postgres/behavior.js +19 -0
  115. package/dist/postgres/fold.d.ts +8 -0
  116. package/dist/postgres/fold.js +30 -0
  117. package/dist/postgres/index.d.ts +7 -0
  118. package/dist/postgres/index.js +10 -0
  119. package/dist/{infer/postgres.d.ts → postgres/infer.d.ts} +2 -2
  120. package/dist/{infer/postgres.js → postgres/infer.js} +4 -3
  121. package/dist/postgres/lower.js +2 -2
  122. package/dist/postgres/signatures.generated.d.ts +6 -0
  123. package/dist/postgres/signatures.generated.js +2973 -0
  124. package/dist/qualify/check-calls.js +80 -134
  125. package/dist/qualify/qualify.js +16 -14
  126. package/dist/qualify/schema-provider.js +2 -2
  127. package/dist/qualify/schema.js +3 -3
  128. package/dist/qualify/template-provider.d.ts +45 -12
  129. package/dist/qualify/template-provider.js +69 -38
  130. package/dist/redshift/behavior.d.ts +2 -0
  131. package/dist/redshift/behavior.js +19 -0
  132. package/dist/redshift/fold.d.ts +8 -0
  133. package/dist/redshift/fold.js +31 -0
  134. package/dist/redshift/index.d.ts +7 -0
  135. package/dist/redshift/index.js +10 -0
  136. package/dist/{infer/redshift.d.ts → redshift/infer.d.ts} +2 -2
  137. package/dist/{infer/redshift.js → redshift/infer.js} +4 -3
  138. package/dist/redshift/lower.js +2 -2
  139. package/dist/redshift/signatures.generated.d.ts +6 -0
  140. package/dist/redshift/signatures.generated.js +757 -0
  141. package/dist/references/references.js +17 -12
  142. package/dist/scope/like-pattern.d.ts +2 -0
  143. package/dist/scope/like-pattern.js +15 -0
  144. package/dist/scope/scope.d.ts +5 -5
  145. package/dist/scope/scope.js +48 -42
  146. package/dist/sema/resolve.js +17 -12
  147. package/dist/session.d.ts +2 -2
  148. package/dist/signature/signature.d.ts +14 -6
  149. package/dist/signature/signature.js +30 -22
  150. package/dist/signature/signatures.d.ts +14 -12
  151. package/dist/signature/signatures.js +42 -582
  152. package/dist/snowflake/behavior.d.ts +2 -0
  153. package/dist/snowflake/behavior.js +22 -0
  154. package/dist/snowflake/fold.d.ts +8 -0
  155. package/dist/snowflake/fold.js +25 -0
  156. package/dist/snowflake/index.d.ts +7 -0
  157. package/dist/snowflake/index.js +10 -0
  158. package/dist/{infer/snowflake.d.ts → snowflake/infer.d.ts} +2 -2
  159. package/dist/{infer/snowflake.js → snowflake/infer.js} +4 -3
  160. package/dist/snowflake/lower.js +59 -19
  161. package/dist/snowflake/signatures.generated.d.ts +6 -0
  162. package/dist/snowflake/signatures.generated.js +2080 -0
  163. package/dist/sqlite/behavior.d.ts +2 -0
  164. package/dist/sqlite/behavior.js +19 -0
  165. package/dist/sqlite/fold.d.ts +8 -0
  166. package/dist/sqlite/fold.js +41 -0
  167. package/dist/sqlite/index.d.ts +7 -0
  168. package/dist/sqlite/index.js +10 -0
  169. package/dist/sqlite/infer.d.ts +12 -0
  170. package/dist/sqlite/infer.js +122 -0
  171. package/dist/sqlite/lower.d.ts +11 -0
  172. package/dist/sqlite/lower.js +1093 -0
  173. package/dist/sqlite/parse.d.ts +10 -0
  174. package/dist/sqlite/parse.js +70 -0
  175. package/dist/sqlite/signatures.generated.d.ts +6 -0
  176. package/dist/sqlite/signatures.generated.js +277 -0
  177. package/dist/symbols/symbols.js +14 -12
  178. package/dist/token/classify.js +31 -0
  179. package/dist/token/tokenize.js +4 -0
  180. package/dist/trino/behavior.d.ts +2 -0
  181. package/dist/trino/behavior.js +21 -0
  182. package/dist/trino/fold.d.ts +8 -0
  183. package/dist/trino/fold.js +39 -0
  184. package/dist/trino/index.d.ts +7 -0
  185. package/dist/trino/index.js +10 -0
  186. package/dist/{infer/trino.d.ts → trino/infer.d.ts} +2 -2
  187. package/dist/{infer/trino.js → trino/infer.js} +4 -3
  188. package/dist/trino/lower.js +5 -5
  189. package/dist/trino/signatures.generated.d.ts +6 -0
  190. package/dist/trino/signatures.generated.js +968 -0
  191. package/dist/tsql/behavior.d.ts +2 -0
  192. package/dist/tsql/behavior.js +20 -0
  193. package/dist/tsql/fold.d.ts +8 -0
  194. package/dist/tsql/fold.js +34 -0
  195. package/dist/tsql/index.d.ts +7 -0
  196. package/dist/tsql/index.js +10 -0
  197. package/dist/tsql/infer.d.ts +16 -0
  198. package/dist/tsql/infer.js +289 -0
  199. package/dist/tsql/lower.js +4 -4
  200. package/dist/tsql/signatures.generated.d.ts +6 -0
  201. package/dist/tsql/signatures.generated.js +640 -0
  202. package/package.json +15 -11
  203. package/dist/generated/bigquery/GoogleSQLLexer.d.ts +0 -407
  204. package/dist/generated/bigquery/GoogleSQLParser.d.ts +0 -9558
  205. package/dist/generated/bigquery/GoogleSQLParserListener.d.ts +0 -7777
  206. package/dist/generated/bigquery/GoogleSQLParserListener.js +0 -7070
  207. package/dist/generated/databricks/DatabricksLexer.d.ts +0 -566
  208. package/dist/generated/databricks/DatabricksParser.d.ts +0 -7771
  209. package/dist/generated/databricks/DatabricksParserListener.d.ts +0 -5737
  210. package/dist/generated/databricks/DatabricksParserListener.js +0 -5256
  211. package/dist/generated/duckdb/DuckdbLexer.d.ts +0 -691
  212. package/dist/generated/duckdb/DuckdbParser.d.ts +0 -13932
  213. package/dist/generated/duckdb/DuckdbParserListener.d.ts +0 -10049
  214. package/dist/generated/duckdb/DuckdbParserListener.js +0 -9138
  215. package/dist/generated/minijinja/MinijinjaLexer.d.ts +0 -108
  216. package/dist/generated/minijinja/MinijinjaParser.d.ts +0 -604
  217. package/dist/generated/minijinja/MinijinjaParserListener.d.ts +0 -449
  218. package/dist/generated/minijinja/MinijinjaParserListener.js +0 -410
  219. package/dist/generated/postgres/PostgresLexer.d.ts +0 -663
  220. package/dist/generated/postgres/PostgresParser.d.ts +0 -12963
  221. package/dist/generated/postgres/PostgresParserListener.d.ts +0 -9408
  222. package/dist/generated/postgres/PostgresParserListener.js +0 -8554
  223. package/dist/generated/redshift/RedshiftLexer.d.ts +0 -954
  224. package/dist/generated/redshift/RedshiftParser.d.ts +0 -16939
  225. package/dist/generated/redshift/RedshiftParserListener.d.ts +0 -12092
  226. package/dist/generated/redshift/RedshiftParserListener.js +0 -10994
  227. package/dist/generated/snowflake/SnowflakeLexer.d.ts +0 -1046
  228. package/dist/generated/snowflake/SnowflakeParser.d.ts +0 -14196
  229. package/dist/generated/snowflake/SnowflakeParserListener.d.ts +0 -8063
  230. package/dist/generated/snowflake/SnowflakeParserListener.js +0 -7330
  231. package/dist/generated/trino/TrinoLexer.d.ts +0 -381
  232. package/dist/generated/trino/TrinoParser.d.ts +0 -5340
  233. package/dist/generated/trino/TrinoParserListener.d.ts +0 -4704
  234. package/dist/generated/trino/TrinoParserListener.js +0 -4326
  235. package/dist/generated/tsql/TSqlLexer.d.ts +0 -1278
  236. package/dist/generated/tsql/TSqlParser.d.ts +0 -17267
  237. package/dist/generated/tsql/TSqlParserListener.d.ts +0 -9697
  238. package/dist/generated/tsql/TSqlParserListener.js +0 -8854
  239. package/dist/infer/dialect.d.ts +0 -21
  240. package/dist/infer/dialect.js +0 -74
  241. package/dist/infer/literals.d.ts +0 -6
  242. package/dist/infer/literals.js +0 -44
  243. package/dist/signature/generated/tsql.d.ts +0 -3
  244. package/dist/signature/generated/tsql.js +0 -260
@@ -0,0 +1,1745 @@
1
+ /** The merged function-signature table for databricks: curated overrides folded over the harvested
2
+ * doc-derived long tail (overrides win by key, replacing the whole overload set), keyed by
3
+ * lowercased name. Each name maps to an ORDERED overload set - a name with one documented shape
4
+ * is a one-element array. `origin` says which layer produced the set. */
5
+ export const DATABRICKS_SIGNATURES = {
6
+ abs: [{ name: "abs", params: [{ name: "expr", type: "numeric" }], origin: "curated" }], // curated: abs function
7
+ acos: [{ name: "acos", params: [{ name: "expr" }], origin: "harvested" }], // functions/acos/1.txt
8
+ acosh: [{ name: "acosh", params: [{ name: "expr" }], origin: "harvested" }], // functions/acosh/1.txt
9
+ add_months: [{ name: "add_months", params: [{ name: "startDate" }, { name: "numMonths" }], origin: "harvested" }], // functions/add_months/1.txt
10
+ aes_decrypt: [
11
+ {
12
+ name: "aes_decrypt",
13
+ params: [
14
+ { name: "expr" },
15
+ { name: "key" },
16
+ { name: "mode", optional: true },
17
+ { name: "padding", optional: true },
18
+ { name: "aad", optional: true },
19
+ ],
20
+ origin: "harvested",
21
+ },
22
+ ], // functions/aes_decrypt/1.txt
23
+ aes_encrypt: [
24
+ {
25
+ name: "aes_encrypt",
26
+ params: [
27
+ { name: "expr" },
28
+ { name: "key" },
29
+ { name: "mode", optional: true },
30
+ { name: "padding", optional: true },
31
+ { name: "iv", optional: true },
32
+ { name: "aad", optional: true },
33
+ ],
34
+ origin: "harvested",
35
+ },
36
+ ], // functions/aes_encrypt/1.txt
37
+ agg: [{ name: "agg", params: [{ name: "measure_column" }], origin: "harvested" }], // functions/agg/1.txt
38
+ aggregate: [
39
+ {
40
+ name: "aggregate",
41
+ params: [{ name: "expr" }, { name: "start" }, { name: "merge" }, { name: "finish", optional: true }],
42
+ origin: "harvested",
43
+ },
44
+ ], // functions/aggregate/1.txt
45
+ ai_analyze_sentiment: [{ name: "ai_analyze_sentiment", params: [{ name: "content" }], origin: "harvested" }], // functions/ai_analyze_sentiment/1.txt
46
+ ai_classify: [
47
+ {
48
+ name: "ai_classify",
49
+ params: [{ name: "content" }, { name: "labels" }, { name: "options", optional: true }],
50
+ origin: "harvested",
51
+ },
52
+ ], // functions/ai_classify/1.txt
53
+ ai_extract: [
54
+ {
55
+ name: "ai_extract",
56
+ params: [{ name: "content" }, { name: "schema" }, { name: "options", optional: true }],
57
+ origin: "harvested",
58
+ },
59
+ {
60
+ name: "ai_extract",
61
+ params: [{ name: "content" }, { name: "labels" }, { name: "options", optional: true }],
62
+ origin: "harvested",
63
+ },
64
+ ], // functions/ai_extract/1.txt, functions/ai_extract/3.txt
65
+ ai_fix_grammar: [{ name: "ai_fix_grammar", params: [{ name: "content" }], origin: "harvested" }], // functions/ai_fix_grammar/1.txt
66
+ ai_gen: [{ name: "ai_gen", params: [{ name: "prompt" }], origin: "harvested" }], // functions/ai_gen/1.txt
67
+ ai_mask: [{ name: "ai_mask", params: [{ name: "content" }, { name: "labels" }], origin: "harvested" }], // functions/ai_mask/1.txt
68
+ ai_parse_document: [
69
+ {
70
+ name: "ai_parse_document",
71
+ params: [{ name: "content" }, { name: "options", optional: true }],
72
+ origin: "curated",
73
+ },
74
+ ], // curated: ai_parse_document(content) | ai_parse_document(content, Map("version" -> "2.0"))
75
+ ai_prep_search: [
76
+ {
77
+ name: "ai_prep_search",
78
+ params: [{ name: "parsed" }, { name: "options", optional: true }],
79
+ origin: "harvested",
80
+ },
81
+ ], // functions/ai_prep_search/1.txt
82
+ ai_query: [
83
+ {
84
+ name: "ai_query",
85
+ params: [
86
+ { name: "endpoint" },
87
+ { name: "request" },
88
+ { name: "returnType", optional: true },
89
+ { name: "failOnError", optional: true },
90
+ ],
91
+ origin: "harvested",
92
+ },
93
+ ], // functions/ai_query/3.txt
94
+ ai_similarity: [{ name: "ai_similarity", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/ai_similarity/1.txt
95
+ ai_summarize: [
96
+ {
97
+ name: "ai_summarize",
98
+ params: [{ name: "content" }, { name: "max_words", optional: true }],
99
+ origin: "harvested",
100
+ },
101
+ ], // functions/ai_summarize/1.txt
102
+ ai_translate: [{ name: "ai_translate", params: [{ name: "content" }, { name: "to_lang" }], origin: "harvested" }], // functions/ai_translate/1.txt
103
+ any_value: [
104
+ { name: "any_value", params: [{ name: "expr" }, { name: "ignoreNull", optional: true }], origin: "harvested" },
105
+ ], // functions/any_value/1.txt
106
+ approx_count_distinct: [
107
+ {
108
+ name: "approx_count_distinct",
109
+ params: [{ name: "expr" }, { name: "relativeSD", optional: true }],
110
+ origin: "harvested",
111
+ },
112
+ ], // functions/approx_count_distinct/1.txt
113
+ approx_percentile: [
114
+ {
115
+ name: "approx_percentile",
116
+ params: [{ name: "expr" }, { name: "percentile" }, { name: "accuracy", optional: true }],
117
+ origin: "harvested",
118
+ },
119
+ ], // functions/approx_percentile/1.txt
120
+ approx_top_k: [
121
+ {
122
+ name: "approx_top_k",
123
+ params: [{ name: "expr" }, { name: "k", optional: true }, { name: "maxItemsTracked", optional: true }],
124
+ origin: "harvested",
125
+ },
126
+ ], // functions/approx_top_k/1.txt
127
+ approx_top_k_accumulate: [
128
+ {
129
+ name: "approx_top_k_accumulate",
130
+ params: [{ name: "expr" }, { name: "maxItemsTracked", optional: true }],
131
+ origin: "harvested",
132
+ },
133
+ ], // functions/approx_top_k_accumulate/1.txt
134
+ approx_top_k_combine: [
135
+ {
136
+ name: "approx_top_k_combine",
137
+ params: [{ name: "state" }, { name: "maxItemsTracked", optional: true }],
138
+ origin: "harvested",
139
+ },
140
+ ], // functions/approx_top_k_combine/1.txt
141
+ approx_top_k_estimate: [
142
+ {
143
+ name: "approx_top_k_estimate",
144
+ params: [{ name: "state" }, { name: "k", optional: true }],
145
+ origin: "harvested",
146
+ },
147
+ ], // functions/approx_top_k_estimate/1.txt
148
+ array: [{ name: "array", params: [{ name: "expr" }], variadic: true, origin: "harvested" }], // functions/array/1.txt
149
+ array_agg: [{ name: "array_agg", params: [{ name: "expr" }], origin: "harvested" }], // functions/array_agg/1.txt
150
+ array_append: [{ name: "array_append", params: [{ name: "array" }, { name: "elem" }], origin: "harvested" }], // functions/array_append/1.txt
151
+ array_compact: [{ name: "array_compact", params: [{ name: "array" }], origin: "harvested" }], // functions/array_compact/1.txt
152
+ array_contains: [{ name: "array_contains", params: [{ name: "array" }, { name: "value" }], origin: "harvested" }], // functions/array_contains/1.txt
153
+ array_distinct: [{ name: "array_distinct", params: [{ name: "array" }], origin: "harvested" }], // functions/array_distinct/1.txt
154
+ array_except: [{ name: "array_except", params: [{ name: "array1" }, { name: "array2" }], origin: "harvested" }], // functions/array_except/1.txt
155
+ array_insert: [
156
+ { name: "array_insert", params: [{ name: "array" }, { name: "index" }, { name: "elem" }], origin: "harvested" },
157
+ ], // functions/array_insert/1.txt
158
+ array_intersect: [
159
+ { name: "array_intersect", params: [{ name: "array1" }, { name: "array2" }], origin: "harvested" },
160
+ ], // functions/array_intersect/1.txt
161
+ array_join: [
162
+ {
163
+ name: "array_join",
164
+ params: [{ name: "array" }, { name: "delimiter" }, { name: "nullReplacement", optional: true }],
165
+ origin: "harvested",
166
+ },
167
+ ], // functions/array_join/1.txt
168
+ array_max: [{ name: "array_max", params: [{ name: "array" }], origin: "harvested" }], // functions/array_max/1.txt
169
+ array_min: [{ name: "array_min", params: [{ name: "array" }], origin: "harvested" }], // functions/array_min/1.txt
170
+ array_position: [{ name: "array_position", params: [{ name: "array" }, { name: "element" }], origin: "harvested" }], // functions/array_position/1.txt
171
+ array_prepend: [{ name: "array_prepend", params: [{ name: "array" }, { name: "elem" }], origin: "harvested" }], // functions/array_prepend/1.txt
172
+ array_remove: [{ name: "array_remove", params: [{ name: "array" }, { name: "element" }], origin: "harvested" }], // functions/array_remove/1.txt
173
+ array_repeat: [{ name: "array_repeat", params: [{ name: "element" }, { name: "count" }], origin: "harvested" }], // functions/array_repeat/1.txt
174
+ array_size: [{ name: "array_size", params: [{ name: "array" }], origin: "harvested" }], // functions/array_size/1.txt
175
+ array_sort: [
176
+ { name: "array_sort", params: [{ name: "array" }, { name: "func", optional: true }], origin: "curated" },
177
+ ], // curated: array_sort(array[, func]) - func omitted sorts ascending (Returns section, docs.databricks.com/en/sql/language-manual/functions/array_sort)
178
+ array_union: [{ name: "array_union", params: [{ name: "array1" }, { name: "array2" }], origin: "harvested" }], // functions/array_union/1.txt
179
+ arrays_overlap: [{ name: "arrays_overlap", params: [{ name: "array1" }, { name: "array2" }], origin: "harvested" }], // functions/arrays_overlap/1.txt
180
+ arrays_zip: [{ name: "arrays_zip", params: [{ name: "array1" }], variadic: true, origin: "harvested" }], // functions/arrays_zip/1.txt
181
+ ascii: [{ name: "ascii", params: [{ name: "str" }], origin: "harvested" }], // functions/ascii/1.txt
182
+ asin: [{ name: "asin", params: [{ name: "expr" }], origin: "harvested" }], // functions/asin/1.txt
183
+ asinh: [{ name: "asinh", params: [{ name: "expr" }], origin: "harvested" }], // functions/asinh/1.txt
184
+ assert_true: [
185
+ {
186
+ name: "assert_true",
187
+ params: [{ name: "condition" }, { name: "message", optional: true }],
188
+ origin: "harvested",
189
+ },
190
+ ], // functions/assert_true/1.txt
191
+ atan: [{ name: "atan", params: [{ name: "expr" }], origin: "harvested" }], // functions/atan/1.txt
192
+ atan2: [{ name: "atan2", params: [{ name: "exprY" }, { name: "exprX" }], origin: "harvested" }], // functions/atan2/1.txt
193
+ atanh: [{ name: "atanh", params: [{ name: "expr" }], origin: "harvested" }], // functions/atanh/1.txt
194
+ avg: [{ name: "avg", params: [{ name: "expr" }], origin: "harvested" }], // functions/avg/1.txt
195
+ base64: [{ name: "base64", params: [{ name: "expr" }], origin: "harvested" }], // functions/base64/1.txt
196
+ bigint: [{ name: "bigint", params: [{ name: "expr" }], origin: "harvested" }], // functions/bigint/1.txt
197
+ bin: [{ name: "bin", params: [{ name: "expr" }], origin: "harvested" }], // functions/bin/1.txt
198
+ binary: [{ name: "binary", params: [{ name: "expr" }], origin: "harvested" }], // functions/binary/1.txt
199
+ bit_and: [{ name: "bit_and", params: [{ name: "expr" }], origin: "harvested" }], // functions/bit_and/1.txt
200
+ bit_count: [{ name: "bit_count", params: [{ name: "expr" }], origin: "harvested" }], // functions/bit_count/1.txt
201
+ bit_get: [{ name: "bit_get", params: [{ name: "expr" }, { name: "pos" }], origin: "harvested" }], // functions/bit_get/1.txt
202
+ bit_length: [{ name: "bit_length", params: [{ name: "expr" }], origin: "harvested" }], // functions/bit_length/1.txt
203
+ bit_or: [{ name: "bit_or", params: [{ name: "expr" }], origin: "harvested" }], // functions/bit_or/1.txt
204
+ bit_reverse: [{ name: "bit_reverse", params: [{ name: "expr" }], origin: "harvested" }], // functions/bit_reverse/1.txt
205
+ bit_xor: [{ name: "bit_xor", params: [{ name: "expr" }], origin: "harvested" }], // functions/bit_xor/1.txt
206
+ bitmap_and_agg: [{ name: "bitmap_and_agg", params: [{ name: "expr" }], origin: "harvested" }], // functions/bitmap_and_agg/1.txt
207
+ bitmap_bit_position: [{ name: "bitmap_bit_position", params: [{ name: "expr" }], origin: "harvested" }], // functions/bitmap_bit_position/1.txt
208
+ bitmap_bucket_number: [{ name: "bitmap_bucket_number", params: [{ name: "expr" }], origin: "harvested" }], // functions/bitmap_bucket_number/1.txt
209
+ bitmap_construct_agg: [{ name: "bitmap_construct_agg", params: [{ name: "expr" }], origin: "harvested" }], // functions/bitmap_construct_agg/1.txt
210
+ bitmap_count: [{ name: "bitmap_count", params: [{ name: "expr" }], origin: "harvested" }], // functions/bitmap_count/1.txt
211
+ bitmap_or_agg: [{ name: "bitmap_or_agg", params: [{ name: "expr" }], origin: "harvested" }], // functions/bitmap_or_agg/1.txt
212
+ bool_and: [{ name: "bool_and", params: [{ name: "expr" }], origin: "harvested" }], // functions/bool_and/1.txt
213
+ bool_or: [{ name: "bool_or", params: [{ name: "expr" }], origin: "harvested" }], // functions/bool_or/1.txt
214
+ boolean: [{ name: "boolean", params: [{ name: "expr" }], origin: "harvested" }], // functions/boolean/1.txt
215
+ bround: [
216
+ { name: "bround", params: [{ name: "expr" }, { name: "targetScale", optional: true }], origin: "harvested" },
217
+ ], // functions/bround/1.txt
218
+ btrim: [{ name: "btrim", params: [{ name: "str" }, { name: "trimStr", optional: true }], origin: "harvested" }], // functions/btrim/1.txt
219
+ cardinality: [{ name: "cardinality", params: [{ name: "expr" }], origin: "harvested" }], // functions/cardinality/1.txt
220
+ cast: [{ name: "cast", params: [{ name: "expr" }, { name: "type" }], origin: "curated" }], // curated: cast function
221
+ cbrt: [{ name: "cbrt", params: [{ name: "expr" }], origin: "harvested" }], // functions/cbrt/1.txt
222
+ ceil: [{ name: "ceil", params: [{ name: "expr" }, { name: "targetScale", optional: true }], origin: "harvested" }], // functions/ceil/1.txt
223
+ ceiling: [
224
+ { name: "ceiling", params: [{ name: "expr" }, { name: "targetScale", optional: true }], origin: "harvested" },
225
+ ], // functions/ceiling/1.txt
226
+ char: [{ name: "char", params: [{ name: "expr" }], origin: "harvested" }], // functions/char/1.txt
227
+ char_length: [{ name: "char_length", params: [{ name: "expr" }], origin: "harvested" }], // functions/char_length/1.txt
228
+ character_length: [{ name: "character_length", params: [{ name: "expr" }], origin: "harvested" }], // functions/character_length/1.txt
229
+ charindex: [
230
+ {
231
+ name: "charindex",
232
+ params: [{ name: "substr" }, { name: "str" }, { name: "pos", optional: true }],
233
+ origin: "harvested",
234
+ },
235
+ ], // functions/charindex/1.txt
236
+ chr: [{ name: "chr", params: [{ name: "expr" }], origin: "harvested" }], // functions/chr/1.txt
237
+ classifier: [{ name: "classifier", params: [], origin: "harvested" }], // functions/classifier/1.txt
238
+ coalesce: [{ name: "coalesce", params: [{ name: "expr" }], variadic: true, origin: "curated" }], // curated: coalesce function (variadic)
239
+ collation: [{ name: "collation", params: [{ name: "strExpr" }], origin: "harvested" }], // functions/collation/1.txt
240
+ collations: [{ name: "collations", params: [], origin: "harvested" }], // functions/collations/1.txt
241
+ collect_list: [{ name: "collect_list", params: [{ name: "expr" }], origin: "harvested" }], // functions/collect_list/1.txt
242
+ collect_set: [{ name: "collect_set", params: [{ name: "expr" }], origin: "harvested" }], // functions/collect_set/1.txt
243
+ concat: [{ name: "concat", params: [{ name: "expr1" }, { name: "expr2" }], variadic: true, origin: "harvested" }], // functions/concat/1.txt
244
+ concat_ws: [
245
+ {
246
+ name: "concat_ws",
247
+ params: [
248
+ { name: "sep", type: "string" },
249
+ { name: "expr", type: "string", optional: true },
250
+ ],
251
+ variadic: true,
252
+ origin: "curated",
253
+ },
254
+ ], // curated: concat_ws function - concat_ws('s') = '' is a documented valid call (separator-only)
255
+ contains: [{ name: "contains", params: [{ name: "expr" }, { name: "subExpr" }], origin: "harvested" }], // functions/contains/1.txt
256
+ conv: [{ name: "conv", params: [{ name: "num" }, { name: "fromBase" }, { name: "toBase" }], origin: "harvested" }], // functions/conv/1.txt
257
+ corr: [{ name: "corr", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/corr/1.txt
258
+ cos: [{ name: "cos", params: [{ name: "expr" }], origin: "harvested" }], // functions/cos/1.txt
259
+ cosh: [{ name: "cosh", params: [{ name: "expr" }], origin: "harvested" }], // functions/cosh/1.txt
260
+ cot: [{ name: "cot", params: [{ name: "expr" }], origin: "harvested" }], // functions/cot/1.txt
261
+ count: [{ name: "count", params: [{ name: "expr" }], variadic: true, origin: "harvested" }], // functions/count/2.txt
262
+ count_if: [{ name: "count_if", params: [{ name: "expr" }], origin: "harvested" }], // functions/count_if/1.txt
263
+ count_min_sketch: [
264
+ {
265
+ name: "count_min_sketch",
266
+ params: [{ name: "column" }, { name: "epsilon" }, { name: "confidence" }, { name: "seed" }],
267
+ origin: "harvested",
268
+ },
269
+ ], // functions/count_min_sketch/1.txt
270
+ covar_pop: [{ name: "covar_pop", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/covar_pop/1.txt
271
+ covar_samp: [{ name: "covar_samp", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/covar_samp/1.txt
272
+ crc32: [{ name: "crc32", params: [{ name: "expr" }], origin: "harvested" }], // functions/crc32/1.txt
273
+ csc: [{ name: "csc", params: [{ name: "expr" }], origin: "harvested" }], // functions/csc/1.txt
274
+ cube: [{ name: "cube", params: [{ name: "expr1" }], variadic: true, origin: "harvested" }], // functions/cube/1.txt
275
+ cume_dist: [{ name: "cume_dist", params: [], origin: "harvested" }], // functions/cume_dist/1.txt
276
+ curdate: [{ name: "curdate", params: [], origin: "harvested" }], // functions/curdate/1.txt
277
+ current_catalog: [{ name: "current_catalog", params: [], origin: "harvested" }], // functions/current_catalog/1.txt
278
+ current_database: [{ name: "current_database", params: [], origin: "harvested" }], // functions/current_database/1.txt
279
+ current_date: [{ name: "current_date", params: [], origin: "harvested" }], // functions/current_date/1.txt
280
+ current_metastore: [{ name: "current_metastore", params: [], origin: "harvested" }], // functions/current_metastore/1.txt
281
+ current_recipient: [{ name: "current_recipient", params: [{ name: "key" }], origin: "harvested" }], // functions/current_recipient/1.txt
282
+ current_schema: [{ name: "current_schema", params: [], origin: "harvested" }], // functions/current_schema/1.txt
283
+ current_time: [{ name: "current_time", params: [{ name: "precision", optional: true }], origin: "harvested" }], // functions/current_time/1.txt
284
+ current_timestamp: [{ name: "current_timestamp", params: [], origin: "harvested" }], // functions/current_timestamp/1.txt
285
+ current_timezone: [{ name: "current_timezone", params: [], origin: "harvested" }], // functions/current_timezone/1.txt
286
+ current_user: [{ name: "current_user", params: [], origin: "harvested" }], // functions/current_user/1.txt
287
+ current_version: [{ name: "current_version", params: [], origin: "harvested" }], // functions/current_version/1.txt
288
+ date: [{ name: "date", params: [{ name: "expr" }], origin: "harvested" }], // functions/date/1.txt
289
+ date_add: [
290
+ { name: "date_add", params: [{ name: "unit" }, { name: "value" }, { name: "expr" }], origin: "harvested" },
291
+ { name: "date_add", params: [{ name: "startDate" }, { name: "numDays" }], origin: "harvested" },
292
+ ], // functions/date_add3/1.txt, functions/date_add/1.txt
293
+ date_diff: [
294
+ { name: "date_diff", params: [{ name: "unit" }, { name: "start" }, { name: "end" }], origin: "harvested" },
295
+ ], // functions/date_diff/1.txt
296
+ date_format: [{ name: "date_format", params: [{ name: "expr" }, { name: "fmt" }], origin: "harvested" }], // functions/date_format/1.txt
297
+ date_from_unix_date: [{ name: "date_from_unix_date", params: [{ name: "days" }], origin: "harvested" }], // functions/date_from_unix_date/1.txt
298
+ date_part: [{ name: "date_part", params: [{ name: "fieldStr" }, { name: "expr" }], origin: "harvested" }], // functions/date_part/1.txt
299
+ date_sub: [
300
+ {
301
+ name: "date_sub",
302
+ params: [
303
+ { name: "start_date", type: "date" },
304
+ { name: "num_days", type: "int" },
305
+ ],
306
+ origin: "curated",
307
+ },
308
+ ], // curated: date_sub function - docs.databricks.com functions/date_sub documents only date_sub(startDate, numDays); no unit-based 3-arg overload exists (unlike date_add)
309
+ date_trunc: [{ name: "date_trunc", params: [{ name: "unit" }, { name: "expr" }], origin: "harvested" }], // functions/date_trunc/1.txt
310
+ dateadd: [
311
+ { name: "dateadd", params: [{ name: "unit" }, { name: "value" }, { name: "expr" }], origin: "harvested" },
312
+ { name: "dateadd", params: [{ name: "startDate" }, { name: "numDays" }], origin: "harvested" },
313
+ ], // functions/dateadd/1.txt, functions/dateadd2/1.txt
314
+ datediff: [
315
+ { name: "datediff", params: [{ name: "unit" }, { name: "start" }, { name: "end" }], origin: "harvested" },
316
+ { name: "datediff", params: [{ name: "endDate" }, { name: "startDate" }], origin: "harvested" },
317
+ ], // functions/datediff3/1.txt, functions/datediff/1.txt
318
+ day: [{ name: "day", params: [{ name: "expr" }], origin: "harvested" }], // functions/day/1.txt
319
+ dayname: [{ name: "dayname", params: [{ name: "expr" }], origin: "harvested" }], // functions/dayname/1.txt
320
+ dayofmonth: [{ name: "dayofmonth", params: [{ name: "expr" }], origin: "harvested" }], // functions/dayofmonth/1.txt
321
+ dayofweek: [{ name: "dayofweek", params: [{ name: "expr" }], origin: "harvested" }], // functions/dayofweek/1.txt
322
+ dayofyear: [{ name: "dayofyear", params: [{ name: "expr" }], origin: "harvested" }], // functions/dayofyear/1.txt
323
+ decimal: [{ name: "decimal", params: [{ name: "expr" }], origin: "harvested" }], // functions/decimal/1.txt
324
+ decode: [
325
+ { name: "decode", params: [{ name: "bin" }, { name: "charSet" }], origin: "curated" },
326
+ {
327
+ name: "decode",
328
+ params: [{ name: "expr" }, { name: "search" }, { name: "result" }],
329
+ variadic: true,
330
+ origin: "curated",
331
+ },
332
+ ], // curated: decode(bin, charSet) 2-arg charset decode, and decode(expr, search, result, ...) Oracle-style conditional decode (expr + 1+ key/value pairs + an optional default) - docs/syntax/functions/decode_cs vs decode
333
+ degrees: [{ name: "degrees", params: [{ name: "expr" }], origin: "harvested" }], // functions/degrees/1.txt
334
+ dense_rank: [{ name: "dense_rank", params: [], origin: "harvested" }], // functions/dense_rank/1.txt
335
+ double: [{ name: "double", params: [{ name: "expr" }], origin: "harvested" }], // functions/double/1.txt
336
+ e: [{ name: "e", params: [], origin: "harvested" }], // functions/e/1.txt
337
+ element_at: [
338
+ { name: "element_at", params: [{ name: "arrayExpr" }, { name: "index" }], origin: "harvested" },
339
+ { name: "element_at", params: [{ name: "mapExpr" }, { name: "key" }], origin: "harvested" },
340
+ ], // functions/element_at/1.txt, functions/element_at/2.txt
341
+ elt: [{ name: "elt", params: [{ name: "index" }, { name: "expr1" }], variadic: true, origin: "harvested" }], // functions/elt/1.txt
342
+ encode: [{ name: "encode", params: [{ name: "expr" }, { name: "charSet" }], origin: "harvested" }], // functions/encode/1.txt
343
+ endswith: [{ name: "endswith", params: [{ name: "expr" }, { name: "endExpr" }], origin: "harvested" }], // functions/endswith/1.txt
344
+ equal_null: [{ name: "equal_null", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/equal_null/1.txt
345
+ every: [{ name: "every", params: [{ name: "expr" }], origin: "harvested" }], // functions/every/1.txt
346
+ exp: [{ name: "exp", params: [{ name: "expr" }], origin: "harvested" }], // functions/exp/1.txt
347
+ explode: [{ name: "explode", params: [{ name: "collection" }], origin: "harvested" }], // functions/explode/1.txt
348
+ explode_outer: [{ name: "explode_outer", params: [{ name: "collection" }], origin: "harvested" }], // functions/explode_outer/1.txt
349
+ expm1: [{ name: "expm1", params: [{ name: "expr" }], origin: "harvested" }], // functions/expm1/1.txt
350
+ factorial: [{ name: "factorial", params: [{ name: "expr" }], origin: "harvested" }], // functions/factorial/1.txt
351
+ filter: [{ name: "filter", params: [{ name: "expr" }, { name: "func" }], origin: "harvested" }], // functions/filter/1.txt
352
+ find_in_set: [
353
+ { name: "find_in_set", params: [{ name: "searchExpr" }, { name: "sourceExpr" }], origin: "harvested" },
354
+ ], // functions/find_in_set/1.txt
355
+ first: [{ name: "first", params: [{ name: "expr" }, { name: "ignoreNull", optional: true }], origin: "harvested" }], // functions/first/1.txt
356
+ first_value: [
357
+ {
358
+ name: "first_value",
359
+ params: [{ name: "expr" }, { name: "ignoreNull", optional: true }],
360
+ origin: "harvested",
361
+ },
362
+ ], // functions/first_value/1.txt
363
+ flatten: [{ name: "flatten", params: [{ name: "expr" }], origin: "harvested" }], // functions/flatten/1.txt
364
+ float: [{ name: "float", params: [{ name: "expr" }], origin: "harvested" }], // functions/float/1.txt
365
+ floor: [
366
+ { name: "floor", params: [{ name: "expr" }, { name: "targetScale", optional: true }], origin: "harvested" },
367
+ ], // functions/floor/1.txt
368
+ forall: [{ name: "forall", params: [{ name: "expr" }, { name: "func" }], origin: "harvested" }], // functions/forall/1.txt
369
+ format_number: [
370
+ { name: "format_number", params: [{ name: "expr" }, { name: "scale" }], origin: "harvested" },
371
+ { name: "format_number", params: [{ name: "expr" }, { name: "fmt" }], origin: "harvested" },
372
+ ], // functions/format_number/1.txt, functions/format_number/2.txt
373
+ format_string: [
374
+ {
375
+ name: "format_string",
376
+ params: [{ name: "strfmt" }, { name: "obj1", optional: true }],
377
+ variadic: true,
378
+ origin: "harvested",
379
+ },
380
+ ], // functions/format_string/1.txt
381
+ from_avro: [
382
+ {
383
+ name: "from_avro",
384
+ params: [{ name: "avroBin" }, { name: "jsonSchemaStr" }, { name: "options", optional: true }],
385
+ origin: "curated",
386
+ },
387
+ ], // curated: from_avro(avroBin, jsonSchemaStr[, options]) - options optional, docs.databricks.com/en/sql/language-manual/functions/from_avro
388
+ from_csv: [
389
+ {
390
+ name: "from_csv",
391
+ params: [{ name: "csvStr" }, { name: "schema" }, { name: "options", optional: true }],
392
+ origin: "harvested",
393
+ },
394
+ ], // functions/from_csv/1.txt
395
+ from_json: [
396
+ {
397
+ name: "from_json",
398
+ params: [{ name: "jsonStr" }, { name: "schema" }, { name: "options", optional: true }],
399
+ origin: "harvested",
400
+ },
401
+ ], // functions/from_json/1.txt
402
+ from_unixtime: [
403
+ { name: "from_unixtime", params: [{ name: "unixTime" }, { name: "fmt", optional: true }], origin: "harvested" },
404
+ ], // functions/from_unixtime/1.txt
405
+ from_utc_timestamp: [
406
+ { name: "from_utc_timestamp", params: [{ name: "expr" }, { name: "timeZone" }], origin: "harvested" },
407
+ ], // functions/from_utc_timestamp/1.txt
408
+ from_xml: [
409
+ {
410
+ name: "from_xml",
411
+ params: [{ name: "xmlStr" }, { name: "schema" }, { name: "options", optional: true }],
412
+ origin: "harvested",
413
+ },
414
+ ], // functions/from_xml/1.txt
415
+ get: [{ name: "get", params: [{ name: "arrayExpr" }, { name: "index" }], origin: "harvested" }], // functions/get/1.txt
416
+ get_json_object: [{ name: "get_json_object", params: [{ name: "expr" }, { name: "path" }], origin: "harvested" }], // functions/get_json_object/1.txt
417
+ getdate: [{ name: "getdate", params: [], origin: "harvested" }], // functions/getdate/1.txt
418
+ greatest: [
419
+ { name: "greatest", params: [{ name: "expr1" }, { name: "expr2" }], variadic: true, origin: "harvested" },
420
+ ], // functions/greatest/1.txt
421
+ grouping: [{ name: "grouping", params: [{ name: "col" }], origin: "harvested" }], // functions/grouping/1.txt
422
+ h3_boundaryasgeojson: [{ name: "h3_boundaryasgeojson", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_boundaryasgeojson/1.txt
423
+ h3_boundaryaswkb: [{ name: "h3_boundaryaswkb", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_boundaryaswkb/1.txt
424
+ h3_boundaryaswkt: [{ name: "h3_boundaryaswkt", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_boundaryaswkt/1.txt
425
+ h3_centerasgeojson: [{ name: "h3_centerasgeojson", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_centerasgeojson/1.txt
426
+ h3_centeraswkb: [{ name: "h3_centeraswkb", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_centeraswkb/1.txt
427
+ h3_centeraswkt: [{ name: "h3_centeraswkt", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_centeraswkt/1.txt
428
+ h3_compact: [{ name: "h3_compact", params: [{ name: "h3CellIdsExpr" }], origin: "harvested" }], // functions/h3_compact/1.txt
429
+ h3_coverash3: [
430
+ { name: "h3_coverash3", params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
431
+ ], // functions/h3_coverash3/1.txt
432
+ h3_distance: [
433
+ { name: "h3_distance", params: [{ name: "h3CellId1Expr" }, { name: "h3CellId2Expr" }], origin: "harvested" },
434
+ ], // functions/h3_distance/1.txt
435
+ h3_h3tostring: [{ name: "h3_h3tostring", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_h3tostring/1.txt
436
+ h3_hexring: [{ name: "h3_hexring", params: [{ name: "h3CellIdExpr" }, { name: "kExpr" }], origin: "harvested" }], // functions/h3_hexring/1.txt
437
+ h3_ischildof: [
438
+ { name: "h3_ischildof", params: [{ name: "h3CellId1Expr" }, { name: "h3cellId2Expr" }], origin: "harvested" },
439
+ ], // functions/h3_ischildof/1.txt
440
+ h3_ispentagon: [{ name: "h3_ispentagon", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_ispentagon/1.txt
441
+ h3_isvalid: [{ name: "h3_isvalid", params: [{ name: "expr" }], origin: "harvested" }], // functions/h3_isvalid/1.txt
442
+ h3_kring: [{ name: "h3_kring", params: [{ name: "h3CellIdExpr" }, { name: "kExpr" }], origin: "harvested" }], // functions/h3_kring/1.txt
443
+ h3_kringdistances: [
444
+ { name: "h3_kringdistances", params: [{ name: "h3CellIdExpr" }, { name: "kExpr" }], origin: "harvested" },
445
+ ], // functions/h3_kringdistances/1.txt
446
+ h3_longlatash3: [
447
+ {
448
+ name: "h3_longlatash3",
449
+ params: [{ name: "longitudeExpr" }, { name: "latitudeExpr" }, { name: "resolutionExpr" }],
450
+ origin: "harvested",
451
+ },
452
+ ], // functions/h3_longlatash3/1.txt
453
+ h3_longlatash3string: [
454
+ {
455
+ name: "h3_longlatash3string",
456
+ params: [{ name: "longitudeExpr" }, { name: "latitudeExpr" }, { name: "resolutionExpr" }],
457
+ origin: "harvested",
458
+ },
459
+ ], // functions/h3_longlatash3string/1.txt
460
+ h3_maxchild: [
461
+ { name: "h3_maxchild", params: [{ name: "h3cellIdExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
462
+ ], // functions/h3_maxchild/1.txt
463
+ h3_minchild: [
464
+ { name: "h3_minchild", params: [{ name: "h3cellIdExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
465
+ ], // functions/h3_minchild/1.txt
466
+ h3_pointash3: [
467
+ { name: "h3_pointash3", params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
468
+ ], // functions/h3_pointash3/1.txt
469
+ h3_pointash3string: [
470
+ {
471
+ name: "h3_pointash3string",
472
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
473
+ origin: "harvested",
474
+ },
475
+ ], // functions/h3_pointash3string/1.txt
476
+ h3_polyfillash3: [
477
+ {
478
+ name: "h3_polyfillash3",
479
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
480
+ origin: "harvested",
481
+ },
482
+ ], // functions/h3_polyfillash3/1.txt
483
+ h3_polyfillash3string: [
484
+ {
485
+ name: "h3_polyfillash3string",
486
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
487
+ origin: "harvested",
488
+ },
489
+ ], // functions/h3_polyfillash3string/1.txt
490
+ h3_resolution: [{ name: "h3_resolution", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_resolution/1.txt
491
+ h3_stringtoh3: [{ name: "h3_stringtoh3", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_stringtoh3/1.txt
492
+ h3_tessellateaswkb: [
493
+ {
494
+ name: "h3_tessellateaswkb",
495
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
496
+ origin: "harvested",
497
+ },
498
+ ], // functions/h3_tessellateaswkb/1.txt
499
+ h3_tochildren: [
500
+ { name: "h3_tochildren", params: [{ name: "h3cellIdExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
501
+ ], // functions/h3_tochildren/1.txt
502
+ h3_toparent: [
503
+ { name: "h3_toparent", params: [{ name: "h3cellIdExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
504
+ ], // functions/h3_toparent/1.txt
505
+ h3_try_coverash3: [
506
+ {
507
+ name: "h3_try_coverash3",
508
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
509
+ origin: "harvested",
510
+ },
511
+ ], // functions/h3_try_coverash3/1.txt
512
+ h3_try_coverash3string: [
513
+ {
514
+ name: "h3_try_coverash3string",
515
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
516
+ origin: "harvested",
517
+ },
518
+ ], // functions/h3_try_coverash3string/1.txt
519
+ h3_try_distance: [
520
+ {
521
+ name: "h3_try_distance",
522
+ params: [{ name: "h3CellId1Expr" }, { name: "h3CellId2Expr" }],
523
+ origin: "harvested",
524
+ },
525
+ ], // functions/h3_try_distance/1.txt
526
+ h3_try_polyfillash3: [
527
+ {
528
+ name: "h3_try_polyfillash3",
529
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
530
+ origin: "harvested",
531
+ },
532
+ ], // functions/h3_try_polyfillash3/1.txt
533
+ h3_try_polyfillash3string: [
534
+ {
535
+ name: "h3_try_polyfillash3string",
536
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
537
+ origin: "harvested",
538
+ },
539
+ ], // functions/h3_try_polyfillash3string/1.txt
540
+ h3_try_tessellateaswkb: [
541
+ {
542
+ name: "h3_try_tessellateaswkb",
543
+ params: [{ name: "geographyExpr" }, { name: "resolutionExpr" }],
544
+ origin: "harvested",
545
+ },
546
+ ], // functions/h3_try_tessellateaswkb/1.txt
547
+ h3_try_validate: [{ name: "h3_try_validate", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_try_validate/1.txt
548
+ h3_uncompact: [
549
+ { name: "h3_uncompact", params: [{ name: "h3CellIdsExpr" }, { name: "resolutionExpr" }], origin: "harvested" },
550
+ ], // functions/h3_uncompact/1.txt
551
+ h3_validate: [{ name: "h3_validate", params: [{ name: "h3CellIdExpr" }], origin: "harvested" }], // functions/h3_validate/1.txt
552
+ hash: [{ name: "hash", params: [{ name: "expr1" }], variadic: true, origin: "harvested" }], // functions/hash/1.txt
553
+ hex: [{ name: "hex", params: [{ name: "expr" }], origin: "harvested" }], // functions/hex/1.txt
554
+ histogram_numeric: [
555
+ { name: "histogram_numeric", params: [{ name: "expr" }, { name: "numBins" }], origin: "harvested" },
556
+ ], // functions/histogram_numeric/1.txt
557
+ hll_sketch_agg: [
558
+ {
559
+ name: "hll_sketch_agg",
560
+ params: [{ name: "expr" }, { name: "lgConfigK", optional: true }],
561
+ origin: "harvested",
562
+ },
563
+ ], // functions/hll_sketch_agg/1.txt
564
+ hll_sketch_estimate: [{ name: "hll_sketch_estimate", params: [{ name: "expr" }], origin: "harvested" }], // functions/hll_sketch_estimate/1.txt
565
+ hll_union: [
566
+ {
567
+ name: "hll_union",
568
+ params: [{ name: "expr1" }, { name: "expr2" }, { name: "allowDifferentLgConfigK", optional: true }],
569
+ origin: "harvested",
570
+ },
571
+ ], // functions/hll_union/1.txt
572
+ hll_union_agg: [
573
+ {
574
+ name: "hll_union_agg",
575
+ params: [{ name: "expr" }, { name: "allowDifferentLgConfigK", optional: true }],
576
+ origin: "harvested",
577
+ },
578
+ ], // functions/hll_union_agg/1.txt
579
+ hour: [{ name: "hour", params: [{ name: "expr" }], origin: "harvested" }], // functions/hour/1.txt
580
+ hypot: [{ name: "hypot", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/hypot/1.txt
581
+ if: [
582
+ {
583
+ name: "if",
584
+ params: [{ name: "cond", type: "boolean" }, { name: "ifTrue" }, { name: "ifFalse" }],
585
+ origin: "curated",
586
+ },
587
+ ], // curated: if function
588
+ iff: [{ name: "iff", params: [{ name: "cond" }, { name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/iff/1.txt
589
+ ifnull: [{ name: "ifnull", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/ifnull/1.txt
590
+ initcap: [{ name: "initcap", params: [{ name: "expr" }], origin: "harvested" }], // functions/initcap/1.txt
591
+ inline: [{ name: "inline", params: [{ name: "input" }], origin: "harvested" }], // functions/inline/1.txt
592
+ inline_outer: [{ name: "inline_outer", params: [{ name: "input" }], origin: "harvested" }], // functions/inline_outer/1.txt
593
+ input_file_block_length: [{ name: "input_file_block_length", params: [], origin: "harvested" }], // functions/input_file_block_length/1.txt
594
+ input_file_block_start: [{ name: "input_file_block_start", params: [], origin: "harvested" }], // functions/input_file_block_start/1.txt
595
+ input_file_name: [{ name: "input_file_name", params: [], origin: "harvested" }], // functions/input_file_name/1.txt
596
+ instr: [{ name: "instr", params: [{ name: "str" }, { name: "substr" }], origin: "harvested" }], // functions/instr/1.txt
597
+ int: [{ name: "int", params: [{ name: "expr" }], origin: "harvested" }], // functions/int/1.txt
598
+ ip_as_binary: [{ name: "ip_as_binary", params: [{ name: "ip_or_cidr" }], origin: "harvested" }], // functions/ip_as_binary/1.txt
599
+ ip_as_string: [{ name: "ip_as_string", params: [{ name: "ip_or_cidr" }], origin: "harvested" }], // functions/ip_as_string/1.txt
600
+ ip_cidr: [{ name: "ip_cidr", params: [{ name: "cidr" }], origin: "harvested" }], // functions/ip_cidr/1.txt
601
+ ip_cidr_contains: [
602
+ { name: "ip_cidr_contains", params: [{ name: "cidr" }, { name: "needle" }], origin: "harvested" },
603
+ ], // functions/ip_cidr_contains/1.txt
604
+ ip_host: [{ name: "ip_host", params: [{ name: "ip" }], origin: "harvested" }], // functions/ip_host/1.txt
605
+ ip_network: [{ name: "ip_network", params: [{ name: "cidr" }], origin: "harvested" }], // functions/ip_network/1.txt
606
+ ip_network_first: [{ name: "ip_network_first", params: [{ name: "cidr" }], origin: "harvested" }], // functions/ip_network_first/1.txt
607
+ ip_network_last: [{ name: "ip_network_last", params: [{ name: "cidr" }], origin: "harvested" }], // functions/ip_network_last/1.txt
608
+ ip_prefix_length: [{ name: "ip_prefix_length", params: [{ name: "cidr" }], origin: "harvested" }], // functions/ip_prefix_length/1.txt
609
+ ip_version: [{ name: "ip_version", params: [{ name: "ip_or_cidr" }], origin: "harvested" }], // functions/ip_version/1.txt
610
+ is_account_group_member: [{ name: "is_account_group_member", params: [{ name: "group" }], origin: "harvested" }], // functions/is_account_group_member/1.txt
611
+ is_member: [{ name: "is_member", params: [{ name: "group" }], origin: "harvested" }], // functions/is_member/1.txt
612
+ is_valid_utf8: [{ name: "is_valid_utf8", params: [{ name: "strExpr" }], origin: "harvested" }], // functions/is_valid_utf8/1.txt
613
+ is_variant_null: [{ name: "is_variant_null", params: [{ name: "variantExpr" }], origin: "harvested" }], // functions/is_variant_null/1.txt
614
+ isnan: [{ name: "isnan", params: [{ name: "expr" }], origin: "harvested" }], // functions/isnan/1.txt
615
+ isnotnull: [{ name: "isnotnull", params: [{ name: "expr" }], origin: "harvested" }], // functions/isnotnull/1.txt
616
+ isnull: [{ name: "isnull", params: [{ name: "expr" }], origin: "harvested" }], // functions/isnull/1.txt
617
+ java_method: [
618
+ {
619
+ name: "java_method",
620
+ params: [{ name: "class" }, { name: "method" }, { name: "arg1", optional: true }],
621
+ variadic: true,
622
+ origin: "harvested",
623
+ },
624
+ ], // functions/java_method/1.txt
625
+ json_array_length: [{ name: "json_array_length", params: [{ name: "jsonArray" }], origin: "harvested" }], // functions/json_array_length/1.txt
626
+ json_object_keys: [{ name: "json_object_keys", params: [{ name: "jsonObject" }], origin: "harvested" }], // functions/json_object_keys/1.txt
627
+ json_tuple: [
628
+ { name: "json_tuple", params: [{ name: "jsonStr" }, { name: "path1" }], variadic: true, origin: "harvested" },
629
+ ], // functions/json_tuple/1.txt
630
+ kll_merge_agg_bigint: [
631
+ {
632
+ name: "kll_merge_agg_bigint",
633
+ params: [{ name: "sketch" }, { name: "k", optional: true }],
634
+ origin: "harvested",
635
+ },
636
+ ], // functions/kll_merge_agg_bigint/1.txt
637
+ kll_merge_agg_double: [
638
+ {
639
+ name: "kll_merge_agg_double",
640
+ params: [{ name: "sketch" }, { name: "k", optional: true }],
641
+ origin: "harvested",
642
+ },
643
+ ], // functions/kll_merge_agg_double/1.txt
644
+ kll_merge_agg_float: [
645
+ {
646
+ name: "kll_merge_agg_float",
647
+ params: [{ name: "sketch" }, { name: "k", optional: true }],
648
+ origin: "harvested",
649
+ },
650
+ ], // functions/kll_merge_agg_float/1.txt
651
+ kll_sketch_agg_bigint: [
652
+ {
653
+ name: "kll_sketch_agg_bigint",
654
+ params: [{ name: "expr" }, { name: "k", optional: true }],
655
+ origin: "harvested",
656
+ },
657
+ ], // functions/kll_sketch_agg_bigint/1.txt
658
+ kll_sketch_agg_double: [
659
+ {
660
+ name: "kll_sketch_agg_double",
661
+ params: [{ name: "expr" }, { name: "k", optional: true }],
662
+ origin: "harvested",
663
+ },
664
+ ], // functions/kll_sketch_agg_double/1.txt
665
+ kll_sketch_agg_float: [
666
+ {
667
+ name: "kll_sketch_agg_float",
668
+ params: [{ name: "expr" }, { name: "k", optional: true }],
669
+ origin: "harvested",
670
+ },
671
+ ], // functions/kll_sketch_agg_float/1.txt
672
+ kll_sketch_get_n_bigint: [{ name: "kll_sketch_get_n_bigint", params: [{ name: "sketch" }], origin: "harvested" }], // functions/kll_sketch_get_n_bigint/1.txt
673
+ kll_sketch_get_n_double: [{ name: "kll_sketch_get_n_double", params: [{ name: "sketch" }], origin: "harvested" }], // functions/kll_sketch_get_n_double/1.txt
674
+ kll_sketch_get_n_float: [{ name: "kll_sketch_get_n_float", params: [{ name: "sketch" }], origin: "harvested" }], // functions/kll_sketch_get_n_float/1.txt
675
+ kll_sketch_get_quantile_bigint: [
676
+ { name: "kll_sketch_get_quantile_bigint", params: [{ name: "sketch" }, { name: "rank" }], origin: "harvested" },
677
+ ], // functions/kll_sketch_get_quantile_bigint/1.txt
678
+ kll_sketch_get_quantile_double: [
679
+ { name: "kll_sketch_get_quantile_double", params: [{ name: "sketch" }, { name: "rank" }], origin: "harvested" },
680
+ ], // functions/kll_sketch_get_quantile_double/1.txt
681
+ kll_sketch_get_quantile_float: [
682
+ { name: "kll_sketch_get_quantile_float", params: [{ name: "sketch" }, { name: "rank" }], origin: "harvested" },
683
+ ], // functions/kll_sketch_get_quantile_float/1.txt
684
+ kll_sketch_get_rank_bigint: [
685
+ { name: "kll_sketch_get_rank_bigint", params: [{ name: "sketch" }, { name: "value" }], origin: "harvested" },
686
+ ], // functions/kll_sketch_get_rank_bigint/1.txt
687
+ kll_sketch_get_rank_double: [
688
+ { name: "kll_sketch_get_rank_double", params: [{ name: "sketch" }, { name: "value" }], origin: "harvested" },
689
+ ], // functions/kll_sketch_get_rank_double/1.txt
690
+ kll_sketch_get_rank_float: [
691
+ { name: "kll_sketch_get_rank_float", params: [{ name: "sketch" }, { name: "value" }], origin: "harvested" },
692
+ ], // functions/kll_sketch_get_rank_float/1.txt
693
+ kll_sketch_merge_bigint: [
694
+ { name: "kll_sketch_merge_bigint", params: [{ name: "sketch1" }, { name: "sketch2" }], origin: "harvested" },
695
+ ], // functions/kll_sketch_merge_bigint/1.txt
696
+ kll_sketch_merge_double: [
697
+ { name: "kll_sketch_merge_double", params: [{ name: "sketch1" }, { name: "sketch2" }], origin: "harvested" },
698
+ ], // functions/kll_sketch_merge_double/1.txt
699
+ kll_sketch_merge_float: [
700
+ { name: "kll_sketch_merge_float", params: [{ name: "sketch1" }, { name: "sketch2" }], origin: "harvested" },
701
+ ], // functions/kll_sketch_merge_float/1.txt
702
+ kll_sketch_to_string_bigint: [
703
+ { name: "kll_sketch_to_string_bigint", params: [{ name: "sketch" }], origin: "harvested" },
704
+ ], // functions/kll_sketch_to_string_bigint/1.txt
705
+ kll_sketch_to_string_double: [
706
+ { name: "kll_sketch_to_string_double", params: [{ name: "sketch" }], origin: "harvested" },
707
+ ], // functions/kll_sketch_to_string_double/1.txt
708
+ kll_sketch_to_string_float: [
709
+ { name: "kll_sketch_to_string_float", params: [{ name: "sketch" }], origin: "harvested" },
710
+ ], // functions/kll_sketch_to_string_float/1.txt
711
+ kurtosis: [{ name: "kurtosis", params: [{ name: "expr" }], origin: "harvested" }], // functions/kurtosis/1.txt
712
+ lag: [
713
+ {
714
+ name: "lag",
715
+ params: [{ name: "expr" }, { name: "offset", optional: true }, { name: "default", optional: true }],
716
+ origin: "harvested",
717
+ },
718
+ ], // functions/lag/1.txt
719
+ last: [{ name: "last", params: [{ name: "expr" }, { name: "ignoreNull", optional: true }], origin: "harvested" }], // functions/last/1.txt
720
+ last_day: [{ name: "last_day", params: [{ name: "expr" }], origin: "harvested" }], // functions/last_day/1.txt
721
+ last_value: [
722
+ { name: "last_value", params: [{ name: "expr" }, { name: "ignoreNull", optional: true }], origin: "harvested" },
723
+ ], // functions/last_value/1.txt
724
+ lcase: [{ name: "lcase", params: [{ name: "expr" }], origin: "harvested" }], // functions/lcase/1.txt
725
+ lead: [
726
+ {
727
+ name: "lead",
728
+ params: [{ name: "expr" }, { name: "offset", optional: true }, { name: "default", optional: true }],
729
+ origin: "harvested",
730
+ },
731
+ ], // functions/lead/1.txt
732
+ least: [{ name: "least", params: [{ name: "expr1" }, { name: "expr2" }], variadic: true, origin: "harvested" }], // functions/least/1.txt
733
+ left: [{ name: "left", params: [{ name: "str" }, { name: "len" }], origin: "harvested" }], // functions/left/1.txt
734
+ len: [{ name: "len", params: [{ name: "expr" }], origin: "harvested" }], // functions/len/1.txt
735
+ length: [{ name: "length", params: [{ name: "expr" }], origin: "harvested" }], // functions/length/1.txt
736
+ levenshtein: [
737
+ {
738
+ name: "levenshtein",
739
+ params: [{ name: "str1" }, { name: "str2" }, { name: "maxDistance", optional: true }],
740
+ origin: "harvested",
741
+ },
742
+ ], // functions/levenshtein/1.txt
743
+ list_secrets: [{ name: "list_secrets", params: [{ name: "scopeStr", optional: true }], origin: "harvested" }], // functions/list_secrets/1.txt
744
+ listagg: [
745
+ { name: "listagg", params: [{ name: "expr" }, { name: "delimiter", optional: true }], origin: "harvested" },
746
+ ], // functions/listagg/1.txt
747
+ ln: [{ name: "ln", params: [{ name: "expr" }], origin: "harvested" }], // functions/ln/1.txt
748
+ locate: [
749
+ {
750
+ name: "locate",
751
+ params: [{ name: "substr" }, { name: "str" }, { name: "pos", optional: true }],
752
+ origin: "harvested",
753
+ },
754
+ ], // functions/locate/1.txt
755
+ log10: [{ name: "log10", params: [{ name: "expr" }], origin: "harvested" }], // functions/log10/1.txt
756
+ log1p: [{ name: "log1p", params: [{ name: "expr" }], origin: "harvested" }], // functions/log1p/1.txt
757
+ log2: [{ name: "log2", params: [{ name: "expr" }], origin: "harvested" }], // functions/log2/1.txt
758
+ lower: [{ name: "lower", params: [{ name: "expr" }], origin: "harvested" }], // functions/lower/1.txt
759
+ lpad: [
760
+ {
761
+ name: "lpad",
762
+ params: [
763
+ { name: "str", type: "string" },
764
+ { name: "len", type: "int" },
765
+ { name: "pad", type: "string", optional: true },
766
+ ],
767
+ origin: "curated",
768
+ },
769
+ ], // curated: lpad function (pad optional)
770
+ luhn_check: [{ name: "luhn_check", params: [{ name: "numStr" }], origin: "harvested" }], // functions/luhn_check/1.txt
771
+ make_date: [
772
+ { name: "make_date", params: [{ name: "year" }, { name: "month" }, { name: "day" }], origin: "harvested" },
773
+ ], // functions/make_date/1.txt
774
+ make_time: [
775
+ { name: "make_time", params: [{ name: "hour" }, { name: "minute" }, { name: "second" }], origin: "harvested" },
776
+ ], // functions/make_time/1.txt
777
+ make_timestamp: [
778
+ {
779
+ name: "make_timestamp",
780
+ params: [
781
+ { name: "year" },
782
+ { name: "month" },
783
+ { name: "day" },
784
+ { name: "hour" },
785
+ { name: "min" },
786
+ { name: "sec" },
787
+ { name: "timezone", optional: true },
788
+ ],
789
+ origin: "harvested",
790
+ },
791
+ {
792
+ name: "make_timestamp",
793
+ params: [{ name: "date" }, { name: "time", optional: true }, { name: "timezone", optional: true }],
794
+ origin: "harvested",
795
+ },
796
+ ], // functions/make_timestamp/1.txt
797
+ make_valid_utf8: [{ name: "make_valid_utf8", params: [{ name: "strExpr" }], origin: "harvested" }], // functions/make_valid_utf8/1.txt
798
+ map_contains_key: [{ name: "map_contains_key", params: [{ name: "map" }, { name: "key" }], origin: "harvested" }], // functions/map_contains_key/1.txt
799
+ map_entries: [{ name: "map_entries", params: [{ name: "map" }], origin: "harvested" }], // functions/map_entries/1.txt
800
+ map_filter: [{ name: "map_filter", params: [{ name: "expr" }, { name: "func" }], origin: "harvested" }], // functions/map_filter/1.txt
801
+ map_from_arrays: [{ name: "map_from_arrays", params: [{ name: "keys" }, { name: "values" }], origin: "harvested" }], // functions/map_from_arrays/1.txt
802
+ map_from_entries: [{ name: "map_from_entries", params: [{ name: "expr" }], origin: "harvested" }], // functions/map_from_entries/1.txt
803
+ map_keys: [{ name: "map_keys", params: [{ name: "map" }], origin: "harvested" }], // functions/map_keys/1.txt
804
+ map_values: [{ name: "map_values", params: [{ name: "map" }], origin: "harvested" }], // functions/map_values/1.txt
805
+ map_zip_with: [
806
+ { name: "map_zip_with", params: [{ name: "map1" }, { name: "map2" }, { name: "func" }], origin: "harvested" },
807
+ ], // functions/map_zip_with/1.txt
808
+ mask: [
809
+ {
810
+ name: "mask",
811
+ params: [
812
+ { name: "str" },
813
+ { name: "upperChar", optional: true },
814
+ { name: "lowerChar", optional: true },
815
+ { name: "digitChar", optional: true },
816
+ { name: "otherChar", optional: true },
817
+ ],
818
+ origin: "harvested",
819
+ },
820
+ ], // functions/mask/1.txt
821
+ match_number: [{ name: "match_number", params: [], origin: "harvested" }], // functions/match_number/1.txt
822
+ max: [{ name: "max", params: [{ name: "expr" }], origin: "harvested" }], // functions/max/1.txt
823
+ max_by: [
824
+ {
825
+ name: "max_by",
826
+ params: [{ name: "expr" }, { name: "ordExpr" }, { name: "limit", optional: true }],
827
+ origin: "harvested",
828
+ },
829
+ ], // functions/max_by/2.txt
830
+ md5: [{ name: "md5", params: [{ name: "expr" }], origin: "harvested" }], // functions/md5/1.txt
831
+ mean: [{ name: "mean", params: [{ name: "expr" }], origin: "harvested" }], // functions/mean/1.txt
832
+ measure: [{ name: "measure", params: [{ name: "measure_column" }], origin: "harvested" }], // functions/measure/1.txt
833
+ median: [{ name: "median", params: [{ name: "expr" }], origin: "harvested" }], // functions/median/1.txt
834
+ min: [{ name: "min", params: [{ name: "expr" }], origin: "harvested" }], // functions/min/1.txt
835
+ min_by: [
836
+ {
837
+ name: "min_by",
838
+ params: [{ name: "expr" }, { name: "ordExpr" }, { name: "limit", optional: true }],
839
+ origin: "harvested",
840
+ },
841
+ ], // functions/min_by/2.txt
842
+ minute: [{ name: "minute", params: [{ name: "expr" }], origin: "harvested" }], // functions/minute/1.txt
843
+ mod: [{ name: "mod", params: [{ name: "dividend" }, { name: "divisor" }], origin: "harvested" }], // functions/mod/1.txt
844
+ mode: [
845
+ { name: "mode", params: [{ name: "expr" }, { name: "deterministic", optional: true }], origin: "harvested" },
846
+ ], // functions/mode/1.txt
847
+ monotonically_increasing_id: [{ name: "monotonically_increasing_id", params: [], origin: "harvested" }], // functions/monotonically_increasing_id/1.txt
848
+ month: [{ name: "month", params: [{ name: "expr" }], origin: "harvested" }], // functions/month/1.txt
849
+ months_between: [
850
+ {
851
+ name: "months_between",
852
+ params: [{ name: "expr1" }, { name: "expr2" }, { name: "roundOff", optional: true }],
853
+ origin: "harvested",
854
+ },
855
+ ], // functions/months_between/1.txt
856
+ nanvl: [{ name: "nanvl", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/nanvl/1.txt
857
+ negative: [{ name: "negative", params: [{ name: "expr" }], origin: "harvested" }], // functions/negative/1.txt
858
+ next_day: [{ name: "next_day", params: [{ name: "expr" }, { name: "dayOfWeek" }], origin: "harvested" }], // functions/next_day/1.txt
859
+ now: [{ name: "now", params: [], origin: "harvested" }], // functions/now/1.txt
860
+ nth_value: [{ name: "nth_value", params: [{ name: "expr" }, { name: "offset" }], origin: "harvested" }], // functions/nth_value/1.txt
861
+ ntile: [{ name: "ntile", params: [{ name: "n", optional: true }], origin: "harvested" }], // functions/ntile/1.txt
862
+ nullif: [{ name: "nullif", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/nullif/1.txt
863
+ nullifzero: [{ name: "nullifzero", params: [{ name: "expr" }], origin: "harvested" }], // functions/nullifzero/1.txt
864
+ nvl: [{ name: "nvl", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/nvl/1.txt
865
+ nvl2: [{ name: "nvl2", params: [{ name: "expr1" }, { name: "expr2" }, { name: "expr3" }], origin: "harvested" }], // functions/nvl2/1.txt
866
+ octet_length: [{ name: "octet_length", params: [{ name: "expr" }], origin: "harvested" }], // functions/octet_length/1.txt
867
+ overlay: [
868
+ {
869
+ name: "overlay",
870
+ params: [{ name: "input" }, { name: "replace" }, { name: "pos" }, { name: "len", optional: true }],
871
+ origin: "harvested",
872
+ },
873
+ ], // functions/overlay/1.txt
874
+ parse_json: [{ name: "parse_json", params: [{ name: "jsonStr" }], origin: "harvested" }], // functions/parse_json/1.txt
875
+ parse_url: [
876
+ {
877
+ name: "parse_url",
878
+ params: [{ name: "url" }, { name: "partToExtract" }, { name: "key", optional: true }],
879
+ origin: "harvested",
880
+ },
881
+ ], // functions/parse_url/1.txt
882
+ percent_rank: [{ name: "percent_rank", params: [], origin: "harvested" }], // functions/percent_rank/1.txt
883
+ percentile: [
884
+ {
885
+ name: "percentile",
886
+ params: [{ name: "expr" }, { name: "percentage" }, { name: "frequency", optional: true }],
887
+ origin: "harvested",
888
+ },
889
+ ], // functions/percentile/1.txt
890
+ percentile_approx: [
891
+ {
892
+ name: "percentile_approx",
893
+ params: [{ name: "expr" }, { name: "percentile" }, { name: "accuracy", optional: true }],
894
+ origin: "harvested",
895
+ },
896
+ ], // functions/percentile_approx/1.txt
897
+ percentile_cont: [{ name: "percentile_cont", params: [{ name: "percentile" }], origin: "harvested" }], // functions/percentile_cont/1.txt
898
+ percentile_disc: [{ name: "percentile_disc", params: [{ name: "percentile" }], origin: "harvested" }], // functions/percentile_disc/1.txt
899
+ pi: [{ name: "pi", params: [], origin: "harvested" }], // functions/pi/1.txt
900
+ pmod: [{ name: "pmod", params: [{ name: "dividend" }, { name: "divisor" }], origin: "harvested" }], // functions/pmod/1.txt
901
+ posexplode: [{ name: "posexplode", params: [{ name: "collection" }], origin: "harvested" }], // functions/posexplode/1.txt
902
+ posexplode_outer: [{ name: "posexplode_outer", params: [{ name: "collection" }], origin: "harvested" }], // functions/posexplode_outer/1.txt
903
+ position: [
904
+ {
905
+ name: "position",
906
+ params: [{ name: "substr" }, { name: "str" }, { name: "pos", optional: true }],
907
+ origin: "harvested",
908
+ },
909
+ ], // functions/position/1.txt
910
+ positive: [{ name: "positive", params: [{ name: "expr" }], origin: "harvested" }], // functions/positive/1.txt
911
+ pow: [{ name: "pow", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/pow/1.txt
912
+ power: [{ name: "power", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/power/1.txt
913
+ quarter: [{ name: "quarter", params: [{ name: "expr" }], origin: "harvested" }], // functions/quarter/1.txt
914
+ radians: [{ name: "radians", params: [{ name: "expr" }], origin: "harvested" }], // functions/radians/1.txt
915
+ raise_error: [{ name: "raise_error", params: [{ name: "expr" }], origin: "harvested" }], // functions/raise_error/1.txt
916
+ rand: [{ name: "rand", params: [{ name: "seed", optional: true }], origin: "harvested" }], // functions/rand/1.txt
917
+ randn: [{ name: "randn", params: [{ name: "seed", optional: true }], origin: "harvested" }], // functions/randn/1.txt
918
+ random: [{ name: "random", params: [{ name: "seed", optional: true }], origin: "harvested" }], // functions/random/1.txt
919
+ randstr: [{ name: "randstr", params: [{ name: "length" }, { name: "seed", optional: true }], origin: "harvested" }], // functions/randstr/1.txt
920
+ range: [
921
+ {
922
+ name: "range",
923
+ params: [
924
+ { name: "start" },
925
+ { name: "end" },
926
+ { name: "step", optional: true },
927
+ { name: "numParts", optional: true },
928
+ ],
929
+ origin: "harvested",
930
+ },
931
+ { name: "range", params: [{ name: "end" }], origin: "harvested" },
932
+ ], // functions/range/1.txt
933
+ rank: [{ name: "rank", params: [], origin: "harvested" }], // functions/rank/1.txt
934
+ read_state_metadata: [{ name: "read_state_metadata", params: [{ name: "path" }], origin: "harvested" }], // functions/read_state_metadata/1.txt
935
+ reduce: [
936
+ {
937
+ name: "reduce",
938
+ params: [{ name: "expr" }, { name: "start" }, { name: "merge" }, { name: "finish", optional: true }],
939
+ origin: "harvested",
940
+ },
941
+ ], // functions/reduce/1.txt
942
+ regexp_count: [{ name: "regexp_count", params: [{ name: "str" }, { name: "regexp" }], origin: "harvested" }], // functions/regexp_count/1.txt
943
+ regexp_extract: [
944
+ {
945
+ name: "regexp_extract",
946
+ params: [{ name: "str" }, { name: "regexp" }, { name: "idx", optional: true }],
947
+ origin: "harvested",
948
+ },
949
+ ], // functions/regexp_extract/1.txt
950
+ regexp_extract_all: [
951
+ {
952
+ name: "regexp_extract_all",
953
+ params: [{ name: "str" }, { name: "regexp" }, { name: "idx", optional: true }],
954
+ origin: "harvested",
955
+ },
956
+ ], // functions/regexp_extract_all/1.txt
957
+ regexp_instr: [{ name: "regexp_instr", params: [{ name: "str" }, { name: "regexp" }], origin: "harvested" }], // functions/regexp_instr/1.txt
958
+ regexp_replace: [
959
+ {
960
+ name: "regexp_replace",
961
+ params: [{ name: "str" }, { name: "regexp" }, { name: "rep" }, { name: "position", optional: true }],
962
+ origin: "harvested",
963
+ },
964
+ ], // functions/regexp_replace/1.txt
965
+ regexp_substr: [{ name: "regexp_substr", params: [{ name: "str" }, { name: "regexp" }], origin: "harvested" }], // functions/regexp_substr/1.txt
966
+ regr_avgx: [{ name: "regr_avgx", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_avgx/1.txt
967
+ regr_avgy: [{ name: "regr_avgy", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_avgy/1.txt
968
+ regr_count: [{ name: "regr_count", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_count/1.txt
969
+ regr_intercept: [{ name: "regr_intercept", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_intercept/1.txt
970
+ regr_r2: [{ name: "regr_r2", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_r2/1.txt
971
+ regr_slope: [{ name: "regr_slope", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_slope/1.txt
972
+ regr_sxx: [{ name: "regr_sxx", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_sxx/1.txt
973
+ regr_sxy: [{ name: "regr_sxy", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_sxy/1.txt
974
+ regr_syy: [{ name: "regr_syy", params: [{ name: "yExpr" }, { name: "xExpr" }], origin: "harvested" }], // functions/regr_syy/1.txt
975
+ repeat: [{ name: "repeat", params: [{ name: "expr" }, { name: "n" }], origin: "harvested" }], // functions/repeat/1.txt
976
+ replace: [
977
+ {
978
+ name: "replace",
979
+ params: [{ name: "str" }, { name: "search" }, { name: "replace", optional: true }],
980
+ origin: "harvested",
981
+ },
982
+ ], // functions/replace/1.txt
983
+ reverse: [{ name: "reverse", params: [{ name: "expr" }], origin: "harvested" }], // functions/reverse/1.txt
984
+ right: [{ name: "right", params: [{ name: "str" }, { name: "len" }], origin: "harvested" }], // functions/right/1.txt
985
+ rint: [{ name: "rint", params: [{ name: "expr" }], origin: "harvested" }], // functions/rint/1.txt
986
+ round: [
987
+ { name: "round", params: [{ name: "expr" }, { name: "targetScale", optional: true }], origin: "harvested" },
988
+ ], // functions/round/1.txt
989
+ row_number: [{ name: "row_number", params: [], origin: "harvested" }], // functions/row_number/1.txt
990
+ rpad: [
991
+ {
992
+ name: "rpad",
993
+ params: [
994
+ { name: "str", type: "string" },
995
+ { name: "len", type: "int" },
996
+ { name: "pad", type: "string", optional: true },
997
+ ],
998
+ origin: "curated",
999
+ },
1000
+ ], // curated: rpad function (pad optional)
1001
+ schema_of_csv: [
1002
+ { name: "schema_of_csv", params: [{ name: "csv" }, { name: "options", optional: true }], origin: "harvested" },
1003
+ ], // functions/schema_of_csv/1.txt
1004
+ schema_of_json: [
1005
+ {
1006
+ name: "schema_of_json",
1007
+ params: [{ name: "jsonStr" }, { name: "options", optional: true }],
1008
+ origin: "harvested",
1009
+ },
1010
+ ], // functions/schema_of_json/1.txt
1011
+ schema_of_json_agg: [
1012
+ {
1013
+ name: "schema_of_json_agg",
1014
+ params: [{ name: "jsonStr" }, { name: "options", optional: true }],
1015
+ origin: "harvested",
1016
+ },
1017
+ ], // functions/schema_of_json_agg/1.txt
1018
+ schema_of_variant: [{ name: "schema_of_variant", params: [{ name: "variantExpr" }], origin: "harvested" }], // functions/schema_of_variant/1.txt
1019
+ schema_of_variant_agg: [{ name: "schema_of_variant_agg", params: [{ name: "variantExpr" }], origin: "harvested" }], // functions/schema_of_variant_agg/1.txt
1020
+ schema_of_xml: [
1021
+ {
1022
+ name: "schema_of_xml",
1023
+ params: [{ name: "xmlStr" }, { name: "options", optional: true }],
1024
+ origin: "harvested",
1025
+ },
1026
+ ], // functions/schema_of_xml/1.txt
1027
+ sec: [{ name: "sec", params: [{ name: "expr" }], origin: "harvested" }], // functions/sec/1.txt
1028
+ second: [{ name: "second", params: [{ name: "expr" }], origin: "harvested" }], // functions/second/1.txt
1029
+ secret: [{ name: "secret", params: [{ name: "scope" }, { name: "key" }], origin: "harvested" }], // functions/secret/1.txt
1030
+ sequence: [
1031
+ {
1032
+ name: "sequence",
1033
+ params: [{ name: "start" }, { name: "stop" }, { name: "step", optional: true }],
1034
+ origin: "harvested",
1035
+ },
1036
+ ], // functions/sequence/1.txt
1037
+ session_user: [{ name: "session_user", params: [], origin: "harvested" }], // functions/session_user/1.txt
1038
+ session_window: [
1039
+ { name: "session_window", params: [{ name: "expr" }, { name: "gapDuration" }], origin: "harvested" },
1040
+ ], // functions/session_window/1.txt
1041
+ sha: [{ name: "sha", params: [{ name: "expr" }], origin: "harvested" }], // functions/sha/1.txt
1042
+ sha1: [{ name: "sha1", params: [{ name: "expr" }], origin: "harvested" }], // functions/sha1/1.txt
1043
+ sha2: [{ name: "sha2", params: [{ name: "expr" }, { name: "bitLength" }], origin: "harvested" }], // functions/sha2/1.txt
1044
+ shiftleft: [{ name: "shiftleft", params: [{ name: "expr" }, { name: "n" }], origin: "harvested" }], // functions/shiftleft/1.txt
1045
+ shiftright: [{ name: "shiftright", params: [{ name: "expr" }, { name: "n" }], origin: "harvested" }], // functions/shiftright/1.txt
1046
+ shiftrightunsigned: [
1047
+ { name: "shiftrightunsigned", params: [{ name: "expr" }, { name: "n" }], origin: "harvested" },
1048
+ ], // functions/shiftrightunsigned/1.txt
1049
+ shuffle: [{ name: "shuffle", params: [{ name: "expr" }], origin: "harvested" }], // functions/shuffle/1.txt
1050
+ sign: [{ name: "sign", params: [{ name: "expr" }], origin: "harvested" }], // functions/sign/1.txt
1051
+ signum: [{ name: "signum", params: [{ name: "expr" }], origin: "harvested" }], // functions/signum/1.txt
1052
+ sin: [{ name: "sin", params: [{ name: "expr" }], origin: "harvested" }], // functions/sin/1.txt
1053
+ sinh: [{ name: "sinh", params: [{ name: "expr" }], origin: "harvested" }], // functions/sinh/1.txt
1054
+ size: [{ name: "size", params: [{ name: "expr" }], origin: "harvested" }], // functions/size/1.txt
1055
+ skewness: [{ name: "skewness", params: [{ name: "expr" }], origin: "harvested" }], // functions/skewness/1.txt
1056
+ slice: [{ name: "slice", params: [{ name: "expr" }, { name: "start" }, { name: "length" }], origin: "harvested" }], // functions/slice/1.txt
1057
+ smallint: [{ name: "smallint", params: [{ name: "expr" }], origin: "harvested" }], // functions/smallint/1.txt
1058
+ sort_array: [
1059
+ {
1060
+ name: "sort_array",
1061
+ params: [{ name: "expr" }, { name: "ascendingOrder", optional: true }],
1062
+ origin: "harvested",
1063
+ },
1064
+ ], // functions/sort_array/1.txt
1065
+ soundex: [{ name: "soundex", params: [{ name: "expr" }], origin: "harvested" }], // functions/soundex/1.txt
1066
+ space: [{ name: "space", params: [{ name: "n" }], origin: "harvested" }], // functions/space/1.txt
1067
+ spark_partition_id: [{ name: "spark_partition_id", params: [], origin: "harvested" }], // functions/spark_partition/1.txt
1068
+ split: [
1069
+ {
1070
+ name: "split",
1071
+ params: [{ name: "str" }, { name: "regex" }, { name: "limit", optional: true }],
1072
+ origin: "harvested",
1073
+ },
1074
+ ], // functions/split/1.txt
1075
+ split_part: [
1076
+ {
1077
+ name: "split_part",
1078
+ params: [
1079
+ { name: "str", type: "string" },
1080
+ { name: "delimiter", type: "string" },
1081
+ { name: "partNum", type: "int" },
1082
+ ],
1083
+ origin: "curated",
1084
+ },
1085
+ ], // curated: split_part function
1086
+ sql_keywords: [{ name: "sql_keywords", params: [], origin: "harvested" }], // functions/sql_keywords/1.txt
1087
+ sqrt: [{ name: "sqrt", params: [{ name: "expr" }], origin: "harvested" }], // functions/sqrt/1.txt
1088
+ st_addpoint: [
1089
+ {
1090
+ name: "st_addpoint",
1091
+ params: [{ name: "geo1Expr" }, { name: "geo2Expr" }, { name: "indexExpr", optional: true }],
1092
+ origin: "harvested",
1093
+ },
1094
+ ], // functions/st_addpoint/1.txt
1095
+ st_area: [{ name: "st_area", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_area/1.txt
1096
+ st_asbinary: [
1097
+ {
1098
+ name: "st_asbinary",
1099
+ params: [{ name: "geoExpr" }, { name: "endiannessExpr", optional: true }],
1100
+ origin: "harvested",
1101
+ },
1102
+ ], // functions/st_asbinary/1.txt
1103
+ st_asewkb: [
1104
+ {
1105
+ name: "st_asewkb",
1106
+ params: [{ name: "geoExpr" }, { name: "endiannessExpr", optional: true }],
1107
+ origin: "harvested",
1108
+ },
1109
+ ], // functions/st_asewkb/1.txt
1110
+ st_asgeojson: [{ name: "st_asgeojson", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_asgeojson/1.txt
1111
+ st_astext: [{ name: "st_astext", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_astext/1.txt
1112
+ st_aswkb: [
1113
+ {
1114
+ name: "st_aswkb",
1115
+ params: [{ name: "geoExpr" }, { name: "endiannessExpr", optional: true }],
1116
+ origin: "harvested",
1117
+ },
1118
+ ], // functions/st_aswkb/1.txt
1119
+ st_aswkt: [{ name: "st_aswkt", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_aswkt/1.txt
1120
+ st_azimuth: [{ name: "st_azimuth", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" }], // functions/st_azimuth/1.txt
1121
+ st_boundary: [{ name: "st_boundary", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_boundary/1.txt
1122
+ st_buffer: [{ name: "st_buffer", params: [{ name: "geoExpr" }, { name: "radiusExpr" }], origin: "harvested" }], // functions/st_buffer/1.txt
1123
+ st_centroid: [{ name: "st_centroid", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_centroid/1.txt
1124
+ st_closestpoint: [
1125
+ { name: "st_closestpoint", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" },
1126
+ ], // functions/st_closestpoint/1.txt
1127
+ st_collect: [{ name: "st_collect", params: [{ name: "geoArray" }], origin: "harvested" }], // functions/st_collect/1.txt
1128
+ st_concavehull: [
1129
+ {
1130
+ name: "st_concavehull",
1131
+ params: [{ name: "geoExpr" }, { name: "lengthRatioExpr" }, { name: "allowHolesExpr", optional: true }],
1132
+ origin: "harvested",
1133
+ },
1134
+ ], // functions/st_concavehull/1.txt
1135
+ st_contains: [{ name: "st_contains", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" }], // functions/st_contains/1.txt
1136
+ st_convexhull: [{ name: "st_convexhull", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_convexhull/1.txt
1137
+ st_covers: [{ name: "st_covers", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" }], // functions/st_covers/1.txt
1138
+ st_difference: [
1139
+ { name: "st_difference", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" },
1140
+ ], // functions/st_difference/1.txt
1141
+ st_dimension: [{ name: "st_dimension", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_dimension/1.txt
1142
+ st_disjoint: [{ name: "st_disjoint", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" }], // functions/st_disjoint/1.txt
1143
+ st_distance: [{ name: "st_distance", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" }], // functions/st_distance/1.txt
1144
+ st_distancesphere: [
1145
+ { name: "st_distancesphere", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" },
1146
+ ], // functions/st_distancesphere/1.txt
1147
+ st_distancespheroid: [
1148
+ { name: "st_distancespheroid", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" },
1149
+ ], // functions/st_distancespheroid/1.txt
1150
+ st_dump: [{ name: "st_dump", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_dump/1.txt
1151
+ st_dwithin: [
1152
+ {
1153
+ name: "st_dwithin",
1154
+ params: [{ name: "geoExpr1" }, { name: "geoExpr2" }, { name: "distanceExpr" }],
1155
+ origin: "harvested",
1156
+ },
1157
+ ], // functions/st_dwithin/1.txt
1158
+ st_endpoint: [{ name: "st_endpoint", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_endpoint/1.txt
1159
+ st_envelope: [{ name: "st_envelope", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_envelope/1.txt
1160
+ st_envelope_agg: [{ name: "st_envelope_agg", params: [{ name: "geoCol" }], origin: "harvested" }], // functions/st_envelope_agg/1.txt
1161
+ st_equals: [{ name: "st_equals", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" }], // functions/st_equals/1.txt
1162
+ st_estimatesrid: [{ name: "st_estimatesrid", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_estimatesrid/1.txt
1163
+ st_exteriorring: [{ name: "st_exteriorring", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_exteriorring/1.txt
1164
+ st_flipcoordinates: [{ name: "st_flipcoordinates", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_flipcoordinates/1.txt
1165
+ st_force2d: [{ name: "st_force2d", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_force2d/1.txt
1166
+ st_geogfromewkt: [{ name: "st_geogfromewkt", params: [{ name: "ewktExpr" }], origin: "harvested" }], // functions/st_geogfromewkt/1.txt
1167
+ st_geogfromgeojson: [{ name: "st_geogfromgeojson", params: [{ name: "geojsonExpr" }], origin: "harvested" }], // functions/st_geogfromgeojson/1.txt
1168
+ st_geogfromtext: [{ name: "st_geogfromtext", params: [{ name: "wktExpr" }], origin: "harvested" }], // functions/st_geogfromtext/1.txt
1169
+ st_geogfromwkb: [{ name: "st_geogfromwkb", params: [{ name: "wkbExpr" }], origin: "harvested" }], // functions/st_geogfromwkb/1.txt
1170
+ st_geogfromwkt: [{ name: "st_geogfromwkt", params: [{ name: "wktExpr" }], origin: "harvested" }], // functions/st_geogfromwkt/1.txt
1171
+ st_geohash: [
1172
+ {
1173
+ name: "st_geohash",
1174
+ params: [{ name: "geoExpr" }, { name: "precisionExpr", optional: true }],
1175
+ origin: "harvested",
1176
+ },
1177
+ ], // functions/st_geohash/1.txt
1178
+ st_geometryn: [{ name: "st_geometryn", params: [{ name: "geoExpr" }, { name: "nExpr" }], origin: "harvested" }], // functions/st_geometryn/1.txt
1179
+ st_geometrytype: [{ name: "st_geometrytype", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_geometrytype/1.txt
1180
+ st_geomfromewkb: [{ name: "st_geomfromewkb", params: [{ name: "ewkbExpr" }], origin: "harvested" }], // functions/st_geomfromewkb/1.txt
1181
+ st_geomfromewkt: [{ name: "st_geomfromewkt", params: [{ name: "ewktExpr" }], origin: "harvested" }], // functions/st_geomfromewkt/1.txt
1182
+ st_geomfromgeohash: [{ name: "st_geomfromgeohash", params: [{ name: "geohashExpr" }], origin: "harvested" }], // functions/st_geomfromgeohash/1.txt
1183
+ st_geomfromgeojson: [{ name: "st_geomfromgeojson", params: [{ name: "geojsonExpr" }], origin: "harvested" }], // functions/st_geomfromgeojson/1.txt
1184
+ st_geomfromtext: [
1185
+ {
1186
+ name: "st_geomfromtext",
1187
+ params: [{ name: "wktExpr" }, { name: "sridExpr", optional: true }],
1188
+ origin: "harvested",
1189
+ },
1190
+ ], // functions/st_geomfromtext/1.txt
1191
+ st_geomfromwkb: [
1192
+ {
1193
+ name: "st_geomfromwkb",
1194
+ params: [{ name: "wkbExpr" }, { name: "sridExpr", optional: true }],
1195
+ origin: "harvested",
1196
+ },
1197
+ ], // functions/st_geomfromwkb/1.txt
1198
+ st_geomfromwkt: [
1199
+ {
1200
+ name: "st_geomfromwkt",
1201
+ params: [{ name: "wktExpr" }, { name: "sridExpr", optional: true }],
1202
+ origin: "harvested",
1203
+ },
1204
+ ], // functions/st_geomfromwkt/1.txt
1205
+ st_interiorringn: [
1206
+ { name: "st_interiorringn", params: [{ name: "geoExpr" }, { name: "indexExpr" }], origin: "harvested" },
1207
+ ], // functions/st_interiorringn/1.txt
1208
+ st_intersection: [
1209
+ { name: "st_intersection", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" },
1210
+ ], // functions/st_intersection/1.txt
1211
+ st_intersects: [
1212
+ { name: "st_intersects", params: [{ name: "geoExpr1" }, { name: "geoExpr2" }], origin: "harvested" },
1213
+ ], // functions/st_intersects/1.txt
1214
+ st_isempty: [{ name: "st_isempty", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_isempty/1.txt
1215
+ st_isvalid: [{ name: "st_isvalid", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_isvalid/1.txt
1216
+ st_length: [{ name: "st_length", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_length/1.txt
1217
+ st_m: [{ name: "st_m", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_m/1.txt
1218
+ st_makeenvelope: [
1219
+ {
1220
+ name: "st_makeenvelope",
1221
+ params: [{ name: "x1" }, { name: "y1" }, { name: "x2" }, { name: "y2" }],
1222
+ origin: "harvested",
1223
+ },
1224
+ ], // functions/st_makeenvelope/1.txt
1225
+ st_makeline: [{ name: "st_makeline", params: [{ name: "geoArray" }], origin: "harvested" }], // functions/st_makeline/1.txt
1226
+ st_makepoint: [
1227
+ {
1228
+ name: "st_makepoint",
1229
+ params: [{ name: "x" }, { name: "y" }, { name: "z", optional: true }, { name: "m", optional: true }],
1230
+ origin: "harvested",
1231
+ },
1232
+ ], // functions/st_makepoint/1.txt
1233
+ st_makepolygon: [
1234
+ {
1235
+ name: "st_makepolygon",
1236
+ params: [{ name: "outer" }, { name: "innerArray", optional: true }],
1237
+ origin: "harvested",
1238
+ },
1239
+ ], // functions/st_makepolygon/1.txt
1240
+ st_multi: [{ name: "st_multi", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_multi/1.txt
1241
+ st_ndims: [{ name: "st_ndims", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_ndims/1.txt
1242
+ st_npoints: [{ name: "st_npoints", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_npoints/1.txt
1243
+ st_nrings: [{ name: "st_nrings", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_nrings/1.txt
1244
+ st_numgeometries: [{ name: "st_numgeometries", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_numgeometries/1.txt
1245
+ st_numinteriorrings: [{ name: "st_numinteriorrings", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_numinteriorrings/1.txt
1246
+ st_numpoints: [{ name: "st_numpoints", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_numpoints/1.txt
1247
+ st_perimeter: [{ name: "st_perimeter", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_perimeter/1.txt
1248
+ st_point: [
1249
+ {
1250
+ name: "st_point",
1251
+ params: [{ name: "x" }, { name: "y" }, { name: "srid", optional: true }],
1252
+ origin: "harvested",
1253
+ },
1254
+ ], // functions/st_point/1.txt
1255
+ st_pointfromgeohash: [{ name: "st_pointfromgeohash", params: [{ name: "geohash" }], origin: "harvested" }], // functions/st_pointfromgeohash/1.txt
1256
+ st_pointn: [{ name: "st_pointn", params: [{ name: "geoExpr" }, { name: "indexExpr" }], origin: "harvested" }], // functions/st_pointn/1.txt
1257
+ st_pointonsurface: [{ name: "st_pointonsurface", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_pointonsurface/1.txt
1258
+ st_removepoint: [
1259
+ { name: "st_removepoint", params: [{ name: "geoExpr" }, { name: "indexExpr" }], origin: "harvested" },
1260
+ ], // functions/st_removepoint/1.txt
1261
+ st_reverse: [{ name: "st_reverse", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_reverse/1.txt
1262
+ st_rotate: [{ name: "st_rotate", params: [{ name: "geoExpr" }, { name: "rotationAngle" }], origin: "harvested" }], // functions/st_rotate/1.txt
1263
+ st_scale: [
1264
+ {
1265
+ name: "st_scale",
1266
+ params: [
1267
+ { name: "geoExpr" },
1268
+ { name: "xfactor" },
1269
+ { name: "yfactor" },
1270
+ { name: "zfactor", optional: true },
1271
+ ],
1272
+ origin: "harvested",
1273
+ },
1274
+ ], // functions/st_scale/1.txt
1275
+ st_setpoint: [
1276
+ {
1277
+ name: "st_setpoint",
1278
+ params: [{ name: "geo1Expr" }, { name: "indexExpr" }, { name: "geo2Expr" }],
1279
+ origin: "harvested",
1280
+ },
1281
+ ], // functions/st_setpoint/1.txt
1282
+ st_setsrid: [{ name: "st_setsrid", params: [{ name: "geo" }, { name: "srid" }], origin: "harvested" }], // functions/st_setsrid/1.txt
1283
+ st_simplify: [{ name: "st_simplify", params: [{ name: "geo" }, { name: "tolerance" }], origin: "harvested" }], // functions/st_simplify/1.txt
1284
+ st_srid: [{ name: "st_srid", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_srid/1.txt
1285
+ st_startpoint: [{ name: "st_startpoint", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_startpoint/1.txt
1286
+ st_touches: [{ name: "st_touches", params: [{ name: "geo1" }, { name: "geo2" }], origin: "harvested" }], // functions/st_touches/1.txt
1287
+ st_transform: [{ name: "st_transform", params: [{ name: "geo" }, { name: "srid" }], origin: "harvested" }], // functions/st_transform/1.txt
1288
+ st_translate: [
1289
+ {
1290
+ name: "st_translate",
1291
+ params: [
1292
+ { name: "geoExpr" },
1293
+ { name: "xfactor" },
1294
+ { name: "yfactor" },
1295
+ { name: "zfactor", optional: true },
1296
+ ],
1297
+ origin: "harvested",
1298
+ },
1299
+ ], // functions/st_translate/1.txt
1300
+ st_union: [{ name: "st_union", params: [{ name: "geo1" }, { name: "geo2" }], origin: "harvested" }], // functions/st_union/1.txt
1301
+ st_union_agg: [{ name: "st_union_agg", params: [{ name: "geoCol" }], origin: "harvested" }], // functions/st_union_agg/1.txt
1302
+ st_within: [{ name: "st_within", params: [{ name: "geo1" }, { name: "geo2" }], origin: "harvested" }], // functions/st_within/1.txt
1303
+ st_x: [{ name: "st_x", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_x/1.txt
1304
+ st_xmax: [{ name: "st_xmax", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_xmax/1.txt
1305
+ st_xmin: [{ name: "st_xmin", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_xmin/1.txt
1306
+ st_y: [{ name: "st_y", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_y/1.txt
1307
+ st_ymax: [{ name: "st_ymax", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_ymax/1.txt
1308
+ st_ymin: [{ name: "st_ymin", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_ymin/1.txt
1309
+ st_z: [{ name: "st_z", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_z/1.txt
1310
+ st_zmax: [{ name: "st_zmax", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_zmax/1.txt
1311
+ st_zmin: [{ name: "st_zmin", params: [{ name: "geoExpr" }], origin: "harvested" }], // functions/st_zmin/1.txt
1312
+ stack: [{ name: "stack", params: [{ name: "numRows" }, { name: "expr1" }], variadic: true, origin: "harvested" }], // functions/stack/1.txt
1313
+ startswith: [{ name: "startswith", params: [{ name: "expr" }, { name: "startExpr" }], origin: "harvested" }], // functions/startswith/1.txt
1314
+ std: [{ name: "std", params: [{ name: "expr" }], origin: "harvested" }], // functions/std/1.txt
1315
+ stddev: [{ name: "stddev", params: [{ name: "expr" }], origin: "harvested" }], // functions/stddev/1.txt
1316
+ stddev_pop: [{ name: "stddev_pop", params: [{ name: "expr" }], origin: "harvested" }], // functions/stddev_pop/1.txt
1317
+ stddev_samp: [{ name: "stddev_samp", params: [{ name: "expr" }], origin: "harvested" }], // functions/stddev_samp/1.txt
1318
+ str_to_map: [
1319
+ {
1320
+ name: "str_to_map",
1321
+ params: [
1322
+ { name: "expr" },
1323
+ { name: "pairDelim", optional: true },
1324
+ { name: "keyValueDelim", optional: true },
1325
+ ],
1326
+ origin: "harvested",
1327
+ },
1328
+ ], // functions/str_to_map/1.txt
1329
+ string: [{ name: "string", params: [{ name: "expr" }], origin: "harvested" }], // functions/string/1.txt
1330
+ string_agg: [
1331
+ { name: "string_agg", params: [{ name: "expr" }, { name: "delimiter", optional: true }], origin: "harvested" },
1332
+ ], // functions/string_agg/1.txt
1333
+ substr: [
1334
+ {
1335
+ name: "substr",
1336
+ params: [
1337
+ { name: "str", type: "string" },
1338
+ { name: "pos", type: "int", optional: true },
1339
+ { name: "len", type: "int", optional: true },
1340
+ ],
1341
+ origin: "curated",
1342
+ },
1343
+ ], // curated: substr function
1344
+ substring: [
1345
+ {
1346
+ name: "substring",
1347
+ params: [
1348
+ { name: "str", type: "string" },
1349
+ { name: "pos", type: "int" },
1350
+ { name: "len", type: "int", optional: true },
1351
+ ],
1352
+ origin: "curated",
1353
+ },
1354
+ ], // curated: substring function
1355
+ substring_index: [
1356
+ {
1357
+ name: "substring_index",
1358
+ params: [{ name: "expr" }, { name: "delim" }, { name: "count" }],
1359
+ origin: "harvested",
1360
+ },
1361
+ ], // functions/substring_index/1.txt
1362
+ sum: [{ name: "sum", params: [{ name: "expr" }], origin: "harvested" }], // functions/sum/1.txt
1363
+ table_changes: [
1364
+ {
1365
+ name: "table_changes",
1366
+ params: [{ name: "table_str" }, { name: "start" }, { name: "end", optional: true }],
1367
+ origin: "harvested",
1368
+ },
1369
+ ], // functions/table_changes/1.txt
1370
+ tan: [{ name: "tan", params: [{ name: "expr" }], origin: "harvested" }], // functions/tan/1.txt
1371
+ tanh: [{ name: "tanh", params: [{ name: "expr" }], origin: "harvested" }], // functions/tanh/1.txt
1372
+ theta_difference: [
1373
+ { name: "theta_difference", params: [{ name: "first" }, { name: "second" }], origin: "harvested" },
1374
+ ], // functions/theta_difference/1.txt
1375
+ theta_intersection: [
1376
+ { name: "theta_intersection", params: [{ name: "first" }, { name: "second" }], origin: "harvested" },
1377
+ ], // functions/theta_intersection/1.txt
1378
+ theta_intersection_agg: [{ name: "theta_intersection_agg", params: [{ name: "sketch" }], origin: "harvested" }], // functions/theta_intersection_agg/1.txt
1379
+ theta_sketch_agg: [
1380
+ {
1381
+ name: "theta_sketch_agg",
1382
+ params: [{ name: "expr" }, { name: "lgNomEntries", optional: true }],
1383
+ origin: "harvested",
1384
+ },
1385
+ ], // functions/theta_sketch_agg/1.txt
1386
+ theta_sketch_estimate: [{ name: "theta_sketch_estimate", params: [{ name: "sketch" }], origin: "harvested" }], // functions/theta_sketch_estimate/1.txt
1387
+ theta_union: [
1388
+ {
1389
+ name: "theta_union",
1390
+ params: [{ name: "first" }, { name: "second" }, { name: "lgNomEntries", optional: true }],
1391
+ origin: "harvested",
1392
+ },
1393
+ ], // functions/theta_union/1.txt
1394
+ theta_union_agg: [
1395
+ {
1396
+ name: "theta_union_agg",
1397
+ params: [{ name: "sketch" }, { name: "lgNomEntries", optional: true }],
1398
+ origin: "harvested",
1399
+ },
1400
+ ], // functions/theta_union_agg/1.txt
1401
+ time_diff: [
1402
+ { name: "time_diff", params: [{ name: "unit" }, { name: "start" }, { name: "end" }], origin: "harvested" },
1403
+ ], // functions/time_diff/1.txt
1404
+ time_from_micros: [{ name: "time_from_micros", params: [{ name: "expr" }], origin: "harvested" }], // functions/time_from_micros/1.txt
1405
+ time_from_millis: [{ name: "time_from_millis", params: [{ name: "expr" }], origin: "harvested" }], // functions/time_from_millis/1.txt
1406
+ time_from_seconds: [{ name: "time_from_seconds", params: [{ name: "expr" }], origin: "harvested" }], // functions/time_from_seconds/1.txt
1407
+ time_to_micros: [{ name: "time_to_micros", params: [{ name: "expr" }], origin: "harvested" }], // functions/time_to_micros/1.txt
1408
+ time_to_millis: [{ name: "time_to_millis", params: [{ name: "expr" }], origin: "harvested" }], // functions/time_to_millis/1.txt
1409
+ time_to_seconds: [{ name: "time_to_seconds", params: [{ name: "expr" }], origin: "harvested" }], // functions/time_to_seconds/1.txt
1410
+ time_trunc: [{ name: "time_trunc", params: [{ name: "unit" }, { name: "expr" }], origin: "harvested" }], // functions/time_trunc/1.txt
1411
+ timediff: [
1412
+ { name: "timediff", params: [{ name: "unit" }, { name: "start" }, { name: "end" }], origin: "harvested" },
1413
+ ], // functions/timediff/1.txt
1414
+ timestamp: [{ name: "timestamp", params: [{ name: "expr" }], origin: "harvested" }], // functions/timestamp/1.txt
1415
+ timestamp_micros: [{ name: "timestamp_micros", params: [{ name: "expr" }], origin: "harvested" }], // functions/timestamp_micros/1.txt
1416
+ timestamp_millis: [{ name: "timestamp_millis", params: [{ name: "expr" }], origin: "harvested" }], // functions/timestamp_millis/1.txt
1417
+ timestamp_seconds: [{ name: "timestamp_seconds", params: [{ name: "expr" }], origin: "harvested" }], // functions/timestamp_seconds/1.txt
1418
+ timestampadd: [
1419
+ { name: "timestampadd", params: [{ name: "unit" }, { name: "value" }, { name: "expr" }], origin: "harvested" },
1420
+ ], // functions/timestampadd/1.txt
1421
+ timestampdiff: [
1422
+ { name: "timestampdiff", params: [{ name: "unit" }, { name: "start" }, { name: "end" }], origin: "harvested" },
1423
+ ], // functions/timestampdiff/1.txt
1424
+ tinyint: [{ name: "tinyint", params: [{ name: "expr" }], origin: "harvested" }], // functions/tinyint/1.txt
1425
+ to_avro: [
1426
+ {
1427
+ name: "to_avro",
1428
+ params: [{ name: "expr" }, { name: "avroSchemaSpec", optional: true }],
1429
+ origin: "harvested",
1430
+ },
1431
+ ], // functions/to_avro/1.txt
1432
+ to_binary: [
1433
+ { name: "to_binary", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" },
1434
+ ], // functions/to_binary/1.txt
1435
+ to_csv: [{ name: "to_csv", params: [{ name: "expr" }, { name: "options", optional: true }], origin: "harvested" }], // functions/to_csv/1.txt
1436
+ to_date: [{ name: "to_date", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" }], // functions/to_date/1.txt
1437
+ to_geography: [{ name: "to_geography", params: [{ name: "geoRepExpr" }], origin: "harvested" }], // functions/to_geography/1.txt
1438
+ to_geometry: [{ name: "to_geometry", params: [{ name: "geoRepExpr" }], origin: "harvested" }], // functions/to_geometry/1.txt
1439
+ to_json: [
1440
+ { name: "to_json", params: [{ name: "expr" }, { name: "options", optional: true }], origin: "harvested" },
1441
+ ], // functions/to_json/1.txt
1442
+ to_number: [{ name: "to_number", params: [{ name: "expr" }, { name: "fmt" }], origin: "harvested" }], // functions/to_number/1.txt
1443
+ to_time: [{ name: "to_time", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" }], // functions/to_time/1.txt
1444
+ to_timestamp: [
1445
+ { name: "to_timestamp", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" },
1446
+ ], // functions/to_timestamp/1.txt
1447
+ to_unix_timestamp: [
1448
+ { name: "to_unix_timestamp", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" },
1449
+ ], // functions/to_unix_timestamp/1.txt
1450
+ to_utc_timestamp: [
1451
+ { name: "to_utc_timestamp", params: [{ name: "expr" }, { name: "timeZone" }], origin: "harvested" },
1452
+ ], // functions/to_utc_timestamp/1.txt
1453
+ to_variant_object: [{ name: "to_variant_object", params: [{ name: "expr" }], origin: "harvested" }], // functions/to_variant_object/1.txt
1454
+ to_xml: [{ name: "to_xml", params: [{ name: "expr" }, { name: "options", optional: true }], origin: "harvested" }], // functions/to_xml/1.txt
1455
+ transform: [{ name: "transform", params: [{ name: "expr" }, { name: "func" }], origin: "harvested" }], // functions/transform/1.txt
1456
+ transform_keys: [{ name: "transform_keys", params: [{ name: "expr" }, { name: "func" }], origin: "harvested" }], // functions/transform_keys/1.txt
1457
+ transform_values: [{ name: "transform_values", params: [{ name: "expr" }, { name: "func" }], origin: "harvested" }], // functions/transform_values/1.txt
1458
+ trim: [
1459
+ {
1460
+ name: "trim",
1461
+ params: [
1462
+ { name: "str", type: "string" },
1463
+ { name: "trimStr", type: "string", optional: true },
1464
+ ],
1465
+ origin: "curated",
1466
+ },
1467
+ ], // curated: trim function (trimStr optional)
1468
+ trunc: [{ name: "trunc", params: [{ name: "expr" }, { name: "unit" }], origin: "harvested" }], // functions/trunc/1.txt
1469
+ try_add: [{ name: "try_add", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/try_add/1.txt
1470
+ try_aes_decrypt: [
1471
+ {
1472
+ name: "try_aes_decrypt",
1473
+ params: [
1474
+ { name: "expr" },
1475
+ { name: "key" },
1476
+ { name: "mode", optional: true },
1477
+ { name: "padding", optional: true },
1478
+ { name: "aad", optional: true },
1479
+ ],
1480
+ origin: "harvested",
1481
+ },
1482
+ ], // functions/try_aes_decrypt/1.txt
1483
+ try_avg: [{ name: "try_avg", params: [{ name: "expr" }], origin: "harvested" }], // functions/try_avg/1.txt
1484
+ try_divide: [{ name: "try_divide", params: [{ name: "dividend" }, { name: "divisor" }], origin: "harvested" }], // functions/try_divide/1.txt
1485
+ try_element_at: [
1486
+ { name: "try_element_at", params: [{ name: "arrayExpr" }, { name: "index" }], origin: "harvested" },
1487
+ { name: "try_element_at", params: [{ name: "mapExpr" }, { name: "key" }], origin: "harvested" },
1488
+ ], // functions/try_element_at/1.txt, functions/try_element_at/2.txt
1489
+ try_ip_as_binary: [{ name: "try_ip_as_binary", params: [{ name: "ip_or_cidr" }], origin: "harvested" }], // functions/try_ip_as_binary/1.txt
1490
+ try_ip_as_string: [{ name: "try_ip_as_string", params: [{ name: "ip_or_cidr" }], origin: "harvested" }], // functions/try_ip_as_string/1.txt
1491
+ try_ip_cidr: [{ name: "try_ip_cidr", params: [{ name: "cidr" }], origin: "harvested" }], // functions/try_ip_cidr/1.txt
1492
+ try_ip_host: [{ name: "try_ip_host", params: [{ name: "ip" }], origin: "harvested" }], // functions/try_ip_host/1.txt
1493
+ try_mod: [{ name: "try_mod", params: [{ name: "dividend" }, { name: "divisor" }], origin: "harvested" }], // functions/try_mod/1.txt
1494
+ try_multiply: [
1495
+ { name: "try_multiply", params: [{ name: "multiplier" }, { name: "multiplicand" }], origin: "harvested" },
1496
+ ], // functions/try_multiply/1.txt
1497
+ try_parse_json: [{ name: "try_parse_json", params: [{ name: "jsonStr" }], origin: "harvested" }], // functions/try_parse_json/1.txt
1498
+ try_secret: [{ name: "try_secret", params: [{ name: "scope" }, { name: "key" }], origin: "harvested" }], // functions/try_secret/1.txt
1499
+ try_subtract: [{ name: "try_subtract", params: [{ name: "expr1" }, { name: "expr2" }], origin: "harvested" }], // functions/try_subtract/1.txt
1500
+ try_sum: [{ name: "try_sum", params: [{ name: "expr" }], origin: "harvested" }], // functions/try_sum/1.txt
1501
+ try_to_binary: [
1502
+ { name: "try_to_binary", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" },
1503
+ ], // functions/try_to_binary/1.txt
1504
+ try_to_geography: [{ name: "try_to_geography", params: [{ name: "geoRepExpr" }], origin: "harvested" }], // functions/try_to_geography/1.txt
1505
+ try_to_geometry: [{ name: "try_to_geometry", params: [{ name: "geoRepExpr" }], origin: "harvested" }], // functions/try_to_geometry/1.txt
1506
+ try_to_number: [{ name: "try_to_number", params: [{ name: "expr" }, { name: "fmt" }], origin: "harvested" }], // functions/try_to_number/1.txt
1507
+ try_to_time: [
1508
+ { name: "try_to_time", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" },
1509
+ ], // functions/try_to_time/1.txt
1510
+ try_to_timestamp: [
1511
+ { name: "try_to_timestamp", params: [{ name: "expr" }, { name: "fmt", optional: true }], origin: "harvested" },
1512
+ ], // functions/try_to_timestamp/1.txt
1513
+ try_url_decode: [{ name: "try_url_decode", params: [{ name: "str" }], origin: "harvested" }], // functions/try_url_decode/1.txt
1514
+ try_validate_utf8: [{ name: "try_validate_utf8", params: [{ name: "strExpr" }], origin: "harvested" }], // functions/try_validate_utf8/1.txt
1515
+ try_variant_get: [
1516
+ {
1517
+ name: "try_variant_get",
1518
+ params: [{ name: "variantExpr" }, { name: "path" }, { name: "type" }],
1519
+ origin: "harvested",
1520
+ },
1521
+ ], // functions/try_variant_get/1.txt
1522
+ try_zstd_decompress: [{ name: "try_zstd_decompress", params: [{ name: "value" }], origin: "harvested" }], // functions/try_zstd_decompress/1.txt
1523
+ tuple_difference_double: [
1524
+ { name: "tuple_difference_double", params: [{ name: "first" }, { name: "second" }], origin: "harvested" },
1525
+ ], // functions/tuple_difference_double/1.txt
1526
+ tuple_difference_integer: [
1527
+ { name: "tuple_difference_integer", params: [{ name: "first" }, { name: "second" }], origin: "harvested" },
1528
+ ], // functions/tuple_difference_integer/1.txt
1529
+ tuple_intersection_agg_double: [
1530
+ {
1531
+ name: "tuple_intersection_agg_double",
1532
+ params: [{ name: "sketch" }, { name: "mode", optional: true }],
1533
+ origin: "harvested",
1534
+ },
1535
+ ], // functions/tuple_intersection_agg_double/1.txt
1536
+ tuple_intersection_agg_integer: [
1537
+ {
1538
+ name: "tuple_intersection_agg_integer",
1539
+ params: [{ name: "sketch" }, { name: "mode", optional: true }],
1540
+ origin: "harvested",
1541
+ },
1542
+ ], // functions/tuple_intersection_agg_integer/1.txt
1543
+ tuple_intersection_double: [
1544
+ {
1545
+ name: "tuple_intersection_double",
1546
+ params: [{ name: "first" }, { name: "second" }, { name: "mode", optional: true }],
1547
+ origin: "harvested",
1548
+ },
1549
+ ], // functions/tuple_intersection_double/1.txt
1550
+ tuple_intersection_integer: [
1551
+ {
1552
+ name: "tuple_intersection_integer",
1553
+ params: [{ name: "first" }, { name: "second" }, { name: "mode", optional: true }],
1554
+ origin: "harvested",
1555
+ },
1556
+ ], // functions/tuple_intersection_integer/1.txt
1557
+ tuple_sketch_agg_double: [
1558
+ {
1559
+ name: "tuple_sketch_agg_double",
1560
+ params: [
1561
+ { name: "key" },
1562
+ { name: "summary" },
1563
+ { name: "lgNomEntries", optional: true },
1564
+ { name: "mode", optional: true },
1565
+ ],
1566
+ origin: "harvested",
1567
+ },
1568
+ ], // functions/tuple_sketch_agg_double/1.txt
1569
+ tuple_sketch_agg_integer: [
1570
+ {
1571
+ name: "tuple_sketch_agg_integer",
1572
+ params: [
1573
+ { name: "key" },
1574
+ { name: "summary" },
1575
+ { name: "lgNomEntries", optional: true },
1576
+ { name: "mode", optional: true },
1577
+ ],
1578
+ origin: "harvested",
1579
+ },
1580
+ ], // functions/tuple_sketch_agg_integer/1.txt
1581
+ tuple_sketch_estimate_double: [
1582
+ { name: "tuple_sketch_estimate_double", params: [{ name: "sketch" }], origin: "harvested" },
1583
+ ], // functions/tuple_sketch_estimate_double/1.txt
1584
+ tuple_sketch_estimate_integer: [
1585
+ { name: "tuple_sketch_estimate_integer", params: [{ name: "sketch" }], origin: "harvested" },
1586
+ ], // functions/tuple_sketch_estimate_integer/1.txt
1587
+ tuple_sketch_summary_double: [
1588
+ {
1589
+ name: "tuple_sketch_summary_double",
1590
+ params: [{ name: "sketch" }, { name: "mode", optional: true }],
1591
+ origin: "harvested",
1592
+ },
1593
+ ], // functions/tuple_sketch_summary_double/1.txt
1594
+ tuple_sketch_summary_integer: [
1595
+ {
1596
+ name: "tuple_sketch_summary_integer",
1597
+ params: [{ name: "sketch" }, { name: "mode", optional: true }],
1598
+ origin: "harvested",
1599
+ },
1600
+ ], // functions/tuple_sketch_summary_integer/1.txt
1601
+ tuple_sketch_theta_double: [
1602
+ { name: "tuple_sketch_theta_double", params: [{ name: "sketch" }], origin: "harvested" },
1603
+ ], // functions/tuple_sketch_theta_double/1.txt
1604
+ tuple_sketch_theta_integer: [
1605
+ { name: "tuple_sketch_theta_integer", params: [{ name: "sketch" }], origin: "harvested" },
1606
+ ], // functions/tuple_sketch_theta_integer/1.txt
1607
+ tuple_union_agg_double: [
1608
+ {
1609
+ name: "tuple_union_agg_double",
1610
+ params: [{ name: "sketch" }, { name: "lgNomEntries", optional: true }, { name: "mode", optional: true }],
1611
+ origin: "harvested",
1612
+ },
1613
+ ], // functions/tuple_union_agg_double/1.txt
1614
+ tuple_union_agg_integer: [
1615
+ {
1616
+ name: "tuple_union_agg_integer",
1617
+ params: [{ name: "sketch" }, { name: "lgNomEntries", optional: true }, { name: "mode", optional: true }],
1618
+ origin: "harvested",
1619
+ },
1620
+ ], // functions/tuple_union_agg_integer/1.txt
1621
+ tuple_union_double: [
1622
+ {
1623
+ name: "tuple_union_double",
1624
+ params: [
1625
+ { name: "first" },
1626
+ { name: "second" },
1627
+ { name: "lgNomEntries", optional: true },
1628
+ { name: "mode", optional: true },
1629
+ ],
1630
+ origin: "harvested",
1631
+ },
1632
+ ], // functions/tuple_union_double/1.txt
1633
+ tuple_union_integer: [
1634
+ {
1635
+ name: "tuple_union_integer",
1636
+ params: [
1637
+ { name: "first" },
1638
+ { name: "second" },
1639
+ { name: "lgNomEntries", optional: true },
1640
+ { name: "mode", optional: true },
1641
+ ],
1642
+ origin: "harvested",
1643
+ },
1644
+ ], // functions/tuple_union_integer/1.txt
1645
+ typeof: [{ name: "typeof", params: [{ name: "expr" }], origin: "harvested" }], // functions/typeof/1.txt
1646
+ ucase: [{ name: "ucase", params: [{ name: "expr" }], origin: "harvested" }], // functions/ucase/1.txt
1647
+ unbase64: [{ name: "unbase64", params: [{ name: "expr" }], origin: "harvested" }], // functions/unbase64/1.txt
1648
+ unhex: [{ name: "unhex", params: [{ name: "expr" }], origin: "harvested" }], // functions/unhex/1.txt
1649
+ uniform: [
1650
+ {
1651
+ name: "uniform",
1652
+ params: [{ name: "boundaryExpr1" }, { name: "boundaryExpr2" }, { name: "seed", optional: true }],
1653
+ origin: "harvested",
1654
+ },
1655
+ ], // functions/uniform/1.txt
1656
+ unix_date: [{ name: "unix_date", params: [{ name: "expr" }], origin: "harvested" }], // functions/unix_date/1.txt
1657
+ unix_micros: [{ name: "unix_micros", params: [{ name: "expr" }], origin: "harvested" }], // functions/unix_micros/1.txt
1658
+ unix_millis: [{ name: "unix_millis", params: [{ name: "expr" }], origin: "harvested" }], // functions/unix_millis/1.txt
1659
+ unix_seconds: [{ name: "unix_seconds", params: [{ name: "expr" }], origin: "harvested" }], // functions/unix_seconds/1.txt
1660
+ upper: [{ name: "upper", params: [{ name: "expr" }], origin: "harvested" }], // functions/upper/1.txt
1661
+ url_decode: [{ name: "url_decode", params: [{ name: "str" }], origin: "harvested" }], // functions/url_decode/1.txt
1662
+ url_encode: [{ name: "url_encode", params: [{ name: "str" }], origin: "harvested" }], // functions/url_encode/1.txt
1663
+ user: [{ name: "user", params: [], origin: "harvested" }], // functions/user/1.txt
1664
+ uuid: [{ name: "uuid", params: [], origin: "harvested" }], // functions/uuid/1.txt
1665
+ validate_utf8: [{ name: "validate_utf8", params: [{ name: "strExpr" }], origin: "harvested" }], // functions/validate_utf8/1.txt
1666
+ var_pop: [{ name: "var_pop", params: [{ name: "expr" }], origin: "harvested" }], // functions/var_pop/1.txt
1667
+ var_samp: [{ name: "var_samp", params: [{ name: "expr" }], origin: "harvested" }], // functions/var_samp/1.txt
1668
+ variance: [{ name: "variance", params: [{ name: "expr" }], origin: "harvested" }], // functions/variance/1.txt
1669
+ variant_explode: [{ name: "variant_explode", params: [{ name: "input" }], origin: "harvested" }], // functions/variant_explode/1.txt
1670
+ variant_explode_outer: [{ name: "variant_explode_outer", params: [{ name: "variantExpr" }], origin: "harvested" }], // functions/variant_explode_outer/1.txt
1671
+ variant_get: [
1672
+ {
1673
+ name: "variant_get",
1674
+ params: [{ name: "variantExpr" }, { name: "path" }, { name: "type" }],
1675
+ origin: "harvested",
1676
+ },
1677
+ ], // functions/variant_get/1.txt
1678
+ vector_avg: [{ name: "vector_avg", params: [{ name: "vectors" }], origin: "harvested" }], // functions/vector_avg/1.txt
1679
+ vector_cosine_similarity: [
1680
+ { name: "vector_cosine_similarity", params: [{ name: "vector1" }, { name: "vector2" }], origin: "harvested" },
1681
+ ], // functions/vector_cosine_similarity/1.txt
1682
+ vector_inner_product: [
1683
+ { name: "vector_inner_product", params: [{ name: "vector1" }, { name: "vector2" }], origin: "harvested" },
1684
+ ], // functions/vector_inner_product/1.txt
1685
+ vector_l2_distance: [
1686
+ { name: "vector_l2_distance", params: [{ name: "vector1" }, { name: "vector2" }], origin: "harvested" },
1687
+ ], // functions/vector_l2_distance/1.txt
1688
+ vector_norm: [
1689
+ { name: "vector_norm", params: [{ name: "vector" }, { name: "degree", optional: true }], origin: "harvested" },
1690
+ ], // functions/vector_norm/1.txt
1691
+ vector_normalize: [
1692
+ {
1693
+ name: "vector_normalize",
1694
+ params: [{ name: "vector" }, { name: "degree", optional: true }],
1695
+ origin: "harvested",
1696
+ },
1697
+ ], // functions/vector_normalize/1.txt
1698
+ vector_sum: [{ name: "vector_sum", params: [{ name: "vectors" }], origin: "harvested" }], // functions/vector_sum/1.txt
1699
+ version: [{ name: "version", params: [], origin: "harvested" }], // functions/version/1.txt
1700
+ weekday: [{ name: "weekday", params: [{ name: "expr" }], origin: "harvested" }], // functions/weekday/1.txt
1701
+ weekofyear: [{ name: "weekofyear", params: [{ name: "expr" }], origin: "harvested" }], // functions/weekofyear/1.txt
1702
+ width_bucket: [
1703
+ {
1704
+ name: "width_bucket",
1705
+ params: [{ name: "expr" }, { name: "minExpr" }, { name: "maxExpr" }, { name: "numBuckets" }],
1706
+ origin: "harvested",
1707
+ },
1708
+ ], // functions/width_bucket/1.txt
1709
+ window: [
1710
+ {
1711
+ name: "window",
1712
+ params: [
1713
+ { name: "expr" },
1714
+ { name: "width" },
1715
+ { name: "slide", optional: true },
1716
+ { name: "start", optional: true },
1717
+ ],
1718
+ origin: "harvested",
1719
+ },
1720
+ ], // functions/window/1.txt
1721
+ window_time: [{ name: "window_time", params: [{ name: "window" }], origin: "harvested" }], // functions/window_time/1.txt
1722
+ xpath: [{ name: "xpath", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath/1.txt
1723
+ xpath_boolean: [{ name: "xpath_boolean", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_boolean/1.txt
1724
+ xpath_double: [{ name: "xpath_double", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_double/1.txt
1725
+ xpath_float: [{ name: "xpath_float", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_float/1.txt
1726
+ xpath_int: [{ name: "xpath_int", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_int/1.txt
1727
+ xpath_long: [{ name: "xpath_long", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_long/1.txt
1728
+ xpath_number: [{ name: "xpath_number", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_number/1.txt
1729
+ xpath_short: [{ name: "xpath_short", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_short/1.txt
1730
+ xpath_string: [{ name: "xpath_string", params: [{ name: "xml" }, { name: "xpath" }], origin: "harvested" }], // functions/xpath_string/1.txt
1731
+ xxhash64: [{ name: "xxhash64", params: [{ name: "expr1" }], variadic: true, origin: "harvested" }], // functions/xxhash64/1.txt
1732
+ year: [{ name: "year", params: [{ name: "expr" }], origin: "harvested" }], // functions/year/1.txt
1733
+ zeroifnull: [{ name: "zeroifnull", params: [{ name: "expr" }], origin: "harvested" }], // functions/zeroifnull/1.txt
1734
+ zip_with: [
1735
+ { name: "zip_with", params: [{ name: "expr1" }, { name: "expr2" }, { name: "func" }], origin: "harvested" },
1736
+ ], // functions/zip_with/1.txt
1737
+ zstd_compress: [
1738
+ {
1739
+ name: "zstd_compress",
1740
+ params: [{ name: "value" }, { name: "level", optional: true }, { name: "streaming_mode", optional: true }],
1741
+ origin: "harvested",
1742
+ },
1743
+ ], // functions/zstd_compress/1.txt
1744
+ zstd_decompress: [{ name: "zstd_decompress", params: [{ name: "value" }], origin: "harvested" }], // functions/zstd_decompress/1.txt
1745
+ };