Skip to content

Commit c76e681

Browse files
authored
Merge pull request #281 from stackql/feature/provider-docs
update snowflake
2 parents f84e024 + 07a04ca commit c76e681

File tree

15 files changed

+51
-194
lines changed

15 files changed

+51
-194
lines changed

docs/snowflake-docs/providers/snowflake/alert/alerts/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,7 @@ SELECT
219219
description: user comment associated to an object in the dictionary
220220
- name: schedule
221221
value:
222-
- name: schedule_type
223-
value: string
224-
description: Type of the schedule, can be either CRON_TYPE or MINUTES_TYPE
222+
schedule_type: string
225223
description: Required parameter for the alerts resource.
226224
- name: warehouse
227225
value: string

docs/snowflake-docs/providers/snowflake/api_integration/api_integrations/index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,7 @@ SELECT
181181
api_integrations resource.)
182182
- name: api_hook
183183
value:
184-
- name: type
185-
value: string
186-
description: >-
187-
Type of ApiHook, can be AWS, AZURE, GC or GIT. (valid values: 'AWS',
188-
'AZURE', 'GC', 'GIT')
184+
type: string
189185
description: Required parameter for the api_integrations resource.
190186
- name: api_allowed_prefixes
191187
value: array

docs/snowflake-docs/providers/snowflake/catalog_integration/catalog_integrations/index.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,7 @@ SELECT
181181
catalog_integrations resource.)
182182
- name: catalog
183183
value:
184-
- name: catalog_source
185-
value: string
186-
description: >-
187-
Type of external catalog (valid values: 'GLUE', 'OBJECT_STORE',
188-
'POLARIS')
184+
catalog_source: string
189185
description: Required parameter for the catalog_integrations resource.
190186
- name: table_format
191187
value: string

docs/snowflake-docs/providers/snowflake/database_role/future_grants/index.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -152,26 +152,14 @@ SELECT
152152
description: Required parameter for the future_grants resource.
153153
- name: securable
154154
value:
155-
- name: database
156-
value: string
157-
description: Database name of the securable if applicable.
158-
- name: schema
159-
value: string
160-
description: Schema name of the securable if applicable.
161-
- name: service
162-
value: string
163-
description: Service name of the securable if applicable.
164-
- name: name
165-
value: string
166-
description: Name of the securable if applicable.
155+
database: string
156+
schema: string
157+
service: string
158+
name: string
167159
- name: containing_scope
168160
value:
169-
- name: database
170-
value: string
171-
description: Database name of the securable scope if applicable.
172-
- name: schema
173-
value: string
174-
description: Schema name of the securable scope if applicable.
161+
database: string
162+
schema: string
175163
- name: securable_type
176164
value: string
177165
description: >-

docs/snowflake-docs/providers/snowflake/database_role/grants/index.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -152,26 +152,14 @@ SELECT
152152
description: Required parameter for the grants resource.
153153
- name: securable
154154
value:
155-
- name: database
156-
value: string
157-
description: Database name of the securable if applicable.
158-
- name: schema
159-
value: string
160-
description: Schema name of the securable if applicable.
161-
- name: service
162-
value: string
163-
description: Service name of the securable if applicable.
164-
- name: name
165-
value: string
166-
description: Name of the securable if applicable.
155+
database: string
156+
schema: string
157+
service: string
158+
name: string
167159
- name: containing_scope
168160
value:
169-
- name: database
170-
value: string
171-
description: Database name of the securable scope if applicable.
172-
- name: schema
173-
value: string
174-
description: Schema name of the securable scope if applicable.
161+
database: string
162+
schema: string
175163
- name: securable_type
176164
value: string
177165
description: >-

docs/snowflake-docs/providers/snowflake/dynamic_table/dynamic_tables/index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,7 @@ SELECT
288288
description: Specifies a comment for the column
289289
- name: target_lag
290290
value:
291-
- name: type
292-
value: string
293-
description: Type of lag, can be either USER_DEFINED or DOWNSTREAM.
291+
type: string
294292
description: >-
295293
Specifies the schedule for periodically refreshing the dynamic table.
296294
(Required parameter for the dynamic_tables resource.)

docs/snowflake-docs/providers/snowflake/notebook/notebooks/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,10 @@ SELECT
285285
Warehouse against which the queries issued by the Streamlit app are run
286286
against
287287
- name: default_version_details
288-
value: []
288+
value: {}
289289
description: The version details of a file based entity
290290
- name: last_version_details
291-
value: []
291+
value: {}
292292
description: The version details of a file based entity
293293
```
294294
</TabItem>

docs/snowflake-docs/providers/snowflake/notification_integration/notification_integrations/index.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,7 @@ SELECT
172172
description: Comment for the notification integration.
173173
- name: notification_hook
174174
value:
175-
- name: type
176-
value: string
177-
description: >-
178-
Type of NotificationHook, can be QUEUE, EMAIL or WEBHOOK (valid
179-
values: 'EMAIL', 'WEBHOOK', 'QUEUE_AWS_SNS_OUTBOUND',
180-
'QUEUE_AZURE_EVENT_GRID_OUTBOUND', 'QUEUE_GCP_PUBSUB_OUTBOUND',
181-
'QUEUE_AZURE_EVENT_GRID_INBOUND', 'QUEUE_GCP_PUBSUB_INBOUND')
175+
type: string
182176
description: Required parameter for the notification_integrations resource.
183177
```
184178
</TabItem>

docs/snowflake-docs/providers/snowflake/procedure/procedures/index.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -260,20 +260,12 @@ SELECT
260260
procedures resource.)
261261
- name: return_type
262262
value:
263-
- name: type
264-
value: string
265-
description: Type of the return, can be either DATATYPE or TABLE
263+
type: string
266264
description: Required parameter for the procedures resource.
267265
- name: language_config
268266
value:
269-
- name: language
270-
value: string
271-
description: >-
272-
Language that the function/procedure is written in. Possible values
273-
include: JAVA, JAVASCRIPT, PYTHON, SCALA, SQL
274-
- name: called_on_null_input
275-
value: boolean
276-
description: Decide if the function/procedure can receive null input
267+
language: string
268+
called_on_null_input: boolean
277269
description: Required parameter for the procedures resource.
278270
- name: comment
279271
value: string

docs/snowflake-docs/providers/snowflake/role/future_grants/index.md

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -144,26 +144,14 @@ SELECT
144144
description: Required parameter for the future_grants resource.
145145
- name: securable
146146
value:
147-
- name: database
148-
value: string
149-
description: Database name of the securable if applicable.
150-
- name: schema
151-
value: string
152-
description: Schema name of the securable if applicable.
153-
- name: service
154-
value: string
155-
description: Service name of the securable if applicable.
156-
- name: name
157-
value: string
158-
description: Name of the securable if applicable.
147+
database: string
148+
schema: string
149+
service: string
150+
name: string
159151
- name: containing_scope
160152
value:
161-
- name: database
162-
value: string
163-
description: Database name of the securable scope if applicable.
164-
- name: schema
165-
value: string
166-
description: Schema name of the securable scope if applicable.
153+
database: string
154+
schema: string
167155
- name: securable_type
168156
value: string
169157
description: >-

0 commit comments

Comments
 (0)