snowflake-cli 3.7.2__py3-none-any.whl → 3.8.0__py3-none-any.whl
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.
- snowflake/cli/__about__.py +1 -1
- snowflake/cli/_app/snow_connector.py +14 -0
- snowflake/cli/_app/telemetry.py +11 -0
- snowflake/cli/_plugins/connection/commands.py +4 -2
- snowflake/cli/_plugins/nativeapp/codegen/setup/native_app_setup_processor.py +1 -1
- snowflake/cli/_plugins/nativeapp/entities/application_package.py +20 -7
- snowflake/cli/_plugins/nativeapp/sf_sql_facade.py +5 -3
- snowflake/cli/_plugins/project/commands.py +16 -6
- snowflake/cli/_plugins/snowpark/common.py +31 -0
- snowflake/cli/_plugins/snowpark/package/anaconda_packages.py +3 -0
- snowflake/cli/_plugins/snowpark/snowpark_entity.py +21 -1
- snowflake/cli/_plugins/snowpark/snowpark_entity_model.py +23 -1
- snowflake/cli/_plugins/spcs/common.py +7 -0
- snowflake/cli/_plugins/spcs/image_repository/commands.py +7 -2
- snowflake/cli/_plugins/spcs/image_repository/manager.py +6 -2
- snowflake/cli/_plugins/spcs/services/commands.py +2 -2
- snowflake/cli/_plugins/spcs/services/manager.py +36 -1
- snowflake/cli/_plugins/sql/commands.py +57 -6
- snowflake/cli/_plugins/sql/lexer/__init__.py +7 -0
- snowflake/cli/_plugins/sql/lexer/completer.py +12 -0
- snowflake/cli/_plugins/sql/lexer/functions.py +421 -0
- snowflake/cli/_plugins/sql/lexer/keywords.py +529 -0
- snowflake/cli/_plugins/sql/lexer/lexer.py +56 -0
- snowflake/cli/_plugins/sql/lexer/types.py +37 -0
- snowflake/cli/_plugins/sql/manager.py +43 -9
- snowflake/cli/_plugins/sql/repl.py +221 -0
- snowflake/cli/_plugins/sql/snowsql_commands.py +331 -0
- snowflake/cli/_plugins/sql/statement_reader.py +296 -0
- snowflake/cli/_plugins/streamlit/commands.py +30 -15
- snowflake/cli/_plugins/streamlit/manager.py +0 -183
- snowflake/cli/_plugins/streamlit/streamlit_entity.py +163 -23
- snowflake/cli/api/artifacts/upload.py +5 -0
- snowflake/cli/api/artifacts/utils.py +0 -2
- snowflake/cli/api/cli_global_context.py +7 -3
- snowflake/cli/api/commands/decorators.py +70 -0
- snowflake/cli/api/commands/flags.py +95 -3
- snowflake/cli/api/config.py +10 -0
- snowflake/cli/api/connections.py +10 -0
- snowflake/cli/api/console/abc.py +8 -2
- snowflake/cli/api/console/console.py +16 -0
- snowflake/cli/api/console/enum.py +1 -1
- snowflake/cli/api/entities/common.py +99 -10
- snowflake/cli/api/entities/utils.py +1 -0
- snowflake/cli/api/feature_flags.py +6 -0
- snowflake/cli/api/project/project_paths.py +5 -0
- snowflake/cli/api/rendering/sql_templates.py +2 -1
- snowflake/cli/api/sql_execution.py +16 -4
- snowflake/cli/api/utils/path_utils.py +15 -0
- snowflake/cli/api/utils/python_api_utils.py +12 -0
- {snowflake_cli-3.7.2.dist-info → snowflake_cli-3.8.0.dist-info}/METADATA +10 -6
- {snowflake_cli-3.7.2.dist-info → snowflake_cli-3.8.0.dist-info}/RECORD +54 -46
- snowflake/cli/_plugins/nativeapp/feature_flags.py +0 -28
- snowflake/cli/_plugins/sql/source_reader.py +0 -230
- {snowflake_cli-3.7.2.dist-info → snowflake_cli-3.8.0.dist-info}/WHEEL +0 -0
- {snowflake_cli-3.7.2.dist-info → snowflake_cli-3.8.0.dist-info}/entry_points.txt +0 -0
- {snowflake_cli-3.7.2.dist-info → snowflake_cli-3.8.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
|
+
import sys
|
|
18
|
+
from logging import getLogger
|
|
17
19
|
from pathlib import Path
|
|
18
20
|
from typing import List, Optional
|
|
19
21
|
|
|
@@ -26,8 +28,14 @@ from snowflake.cli.api.commands.flags import (
|
|
|
26
28
|
from snowflake.cli.api.commands.overrideable_parameter import OverrideableOption
|
|
27
29
|
from snowflake.cli.api.commands.snow_typer import SnowTyperFactory
|
|
28
30
|
from snowflake.cli.api.commands.utils import parse_key_value_variables
|
|
29
|
-
from snowflake.cli.api.
|
|
31
|
+
from snowflake.cli.api.exceptions import CliArgumentError
|
|
32
|
+
from snowflake.cli.api.output.types import (
|
|
33
|
+
CommandResult,
|
|
34
|
+
MultipleResults,
|
|
35
|
+
QueryResult,
|
|
36
|
+
)
|
|
30
37
|
|
|
38
|
+
logger = getLogger(__name__)
|
|
31
39
|
# simple Typer with defaults because it won't become a command group as it contains only one command
|
|
32
40
|
app = SnowTyperFactory()
|
|
33
41
|
|
|
@@ -38,7 +46,7 @@ SourceOption = OverrideableOption(
|
|
|
38
46
|
)
|
|
39
47
|
|
|
40
48
|
|
|
41
|
-
@app.command(name="sql", requires_connection=True, no_args_is_help=
|
|
49
|
+
@app.command(name="sql", requires_connection=True, no_args_is_help=False)
|
|
42
50
|
@with_project_definition(is_optional=True)
|
|
43
51
|
def execute_sql(
|
|
44
52
|
query: Optional[str] = SourceOption(
|
|
@@ -69,6 +77,12 @@ def execute_sql(
|
|
|
69
77
|
"--retain-comments",
|
|
70
78
|
help="Retains comments in queries passed to Snowflake",
|
|
71
79
|
),
|
|
80
|
+
single_transaction: Optional[bool] = typer.Option(
|
|
81
|
+
False,
|
|
82
|
+
help="Connects with autocommit disabled. Wraps BEGIN/COMMIT around statements to execute them as a single transaction, ensuring all commands complete successfully or no change is applied.",
|
|
83
|
+
flag_value=False,
|
|
84
|
+
is_flag=True,
|
|
85
|
+
),
|
|
72
86
|
**options,
|
|
73
87
|
) -> CommandResult:
|
|
74
88
|
"""
|
|
@@ -86,9 +100,46 @@ def execute_sql(
|
|
|
86
100
|
if data_override:
|
|
87
101
|
data = {v.key: v.value for v in parse_key_value_variables(data_override)}
|
|
88
102
|
|
|
89
|
-
|
|
90
|
-
|
|
103
|
+
retain_comments = bool(retain_comments)
|
|
104
|
+
single_transaction = bool(single_transaction)
|
|
105
|
+
std_in = bool(std_in)
|
|
106
|
+
|
|
107
|
+
no_source_provided = not any([query, files, std_in])
|
|
108
|
+
if no_source_provided and not sys.stdin.isatty():
|
|
109
|
+
maybe_pipe = sys.stdin.read().strip()
|
|
110
|
+
if maybe_pipe:
|
|
111
|
+
query = maybe_pipe
|
|
112
|
+
std_in = True
|
|
113
|
+
|
|
114
|
+
if no_source_provided:
|
|
115
|
+
if single_transaction:
|
|
116
|
+
raise CliArgumentError("single transaction cannot be used with REPL")
|
|
117
|
+
from snowflake.cli._plugins.sql.repl import Repl
|
|
118
|
+
|
|
119
|
+
Repl(SqlManager(), data=data, retain_comments=retain_comments).run()
|
|
120
|
+
sys.exit(0)
|
|
121
|
+
|
|
122
|
+
manager = SqlManager()
|
|
123
|
+
|
|
124
|
+
expected_results_cnt, cursors = manager.execute(
|
|
125
|
+
query,
|
|
126
|
+
files,
|
|
127
|
+
std_in,
|
|
128
|
+
data=data,
|
|
129
|
+
retain_comments=retain_comments,
|
|
130
|
+
single_transaction=single_transaction,
|
|
91
131
|
)
|
|
92
|
-
if
|
|
93
|
-
|
|
132
|
+
if expected_results_cnt == 0:
|
|
133
|
+
# case expected if input only scheduled async queries
|
|
134
|
+
list(cursors) # evaluate the result to schedule potential async queries
|
|
135
|
+
# ends gracefully with no message for consistency with snowsql.
|
|
136
|
+
sys.exit(0)
|
|
137
|
+
|
|
138
|
+
if expected_results_cnt == 1:
|
|
139
|
+
# evaluate the result to schedule async queries
|
|
140
|
+
results = list(cursors)
|
|
141
|
+
if not results:
|
|
142
|
+
return sys.exit(0)
|
|
143
|
+
return QueryResult(results[0])
|
|
144
|
+
|
|
94
145
|
return MultipleResults((QueryResult(c) for c in cursors))
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
from prompt_toolkit.completion import WordCompleter, merge_completers
|
|
2
|
+
from snowflake.cli._plugins.sql.lexer.functions import FUNCTIONS
|
|
3
|
+
from snowflake.cli._plugins.sql.lexer.keywords import KEYWORDS
|
|
4
|
+
from snowflake.cli._plugins.sql.lexer.types import TYPES
|
|
5
|
+
|
|
6
|
+
functions_completer = WordCompleter(FUNCTIONS, ignore_case=True)
|
|
7
|
+
keywords_completer = WordCompleter(KEYWORDS, ignore_case=True)
|
|
8
|
+
types_completer = WordCompleter(TYPES, ignore_case=True)
|
|
9
|
+
|
|
10
|
+
cli_completer = merge_completers(
|
|
11
|
+
[functions_completer, keywords_completer, types_completer]
|
|
12
|
+
)
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
FUNCTIONS = (
|
|
2
|
+
"ABS",
|
|
3
|
+
"ACOS",
|
|
4
|
+
"ACOSH",
|
|
5
|
+
"ADD_MONTHS",
|
|
6
|
+
"AND",
|
|
7
|
+
"ANY_VALUE",
|
|
8
|
+
"APPROXIMATE_COUNT_DISTINCT",
|
|
9
|
+
"APPROXIMATE_JACCARD_INDEX",
|
|
10
|
+
"APPROXIMATE_SIMILARITY",
|
|
11
|
+
"APPROX_COUNT_DISTINCT",
|
|
12
|
+
"APPROX_PERCENTILE",
|
|
13
|
+
"APPROX_PERCENTILE_ACCUMULATE",
|
|
14
|
+
"APPROX_PERCENTILE_COMBINE",
|
|
15
|
+
"APPROX_PERCENTILE_ESTIMATE",
|
|
16
|
+
"APPROX_TOP_K",
|
|
17
|
+
"APPROX_TOP_K_ACCUMULATE",
|
|
18
|
+
"APPROX_TOP_K_COMBINE",
|
|
19
|
+
"APPROX_TOP_K_ESTIMATE",
|
|
20
|
+
"ARRAYAGG",
|
|
21
|
+
"ARRAYS_OVERLAP",
|
|
22
|
+
"ARRAY_AGG",
|
|
23
|
+
"ARRAY_APPEND",
|
|
24
|
+
"ARRAY_CAT",
|
|
25
|
+
"ARRAY_COMPACT",
|
|
26
|
+
"ARRAY_CONSTRUCT",
|
|
27
|
+
"ARRAY_CONSTRUCT_COMPACT",
|
|
28
|
+
"ARRAY_CONTAINS",
|
|
29
|
+
"ARRAY_INSERT",
|
|
30
|
+
"ARRAY_POSITION",
|
|
31
|
+
"ARRAY_PREPEND",
|
|
32
|
+
"ARRAY_SIZE",
|
|
33
|
+
"ARRAY_SLICE",
|
|
34
|
+
"ARRAY_TO_STRING",
|
|
35
|
+
"ASCII",
|
|
36
|
+
"ASIN",
|
|
37
|
+
"ASINH",
|
|
38
|
+
"AS_ARRAY",
|
|
39
|
+
"AS_BINARY",
|
|
40
|
+
"AS_BOOLEAN",
|
|
41
|
+
"AS_CHAR",
|
|
42
|
+
"AS_DATE",
|
|
43
|
+
"AS_DECIMAL",
|
|
44
|
+
"AS_DOUBLE",
|
|
45
|
+
"AS_INTEGER",
|
|
46
|
+
"AS_NUMBER",
|
|
47
|
+
"AS_OBJECT",
|
|
48
|
+
"AS_REAL",
|
|
49
|
+
"AS_TIME",
|
|
50
|
+
"AS_TIMESTAMP_LTZ",
|
|
51
|
+
"AS_TIMESTAMP_NTZ",
|
|
52
|
+
"AS_TIMESTAMP_TZ",
|
|
53
|
+
"AS_VARCHAR",
|
|
54
|
+
"ATAN",
|
|
55
|
+
"ATAN2",
|
|
56
|
+
"ATANH",
|
|
57
|
+
"AVG",
|
|
58
|
+
"BASE64_DECODE_BINARY",
|
|
59
|
+
"BASE64_DECODE_STRING",
|
|
60
|
+
"BASE64_ENCODE",
|
|
61
|
+
"BETWEEN",
|
|
62
|
+
"BINARY_AS_STRING",
|
|
63
|
+
"BITAND",
|
|
64
|
+
"BITANDAGG",
|
|
65
|
+
"BITAND_AGG",
|
|
66
|
+
"BITNOT",
|
|
67
|
+
"BITOR",
|
|
68
|
+
"BITORAGG",
|
|
69
|
+
"BITOR_AGG",
|
|
70
|
+
"BITSHIFTLEFT",
|
|
71
|
+
"BITSHIFTRIGHT",
|
|
72
|
+
"BITXOR",
|
|
73
|
+
"BITXORAGG",
|
|
74
|
+
"BITXOR_AGG",
|
|
75
|
+
"BIT_AND",
|
|
76
|
+
"BIT_ANDAGG",
|
|
77
|
+
"BIT_AND_AGG",
|
|
78
|
+
"BIT_LENGTH",
|
|
79
|
+
"BIT_NOT",
|
|
80
|
+
"BIT_OR",
|
|
81
|
+
"BIT_ORAGG",
|
|
82
|
+
"BIT_OR_AGG",
|
|
83
|
+
"BIT_SHIFTLEFT",
|
|
84
|
+
"BIT_SHIFTRIGHT",
|
|
85
|
+
"BIT_XOR",
|
|
86
|
+
"BIT_XORAGG",
|
|
87
|
+
"BIT_XOR_AGG",
|
|
88
|
+
"BOOLAND",
|
|
89
|
+
"BOOLNOT",
|
|
90
|
+
"BOOLOR",
|
|
91
|
+
"BOOLXOR",
|
|
92
|
+
"CASE",
|
|
93
|
+
"CAST",
|
|
94
|
+
"CBRT",
|
|
95
|
+
"CEIL",
|
|
96
|
+
"CHAR",
|
|
97
|
+
"CHARINDEX",
|
|
98
|
+
"CHECK_JSON",
|
|
99
|
+
"CHECK_XML",
|
|
100
|
+
"CHR",
|
|
101
|
+
"COALESCE",
|
|
102
|
+
"COMPRESS",
|
|
103
|
+
"CONCAT",
|
|
104
|
+
"CONTAINS",
|
|
105
|
+
"CONVERT_TIMEZONE",
|
|
106
|
+
"CORR",
|
|
107
|
+
"COS",
|
|
108
|
+
"COSH",
|
|
109
|
+
"COT",
|
|
110
|
+
"COUNT",
|
|
111
|
+
"COVAR_POP",
|
|
112
|
+
"COVAR_SAMP",
|
|
113
|
+
"CUME_DIST",
|
|
114
|
+
"CURRENT_CLIENT",
|
|
115
|
+
"CURRENT_DATABASE",
|
|
116
|
+
"CURRENT_DATE",
|
|
117
|
+
"CURRENT_ROLE",
|
|
118
|
+
"CURRENT_SCHEMA",
|
|
119
|
+
"CURRENT_SCHEMAS",
|
|
120
|
+
"CURRENT_SESSION",
|
|
121
|
+
"CURRENT_STATEMENT",
|
|
122
|
+
"CURRENT_TIME",
|
|
123
|
+
"CURRENT_TIMESTAMP",
|
|
124
|
+
"CURRENT_TRANSACTION",
|
|
125
|
+
"CURRENT_USER",
|
|
126
|
+
"CURRENT_VERSION",
|
|
127
|
+
"CURRENT_WAREHOUSE",
|
|
128
|
+
"DATEADD",
|
|
129
|
+
"DATEDIFF",
|
|
130
|
+
"DATEFROMPARTS",
|
|
131
|
+
"DATE_FROM_PARTS",
|
|
132
|
+
"DATE_PART",
|
|
133
|
+
"DATE_TRUNC",
|
|
134
|
+
"DAY",
|
|
135
|
+
"DAYNAME",
|
|
136
|
+
"DAYOFMONTH",
|
|
137
|
+
"DAYOFWEEK",
|
|
138
|
+
"DAYOFWEEKISO",
|
|
139
|
+
"DAYOFYEAR",
|
|
140
|
+
"DECODE",
|
|
141
|
+
"DECOMPRESS_BINARY",
|
|
142
|
+
"DECOMPRESS_STRING",
|
|
143
|
+
"DEFAULT_FLAGS",
|
|
144
|
+
"DEGREES",
|
|
145
|
+
"DENSE_RANK",
|
|
146
|
+
"DIV",
|
|
147
|
+
"EDITDISTANCE",
|
|
148
|
+
"ENDSWITH",
|
|
149
|
+
"EQUAL_NULL",
|
|
150
|
+
"EXP",
|
|
151
|
+
"EXTRACT",
|
|
152
|
+
"FACTORIAL",
|
|
153
|
+
"FIRST_VALUE",
|
|
154
|
+
"FLOOR",
|
|
155
|
+
"GET",
|
|
156
|
+
"GET_DDL",
|
|
157
|
+
"GET_PATH",
|
|
158
|
+
"GET_USAGE_FOR_QUERY",
|
|
159
|
+
"GREATEST",
|
|
160
|
+
"GROUPING_ID",
|
|
161
|
+
"HASH",
|
|
162
|
+
"HASH_AGG",
|
|
163
|
+
"HAVERSINE",
|
|
164
|
+
"HEX_DECODE_BINARY",
|
|
165
|
+
"HEX_DECODE_STRING",
|
|
166
|
+
"HEX_ENCODE",
|
|
167
|
+
"HLL",
|
|
168
|
+
"HLL_ACCUMULATE",
|
|
169
|
+
"HLL_COMBINE",
|
|
170
|
+
"HLL_ESTIMATE",
|
|
171
|
+
"HLL_EXPORT",
|
|
172
|
+
"HLL_IMPORT",
|
|
173
|
+
"HOUR",
|
|
174
|
+
"IFF",
|
|
175
|
+
"IFNULL",
|
|
176
|
+
"ILIKE",
|
|
177
|
+
"IN",
|
|
178
|
+
"INITCAP",
|
|
179
|
+
"INSERT",
|
|
180
|
+
"IS_ARRAY",
|
|
181
|
+
"IS_BINARY",
|
|
182
|
+
"IS_BOOLEAN",
|
|
183
|
+
"IS_CHAR",
|
|
184
|
+
"IS_DATE",
|
|
185
|
+
"IS_DATE_VALUE",
|
|
186
|
+
"IS_DECIMAL",
|
|
187
|
+
"IS_DOUBLE",
|
|
188
|
+
"IS_INTEGER",
|
|
189
|
+
"IS_NULL_VALUE",
|
|
190
|
+
"IS_OBJECT",
|
|
191
|
+
"IS_REAL",
|
|
192
|
+
"IS_TIME",
|
|
193
|
+
"IS_TIMESTAMP_LTZ",
|
|
194
|
+
"IS_TIMESTAMP_NTZ",
|
|
195
|
+
"IS_TIMESTAMP_TZ",
|
|
196
|
+
"IS_VARCHAR",
|
|
197
|
+
"LAG",
|
|
198
|
+
"LAST_DAY",
|
|
199
|
+
"LAST_QUERY_ID",
|
|
200
|
+
"LAST_TRANSACTION",
|
|
201
|
+
"LAST_VALUE",
|
|
202
|
+
"LEAD",
|
|
203
|
+
"LEAST",
|
|
204
|
+
"LEFT",
|
|
205
|
+
"LENGTH",
|
|
206
|
+
"LIKE",
|
|
207
|
+
"LISTAGG",
|
|
208
|
+
"LN",
|
|
209
|
+
"LOCALTIME",
|
|
210
|
+
"LOCALTIMESTAMP",
|
|
211
|
+
"LOG",
|
|
212
|
+
"LOWER",
|
|
213
|
+
"LPAD",
|
|
214
|
+
"LQ",
|
|
215
|
+
"LQ",
|
|
216
|
+
"LTRIM",
|
|
217
|
+
"MASK_TIMESTAMP",
|
|
218
|
+
"MAX",
|
|
219
|
+
"MD5",
|
|
220
|
+
"MD5_BINARY",
|
|
221
|
+
"MD5_HEX",
|
|
222
|
+
"MD5_NUMBER",
|
|
223
|
+
"MEDIAN",
|
|
224
|
+
"MIN",
|
|
225
|
+
"MINHASH",
|
|
226
|
+
"MINHASH_COMBINE",
|
|
227
|
+
"MINUTE",
|
|
228
|
+
"MOD",
|
|
229
|
+
"MONTH",
|
|
230
|
+
"MONTHNAME",
|
|
231
|
+
"NEGATE",
|
|
232
|
+
"NEXT_DAY",
|
|
233
|
+
"NORMAL",
|
|
234
|
+
"NORMALIZE",
|
|
235
|
+
"NOT",
|
|
236
|
+
"NTH_VALUE",
|
|
237
|
+
"NTILE",
|
|
238
|
+
"NULLIF",
|
|
239
|
+
"NVL",
|
|
240
|
+
"NVL2",
|
|
241
|
+
"OBJECTAGG",
|
|
242
|
+
"OBJECT_AGG",
|
|
243
|
+
"OBJECT_CONSTRUCT",
|
|
244
|
+
"OBJECT_DELETE",
|
|
245
|
+
"OBJECT_INSERT",
|
|
246
|
+
"OCTET_LENGTH",
|
|
247
|
+
"OR",
|
|
248
|
+
"PARSE_IP",
|
|
249
|
+
"PARSE_JSON",
|
|
250
|
+
"PARSE_URL",
|
|
251
|
+
"PARSE_XML",
|
|
252
|
+
"PERCENTILE_CONT",
|
|
253
|
+
"PERCENTILE_DISC",
|
|
254
|
+
"PERCENT_RANK",
|
|
255
|
+
"PI",
|
|
256
|
+
"POSITION",
|
|
257
|
+
"POW",
|
|
258
|
+
"POWER",
|
|
259
|
+
"PREVIOUS_DAY",
|
|
260
|
+
"QPDPP",
|
|
261
|
+
"QUARTER",
|
|
262
|
+
"RADIANS",
|
|
263
|
+
"RANDOM",
|
|
264
|
+
"RANDSTR",
|
|
265
|
+
"RANK",
|
|
266
|
+
"REGEXP",
|
|
267
|
+
"REGEXP_COUNT",
|
|
268
|
+
"REGEXP_INSTR",
|
|
269
|
+
"REGEXP_LIKE",
|
|
270
|
+
"REGEXP_REPLACE",
|
|
271
|
+
"REGEXP_SUBSTR",
|
|
272
|
+
"REGR_AVGX",
|
|
273
|
+
"REGR_AVGY",
|
|
274
|
+
"REGR_COUNT",
|
|
275
|
+
"REGR_INTERCEPT",
|
|
276
|
+
"REGR_R2",
|
|
277
|
+
"REGR_SLOPE",
|
|
278
|
+
"REGR_SXX",
|
|
279
|
+
"REGR_SXY",
|
|
280
|
+
"REGR_SYY",
|
|
281
|
+
"REGR_VALX",
|
|
282
|
+
"REGR_VALY",
|
|
283
|
+
"REPEAT",
|
|
284
|
+
"REPLACE",
|
|
285
|
+
"REVERSE",
|
|
286
|
+
"RIGHT",
|
|
287
|
+
"RLIKE",
|
|
288
|
+
"ROUND",
|
|
289
|
+
"ROW_NUMBER",
|
|
290
|
+
"RPAD",
|
|
291
|
+
"RTRIM",
|
|
292
|
+
"RTRIMMED_LENGTH",
|
|
293
|
+
"SECOND",
|
|
294
|
+
"SEQ1",
|
|
295
|
+
"SEQ2",
|
|
296
|
+
"SEQ4",
|
|
297
|
+
"SEQ8",
|
|
298
|
+
"SHA1",
|
|
299
|
+
"SHA1_BINARY",
|
|
300
|
+
"SHA1_HEX",
|
|
301
|
+
"SHA2",
|
|
302
|
+
"SHA2_BINARY",
|
|
303
|
+
"SHA2_HEX",
|
|
304
|
+
"SHOW_COLUMNS_IN_TABLE",
|
|
305
|
+
"SHOW_DATABASES",
|
|
306
|
+
"SHOW_DATABASES_LIKE",
|
|
307
|
+
"SHOW_FILE_FORMATS",
|
|
308
|
+
"SHOW_FILE_FORMATS_LIKE",
|
|
309
|
+
"SHOW_GRANTS_ON_DATABASE",
|
|
310
|
+
"SHOW_GRANTS_ON_OBJECT",
|
|
311
|
+
"SHOW_GRANTS_ON_SCHEMA",
|
|
312
|
+
"SHOW_GRANTS_ON_TABLE",
|
|
313
|
+
"SHOW_GRANTS_TO_ROLE",
|
|
314
|
+
"SHOW_SCHEMAS",
|
|
315
|
+
"SHOW_SCHEMAS_LIKE",
|
|
316
|
+
"SHOW_SEQUENCES",
|
|
317
|
+
"SHOW_SEQUENCES_LIKE",
|
|
318
|
+
"SHOW_STAGES",
|
|
319
|
+
"SHOW_STAGES_IN_DB",
|
|
320
|
+
"SHOW_STAGES_LIKE",
|
|
321
|
+
"SHOW_TABLES",
|
|
322
|
+
"SHOW_TABLES_LIKE",
|
|
323
|
+
"SHOW_USER_FUNCTIONS",
|
|
324
|
+
"SHOW_USER_FUNCTIONS_LIKE",
|
|
325
|
+
"SHOW_VIEWS",
|
|
326
|
+
"SHOW_VIEWS_LIKE",
|
|
327
|
+
"SIGN",
|
|
328
|
+
"SIN",
|
|
329
|
+
"SINH",
|
|
330
|
+
"SPACE",
|
|
331
|
+
"SPLIT_PART",
|
|
332
|
+
"SQL_UDF_DESC",
|
|
333
|
+
"SQRT",
|
|
334
|
+
"SQUARE",
|
|
335
|
+
"STARTSWITH",
|
|
336
|
+
"STDDEV",
|
|
337
|
+
"STDDEV_POP",
|
|
338
|
+
"STDDEV_SAMP",
|
|
339
|
+
"STRING_AS_BINARY",
|
|
340
|
+
"STRIP_NULL_VALUE",
|
|
341
|
+
"SUBSTR",
|
|
342
|
+
"SUBSTRING",
|
|
343
|
+
"SUM",
|
|
344
|
+
"TAN",
|
|
345
|
+
"TANH",
|
|
346
|
+
"TIMEADD",
|
|
347
|
+
"TIMEDIFF",
|
|
348
|
+
"TIMEFROMPARTS",
|
|
349
|
+
"TIMESTAMPADD",
|
|
350
|
+
"TIMESTAMPDIFF",
|
|
351
|
+
"TIMESTAMPFROMPARTS",
|
|
352
|
+
"TIMESTAMPLTZFROMPARTS",
|
|
353
|
+
"TIMESTAMPNTZFROMPARTS",
|
|
354
|
+
"TIMESTAMPTZFROMPARTS",
|
|
355
|
+
"TIMESTAMP_FROM_PARTS",
|
|
356
|
+
"TIMESTAMP_LTZ_FROM_PARTS",
|
|
357
|
+
"TIMESTAMP_NTZ_FROM_PARTS",
|
|
358
|
+
"TIMESTAMP_TZ_FROM_PARTS",
|
|
359
|
+
"TIME_FROM_PARTS",
|
|
360
|
+
"TIME_SLICE",
|
|
361
|
+
"TO_ARRAY",
|
|
362
|
+
"TO_BINARY",
|
|
363
|
+
"TO_BOOLEAN",
|
|
364
|
+
"TO_CHAR",
|
|
365
|
+
"TO_DATE",
|
|
366
|
+
"TO_DECIMAL",
|
|
367
|
+
"TO_DOUBLE",
|
|
368
|
+
"TO_JSON",
|
|
369
|
+
"TO_NUMBER",
|
|
370
|
+
"TO_NUMERIC",
|
|
371
|
+
"TO_OBJECT",
|
|
372
|
+
"TO_TIME",
|
|
373
|
+
"TO_TIMESTAMP",
|
|
374
|
+
"TO_TIMESTAMP_LTZ",
|
|
375
|
+
"TO_TIMESTAMP_NTZ",
|
|
376
|
+
"TO_TIMESTAMP_TZ",
|
|
377
|
+
"TO_VARCHAR",
|
|
378
|
+
"TO_VARIANT",
|
|
379
|
+
"TO_XML",
|
|
380
|
+
"TRANSLATE",
|
|
381
|
+
"TRIM",
|
|
382
|
+
"TRUNC",
|
|
383
|
+
"TRUNCATE",
|
|
384
|
+
"TRY_BASE64_DECODE_BINARY",
|
|
385
|
+
"TRY_BASE64_DECODE_STRING",
|
|
386
|
+
"TRY_CAST",
|
|
387
|
+
"TRY_HEX_DECODE_BINARY",
|
|
388
|
+
"TRY_HEX_DECODE_STRING",
|
|
389
|
+
"TRY_TO_BINARY",
|
|
390
|
+
"TRY_TO_BOOLEAN",
|
|
391
|
+
"TRY_TO_DATE",
|
|
392
|
+
"TRY_TO_DECIMAL",
|
|
393
|
+
"TRY_TO_DOUBLE",
|
|
394
|
+
"TRY_TO_NUMBER",
|
|
395
|
+
"TRY_TO_NUMERIC",
|
|
396
|
+
"TRY_TO_TIME",
|
|
397
|
+
"TRY_TO_TIMESTAMP",
|
|
398
|
+
"TRY_TO_TIMESTAMP_LTZ",
|
|
399
|
+
"TRY_TO_TIMESTAMP_NTZ",
|
|
400
|
+
"TRY_TO_TIMESTAMP_TZ",
|
|
401
|
+
"TYPEOF",
|
|
402
|
+
"UNICODE",
|
|
403
|
+
"UNIFORM",
|
|
404
|
+
"UPPER",
|
|
405
|
+
"UUID_STRING",
|
|
406
|
+
"VARIANCE",
|
|
407
|
+
"VARIANCE_POP",
|
|
408
|
+
"VARIANCE_SAMP",
|
|
409
|
+
"VAR_POP",
|
|
410
|
+
"VAR_SAMP",
|
|
411
|
+
"WEEK",
|
|
412
|
+
"WEEKISO",
|
|
413
|
+
"WEEKOFYEAR",
|
|
414
|
+
"WIDTH_BUCKET",
|
|
415
|
+
"XMLGET",
|
|
416
|
+
"YEAR",
|
|
417
|
+
"YEAROFWEEK",
|
|
418
|
+
"YEAROFWEEKISO",
|
|
419
|
+
"ZEROIFNULL",
|
|
420
|
+
"ZIPF",
|
|
421
|
+
)
|