Skip to content

Commit ddeef54

Browse files
authored
Merge pull request #321 from stackql/feature/provider-updates
snowflake provider updates
2 parents 0c86810 + 341f5a4 commit ddeef54

37 files changed

+5791
-174
lines changed

providers/src/snowflake/v00.00.00000/provider.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,34 @@ providerServices:
5454
version: v00.00.00000
5555
description: The Snowflake Compute Pools API is a REST API that you can use to
5656
access, update, and perform common actions on Compute Pool resources.
57+
cortex_analyst:
58+
id: cortex_analyst:v00.00.00000
59+
name: cortex_analyst
60+
preferred: true
61+
service:
62+
$ref: snowflake/v00.00.00000/services/cortex-analyst.yaml
63+
title: Cortex Analyst API
64+
version: v00.00.00000
65+
description: The Snowflake Cortex Analyst API is a REST API that allows end user
66+
to chat with their data leveraging semantic models to generate SQL queries.
67+
cortex_inference:
68+
id: cortex_inference:v00.00.00000
69+
name: cortex_inference
70+
preferred: true
71+
service:
72+
$ref: snowflake/v00.00.00000/services/cortex-inference.yaml
73+
title: Cortex Inference API
74+
version: v00.00.00000
75+
description: OpenAPI 3.0 specification for the Cortex REST API
76+
cortex_search_service:
77+
id: cortex_search_service:v00.00.00000
78+
name: cortex_search_service
79+
preferred: true
80+
service:
81+
$ref: snowflake/v00.00.00000/services/cortex-search-service.yaml
82+
title: Cortex Search REST API
83+
version: v00.00.00000
84+
description: OpenAPI 3.0 specification for the Cortex Search REST API
5785
database_role:
5886
id: database_role:v00.00.00000
5987
name: database_role
@@ -243,6 +271,16 @@ providerServices:
243271
version: v00.00.00000
244272
description: The Snowflake Schema API is a REST API that you can use to access,
245273
update, and perform certain actions on a Snowflake schema.
274+
service:
275+
id: service:v00.00.00000
276+
name: service
277+
preferred: true
278+
service:
279+
$ref: snowflake/v00.00.00000/services/service.yaml
280+
title: Snowflake Services API
281+
version: v00.00.00000
282+
description: The Snowflake Services API is a REST API that you can use to access,
283+
update, and perform certain actions on Services resource in a Snowflake database.
246284
sqlapi:
247285
id: sqlapi:v00.00.00000
248286
name: sqlapi

providers/src/snowflake/v00.00.00000/services/account.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -414,11 +414,9 @@ components:
414414
- edition
415415
Identifier:
416416
type: string
417-
description: 'A Snowflake object identifier. If the identifier contains spaces
418-
or special characters, the entire string must be enclosed in double quotes. Identifiers
419-
enclosed in double quotes are also case-sensitive.
420-
421-
'
417+
description: A Snowflake object identifier. If the identifier contains spaces
418+
or special characters, the entire string must be enclosed in double quotes.
419+
Identifiers enclosed in double quotes are also case-sensitive.
422420
pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$
423421
example: TEST_NAME
424422
ErrorResponse:

providers/src/snowflake/v00.00.00000/services/alert.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,9 @@ components:
477477
- statement
478478
Identifier:
479479
type: string
480-
description: 'A Snowflake object identifier. If the identifier contains spaces
481-
or special characters, the entire string must be enclosed in double quotes. Identifiers
482-
enclosed in double quotes are also case-sensitive.
483-
484-
'
480+
description: A Snowflake object identifier. If the identifier contains spaces
481+
or special characters, the entire string must be enclosed in double quotes.
482+
Identifiers enclosed in double quotes are also case-sensitive.
485483
pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$
486484
example: TEST_NAME
487485
ErrorResponse:

providers/src/snowflake/v00.00.00000/services/api-integration.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,9 @@ components:
388388
nullable: true
389389
Identifier:
390390
type: string
391-
description: 'A Snowflake object identifier. If the identifier contains spaces
392-
or special characters, the entire string must be enclosed in double quotes. Identifiers
393-
enclosed in double quotes are also case-sensitive.
394-
395-
'
391+
description: A Snowflake object identifier. If the identifier contains spaces
392+
or special characters, the entire string must be enclosed in double quotes.
393+
Identifiers enclosed in double quotes are also case-sensitive.
396394
pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$
397395
example: TEST_NAME
398396
ErrorResponse:

providers/src/snowflake/v00.00.00000/services/catalog-integration.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,9 @@ components:
350350
- oauth_allowed_scopes
351351
Identifier:
352352
type: string
353-
description: 'A Snowflake object identifier. If the identifier contains spaces
354-
or special characters, the entire string must be enclosed in double quotes. Identifiers
355-
enclosed in double quotes are also case-sensitive.
356-
357-
'
353+
description: A Snowflake object identifier. If the identifier contains spaces
354+
or special characters, the entire string must be enclosed in double quotes.
355+
Identifiers enclosed in double quotes are also case-sensitive.
358356
pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$
359357
example: TEST_NAME
360358
ErrorResponse:

providers/src/snowflake/v00.00.00000/services/compute-pool.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ paths:
228228
tags:
229229
- compute-pool
230230
description: Resume a compute pool, if suspended. If the specified compute pool
231-
is already running, no action is taken.
231+
is already running, this will cause a 400 Bad Request error.
232232
operationId: resumeComputePool
233233
parameters:
234234
- $ref: '#/components/parameters/name'
@@ -489,11 +489,9 @@ components:
489489
- max_nodes
490490
Identifier:
491491
type: string
492-
description: 'A Snowflake object identifier. If the identifier contains spaces
493-
or special characters, the entire string must be enclosed in double quotes. Identifiers
494-
enclosed in double quotes are also case-sensitive.
495-
496-
'
492+
description: A Snowflake object identifier. If the identifier contains spaces
493+
or special characters, the entire string must be enclosed in double quotes.
494+
Identifiers enclosed in double quotes are also case-sensitive.
497495
pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$
498496
example: TEST_NAME
499497
ErrorResponse:

0 commit comments

Comments
 (0)