From 40cf78df9b20945fc8047c86a96af5a64a0e9d16 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Fri, 12 Sep 2025 08:03:45 +1000 Subject: [PATCH] doc updates --- LICENSE | 21 +++++ package-lock.json | 29 +++++-- package.json | 2 +- .../docgen/provider-data/headerContent1.txt | 2 +- website/docs/index.md | 2 +- .../docs/services/account/accounts/index.md | 21 +++-- website/docs/services/alert/alerts/index.md | 27 +++--- .../api_integration/api_integrations/index.md | 28 ++++--- .../catalog_integrations/index.md | 23 ++--- .../compute_pool/compute_pools/index.md | 40 +++++---- .../services/cortex_analyst/feedback/index.md | 6 +- .../services/cortex_analyst/messages/index.md | 4 +- .../cortex_analyst/query_suggestions/index.md | 5 +- .../services/cortex_analyst/tokens/index.md | 3 +- .../cortex_inference/completions/index.md | 6 +- .../services/cortex_inference/models/index.md | 3 +- .../search_services/index.md | 32 ++++--- .../docs/services/database/databases/index.md | 68 ++++++++------- .../database_role/database_roles/index.md | 21 +++-- .../database_role/future_grants/index.md | 10 ++- .../services/database_role/grants/index.md | 10 ++- .../dynamic_table/dynamic_tables/index.md | 45 ++++++---- .../event_table/event_tables/index.md | 16 ++-- .../external_volume/external_volumes/index.md | 30 ++++--- .../docs/services/function/functions/index.md | 18 ++-- .../services/grant/grant_options/index.md | 6 +- .../docs/services/grant/grants_to/index.md | 3 +- .../docs/services/grant/privileges/index.md | 6 +- .../iceberg_table/iceberg_tables/index.md | 83 +++++++++++-------- .../image_repositories/index.md | 25 +++--- .../services/image_repository/images/index.md | 3 +- .../managed_account/managed_accounts/index.md | 18 ++-- .../network_policy/network_policies/index.md | 25 +++--- .../docs/services/notebook/notebooks/index.md | 49 ++++++----- .../notification_integrations/index.md | 19 +++-- website/docs/services/pipe/pipes/index.md | 22 +++-- .../services/procedure/procedures/index.md | 38 +++++---- website/docs/services/result/results/index.md | 3 +- .../docs/services/role/future_grants/index.md | 10 ++- website/docs/services/role/grants/index.md | 10 ++- website/docs/services/role/grants_of/index.md | 3 +- website/docs/services/role/grants_on/index.md | 3 +- website/docs/services/role/roles/index.md | 14 ++-- website/docs/services/schema/schemas/index.md | 30 ++++--- .../docs/services/service/containers/index.md | 9 +- .../docs/services/service/endpoints/index.md | 3 +- website/docs/services/service/grants/index.md | 3 +- .../docs/services/service/grants_of/index.md | 3 +- .../docs/services/service/instances/index.md | 9 +- website/docs/services/service/logs/index.md | 3 +- website/docs/services/service/roles/index.md | 3 +- .../docs/services/service/services/index.md | 49 ++++++----- website/docs/services/service/status/index.md | 3 +- .../docs/services/sqlapi/statements/index.md | 6 +- .../services/stage/presigned_url/index.md | 3 +- .../docs/services/stage/stage_files/index.md | 3 +- website/docs/services/stage/stages/index.md | 21 +++-- .../docs/services/streams/streams/index.md | 44 +++++----- website/docs/services/table/tables/index.md | 64 +++++++++----- .../services/task/complete_graphs/index.md | 6 +- .../services/task/current_graphs/index.md | 6 +- .../docs/services/task/dependents/index.md | 7 +- website/docs/services/task/tasks/index.md | 37 +++++---- website/docs/services/user/grants/index.md | 10 ++- website/docs/services/user/users/index.md | 18 ++-- .../user_defined_functions/index.md | 42 +++++----- website/docs/services/view/views/index.md | 17 ++-- .../services/warehouse/warehouses/index.md | 49 ++++++----- 68 files changed, 755 insertions(+), 505 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..81436d1 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2022 StackQL Studios + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 0299258..e558324 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "stackql-provider-snowflake", "version": "0.1.0", "dependencies": { - "@stackql/provider-utils": "^0.2.2" + "@stackql/provider-utils": "^0.4.6" }, "engines": { "node": ">=14.16.0" @@ -72,21 +72,22 @@ }, "node_modules/@stackql/deno-openapi-dereferencer": { "name": "@jsr/stackql__deno-openapi-dereferencer", - "version": "0.3.0", - "resolved": "https://npm.jsr.io/~/11/@jsr/stackql__deno-openapi-dereferencer/0.3.0.tgz", - "integrity": "sha512-OAelrzxruvgV0WDswEkMblV7aOgOPJqttBs2zCqBE4V8DpkOKE7NEEIjEmP/4c2/mDoJQe2ShxrU/6D4NGG6tQ==", + "version": "0.3.1", + "resolved": "https://npm.jsr.io/~/11/@jsr/stackql__deno-openapi-dereferencer/0.3.1.tgz", + "integrity": "sha512-7Ucdom3SYxvzp7VwzulQMe66E+1LeCZIprFQ70PwRPIUfL90bYNQDrLfe5L1WaB+X7StWdHmoFSFxoa9RDlN7w==", "dependencies": { "jsonpath-plus": "7.0.0" } }, "node_modules/@stackql/provider-utils": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@stackql/provider-utils/-/provider-utils-0.2.2.tgz", - "integrity": "sha512-8t+p4TWQI7dXUuPQLEg55T2ZCDNRytph/MdWfRrnuyBkro3XAYEn4NF4qAnYOLq14+JHzk1eLgDb//hGMyUJOQ==", + "version": "0.4.6", + "resolved": "https://registry.npmjs.org/@stackql/provider-utils/-/provider-utils-0.4.6.tgz", + "integrity": "sha512-PyO5ik/1MPSDrfDogrn87sbqz905IPVefAxH4exqDPp1J1qd0jvZMfLNoaOWWs2TidxrfCP1Vct7jDoAFRrP5Q==", "license": "MIT", "dependencies": { "@apidevtools/swagger-parser": "^10.1.1", - "@stackql/deno-openapi-dereferencer": "npm:@jsr/stackql__deno-openapi-dereferencer@^0.3.0", + "@stackql/deno-openapi-dereferencer": "npm:@jsr/stackql__deno-openapi-dereferencer@^0.3.1", + "csv-parser": "^3.2.0", "js-yaml": "^4.1.0", "pluralize": "^8.0.0" }, @@ -142,6 +143,18 @@ "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", "license": "MIT" }, + "node_modules/csv-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.2.0.tgz", + "integrity": "sha512-fgKbp+AJbn1h2dcAHKIdKNSSjfp43BZZykXsCjzALjKy80VXQNHPFJ6T9Afwdzoj24aMkq8GwDS7KGcDPpejrA==", + "license": "MIT", + "bin": { + "csv-parser": "bin/csv-parser" + }, + "engines": { + "node": ">= 10" + } + }, "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", diff --git a/package.json b/package.json index 8c25803..d2f69ce 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "test": "echo \"Error: no test specified\" && exit 1" }, "dependencies": { - "@stackql/provider-utils": "^0.2.2" + "@stackql/provider-utils": "^0.4.6" }, "engines": { "node": ">=14.16.0" diff --git a/provider-dev/docgen/provider-data/headerContent1.txt b/provider-dev/docgen/provider-data/headerContent1.txt index 37a6760..77e66eb 100644 --- a/provider-dev/docgen/provider-data/headerContent1.txt +++ b/provider-dev/docgen/provider-data/headerContent1.txt @@ -10,7 +10,7 @@ keywords: - cloud inventory description: Query, deploy and manage Snowflake resources using SQL custom_edit_url: null -image: /img/providers/snowflake/stackql-snowflake-provider-featured-image.png +image: /img/stackql-snowflake-provider-featured-image.png id: 'provider-intro' --- diff --git a/website/docs/index.md b/website/docs/index.md index 9cdab08..8b7c2fc 100644 --- a/website/docs/index.md +++ b/website/docs/index.md @@ -10,7 +10,7 @@ keywords: - cloud inventory description: Query, deploy and manage Snowflake resources using SQL custom_edit_url: null -image: /img/providers/snowflake/stackql-snowflake-provider-featured-image.png +image: /img/stackql-snowflake-provider-featured-image.png id: 'provider-intro' --- diff --git a/website/docs/services/account/accounts/index.md b/website/docs/services/account/accounts/index.md index 9e60be8..4d02023 100644 --- a/website/docs/services/account/accounts/index.md +++ b/website/docs/services/account/accounts/index.md @@ -53,7 +53,7 @@ Successful request. string - User-defined name that identifies an account within the organization. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + User-defined name that identifies an account within the organization. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -270,7 +270,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__admin_name, data__email, data__edition Creates a account. You must provide the full account definition when creating a account. @@ -398,7 +398,8 @@ FROM snowflake.account.accounts WHERE endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND showLimit = '{{ showLimit }}' -AND history = '{{ history }}'; +AND history = '{{ history }}' +; ``` @@ -436,18 +437,18 @@ data__polaris, endpoint ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ region_group }}', '{{ region }}', -'{{ edition }}' --required, +'{{ edition }}' /* required */, '{{ comment }}', -'{{ admin_name }}' --required, +'{{ admin_name }}' /* required */, '{{ admin_password }}', '{{ admin_rsa_public_key }}', '{{ admin_user_type }}', '{{ first_name }}', '{{ last_name }}', -'{{ email }}' --required, +'{{ email }}' /* required */, {{ must_change_password }}, {{ polaris }}, '{{ endpoint }}' @@ -558,7 +559,8 @@ DELETE FROM snowflake.account.accounts WHERE name = '{{ name }}' --required AND gracePeriodInDays = '{{ gracePeriodInDays }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -579,7 +581,8 @@ Restores a dropped account that has not yet been permanently deleted (a dropped ```sql EXEC snowflake.account.accounts.undrop_account @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/alert/alerts/index.md b/website/docs/services/alert/alerts/index.md index d629cc5..ed8bc3c 100644 --- a/website/docs/services/alert/alerts/index.md +++ b/website/docs/services/alert/alerts/index.md @@ -224,7 +224,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__schedule, data__condition, data__action createMode Create an alert @@ -238,7 +238,7 @@ The following methods are available for this resource: - database_name, schema_name, name, targetDatabase, targetSchema, endpoint + database_name, schema_name, name, targetDatabase, targetSchema, endpoint, name createMode Create a new alert by cloning from the specified resource @@ -362,7 +362,8 @@ AND endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -387,7 +388,8 @@ FROM snowflake.alert.alerts WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -420,12 +422,12 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ comment }}', -'{{ schedule }}' --required, +'{{ schedule }}' /* required */, '{{ warehouse }}', -'{{ condition }}' --required, -'{{ action }}' --required, +'{{ condition }}' /* required */, +'{{ action }}' /* required */, '{{ database_name }}', '{{ schema_name }}', '{{ endpoint }}', @@ -504,7 +506,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -536,7 +539,8 @@ EXEC snowflake.alert.alerts.clone_alert '{ "name": "{{ name }}", "point_of_time": "{{ point_of_time }}" -}'; +}' +; ``` @@ -548,7 +552,8 @@ EXEC snowflake.alert.alerts.execute_alert @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/api_integration/api_integrations/index.md b/website/docs/services/api_integration/api_integrations/index.md index 0915bc7..d3633c8 100644 --- a/website/docs/services/api_integration/api_integrations/index.md +++ b/website/docs/services/api_integration/api_integrations/index.md @@ -54,7 +54,7 @@ successful string - Name of the API integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the API integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -105,7 +105,7 @@ successful string - Name of the API integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the API integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -174,14 +174,14 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__api_hook, data__api_allowed_prefixes, data__enabled createMode Create an API integration - name, endpoint + name, endpoint, data__name, data__api_hook, data__api_allowed_prefixes, data__enabled Create an (or alter an existing) API integration. Note that API_KEY is not currently altered by this operation and is supported for a newly-created object only. Unsetting API_BLOCKED_PREFIXES is also unsupported. @@ -260,7 +260,8 @@ created_on, enabled FROM snowflake.api_integration.api_integrations WHERE endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -278,7 +279,8 @@ created_on, enabled FROM snowflake.api_integration.api_integrations WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -309,11 +311,11 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, -'{{ api_hook }}' --required, -'{{ api_allowed_prefixes }}' --required, +'{{ name }}' /* required */, +'{{ api_hook }}' /* required */, +'{{ api_allowed_prefixes }}' /* required */, '{{ api_blocked_prefixes }}', -{{ enabled }} --required, +{{ enabled }} /* required */, '{{ comment }}', '{{ endpoint }}', '{{ createMode }}' @@ -391,7 +393,8 @@ AND endpoint = '{{ endpoint }}' --required AND data__name = '{{ name }}' --required AND data__api_hook = '{{ api_hook }}' --required AND data__api_allowed_prefixes = '{{ api_allowed_prefixes }}' --required -AND data__enabled = {{ enabled }} --required; +AND data__enabled = {{ enabled }} --required +; ``` @@ -413,7 +416,8 @@ Delete an API integration DELETE FROM snowflake.api_integration.api_integrations WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/catalog_integration/catalog_integrations/index.md b/website/docs/services/catalog_integration/catalog_integrations/index.md index b052b21..7d6b70f 100644 --- a/website/docs/services/catalog_integration/catalog_integrations/index.md +++ b/website/docs/services/catalog_integration/catalog_integrations/index.md @@ -54,7 +54,7 @@ successful string - Name of the catalog integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the catalog integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -110,7 +110,7 @@ successful string - Name of the catalog integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the catalog integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -184,7 +184,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__catalog, data__table_format, data__enabled createMode Create a catalog integration. @@ -264,7 +264,8 @@ table_format, type FROM snowflake.catalog_integration.catalog_integrations WHERE endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -283,7 +284,8 @@ table_format, type FROM snowflake.catalog_integration.catalog_integrations WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -313,10 +315,10 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, -'{{ catalog }}' --required, -'{{ table_format }}' --required, -{{ enabled }} --required, +'{{ name }}' /* required */, +'{{ catalog }}' /* required */, +'{{ table_format }}' /* required */, +{{ enabled }} /* required */, '{{ comment }}', '{{ endpoint }}', '{{ createMode }}' @@ -382,7 +384,8 @@ Delete a catalog integration. DELETE FROM snowflake.catalog_integration.catalog_integrations WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/compute_pool/compute_pools/index.md b/website/docs/services/compute_pool/compute_pools/index.md index c1af17d..9fc17d1 100644 --- a/website/docs/services/compute_pool/compute_pools/index.md +++ b/website/docs/services/compute_pool/compute_pools/index.md @@ -54,7 +54,7 @@ Successful request. string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -180,7 +180,7 @@ Successful request. string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -324,14 +324,14 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__instance_family, data__min_nodes, data__max_nodes createMode, initiallySuspended Creates a compute pool, with standard create modifiers as query parameters. See the Compute Pool component definition for what is required to be provided in the request body. - name, endpoint + name, endpoint, data__name, data__instance_family, data__min_nodes, data__max_nodes Create a (or alter an existing) compute pool. Even if the operation is just an alter, the full property set must be provided. @@ -470,7 +470,8 @@ FROM snowflake.compute_pool.compute_pools WHERE endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -503,7 +504,8 @@ target_nodes, updated_on FROM snowflake.compute_pool.compute_pools WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -536,10 +538,10 @@ createMode, initiallySuspended ) SELECT -'{{ name }}' --required, -{{ min_nodes }} --required, -{{ max_nodes }} --required, -'{{ instance_family }}' --required, +'{{ name }}' /* required */, +{{ min_nodes }} /* required */, +{{ max_nodes }} /* required */, +'{{ instance_family }}' /* required */, {{ auto_resume }}, '{{ comment }}', {{ auto_suspend_secs }}, @@ -632,7 +634,8 @@ AND endpoint = '{{ endpoint }}' --required AND data__name = '{{ name }}' --required AND data__instance_family = '{{ instance_family }}' --required AND data__min_nodes = '{{ min_nodes }}' --required -AND data__max_nodes = '{{ max_nodes }}' --required; +AND data__max_nodes = '{{ max_nodes }}' --required +; ``` @@ -654,7 +657,8 @@ Deletes a compute pool with the given name. If you enable the `ifExists` paramet DELETE FROM snowflake.compute_pool.compute_pools WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -678,7 +682,8 @@ Resume a compute pool, if suspended. If the specified compute pool is already ru ```sql EXEC snowflake.compute_pool.compute_pools.resume_compute_pool @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -688,7 +693,8 @@ Suspend a compute pool, if active. If the specified compute pool is already susp ```sql EXEC snowflake.compute_pool.compute_pools.suspend_compute_pool @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -698,7 +704,8 @@ Stops all services in the compute pool. Deprecated - use :stop-all-services inst ```sql EXEC snowflake.compute_pool.compute_pools.stop_all_services_in_compute_pool_deprecated @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -708,7 +715,8 @@ Stops all services in the compute pool. ```sql EXEC snowflake.compute_pool.compute_pools.stop_all_services_in_compute_pool @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/cortex_analyst/feedback/index.md b/website/docs/services/cortex_analyst/feedback/index.md index deb847c..4e78eb4 100644 --- a/website/docs/services/cortex_analyst/feedback/index.md +++ b/website/docs/services/cortex_analyst/feedback/index.md @@ -52,7 +52,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__request_id, data__positive Send a user feedback of Cortex Analyst response @@ -101,8 +101,8 @@ data__feedback_message, endpoint ) SELECT -'{{ request_id }}' --required, -{{ positive }} --required, +'{{ request_id }}' /* required */, +{{ positive }} /* required */, '{{ feedback_message }}', '{{ endpoint }}' ; diff --git a/website/docs/services/cortex_analyst/messages/index.md b/website/docs/services/cortex_analyst/messages/index.md index ced45bd..db81a65 100644 --- a/website/docs/services/cortex_analyst/messages/index.md +++ b/website/docs/services/cortex_analyst/messages/index.md @@ -52,7 +52,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__messages Send a data question to the Cortex Analyst @@ -115,7 +115,7 @@ SELECT {{ stream }}, '{{ operation }}', '{{ warehouse }}', -'{{ messages }}' --required, +'{{ messages }}' /* required */, '{{ source }}', '{{ experimental }}', '{{ endpoint }}' diff --git a/website/docs/services/cortex_analyst/query_suggestions/index.md b/website/docs/services/cortex_analyst/query_suggestions/index.md index 84dbb6e..9010601 100644 --- a/website/docs/services/cortex_analyst/query_suggestions/index.md +++ b/website/docs/services/cortex_analyst/query_suggestions/index.md @@ -52,7 +52,7 @@ The following methods are available for this resource: - endpoint + endpoint, semantic_model Generate VQ suggestions for a semantic model @@ -100,7 +100,8 @@ EXEC snowflake.cortex_analyst.query_suggestions.generate_verified_query_suggesti "semantic_model": "{{ semantic_model }}", "warehouse": "{{ warehouse }}", "experimental": "{{ experimental }}" -}'; +}' +; ``` diff --git a/website/docs/services/cortex_analyst/tokens/index.md b/website/docs/services/cortex_analyst/tokens/index.md index 2f6806b..b223408 100644 --- a/website/docs/services/cortex_analyst/tokens/index.md +++ b/website/docs/services/cortex_analyst/tokens/index.md @@ -126,7 +126,8 @@ SELECT expiration_seconds, token FROM snowflake.cortex_analyst.tokens -WHERE endpoint = '{{ endpoint }}' -- required; +WHERE endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/cortex_inference/completions/index.md b/website/docs/services/cortex_inference/completions/index.md index 29848f5..1017881 100644 --- a/website/docs/services/cortex_inference/completions/index.md +++ b/website/docs/services/cortex_inference/completions/index.md @@ -52,7 +52,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__model, data__messages Perform LLM text completion inference, similar to snowflake.cortex.Complete. @@ -113,8 +113,8 @@ data__stream, endpoint ) SELECT -'{{ model }}' --required, -'{{ messages }}' --required, +'{{ model }}' /* required */, +'{{ messages }}' /* required */, {{ temperature }}, {{ top_p }}, {{ max_tokens }}, diff --git a/website/docs/services/cortex_inference/models/index.md b/website/docs/services/cortex_inference/models/index.md index b03668b..8ac0815 100644 --- a/website/docs/services/cortex_inference/models/index.md +++ b/website/docs/services/cortex_inference/models/index.md @@ -120,7 +120,8 @@ Returns the LLMs available for the current session SELECT models FROM snowflake.cortex_inference.models -WHERE endpoint = '{{ endpoint }}' -- required; +WHERE endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/cortex_search_service/search_services/index.md b/website/docs/services/cortex_search_service/search_services/index.md index e0d9702..fccec68 100644 --- a/website/docs/services/cortex_search_service/search_services/index.md +++ b/website/docs/services/cortex_search_service/search_services/index.md @@ -274,7 +274,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__search_column, data__target_lag, data__warehouse, data__definition createMode Create a cortex search service, with standard create modifiers as query parameters. See the Cortex Search Service component definition for what is required to be provided in the request body. @@ -288,7 +288,7 @@ The following methods are available for this resource: - database_name, schema_name, service_name, endpoint + database_name, schema_name, service_name, endpoint, columns Query a Cortex Search Service to get search results. @@ -418,7 +418,8 @@ AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND fromName = '{{ fromName }}' -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -448,7 +449,8 @@ FROM snowflake.cortex_search_service.search_services WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -485,13 +487,13 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, -'{{ search_column }}' --required, +'{{ name }}' /* required */, +'{{ search_column }}' /* required */, '{{ columns }}', '{{ attribute_columns }}', -'{{ target_lag }}' --required, -'{{ warehouse }}' --required, -'{{ definition }}' --required, +'{{ target_lag }}' /* required */, +'{{ warehouse }}' /* required */, +'{{ definition }}' /* required */, '{{ comment }}', '{{ indexing_state }}', '{{ serving_state }}', @@ -595,7 +597,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -630,7 +633,8 @@ EXEC snowflake.cortex_search_service.search_services.query_cortex_search_service "limit": {{ limit }}, "scoring_config": "{{ scoring_config }}", "experimental": "{{ experimental }}" -}'; +}' +; ``` @@ -644,7 +648,8 @@ EXEC snowflake.cortex_search_service.search_services.suspend_cortex_search_servi @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, @ifExists={{ ifExists }}, -@target='{{ target }}'; +@target='{{ target }}' +; ``` @@ -658,7 +663,8 @@ EXEC snowflake.cortex_search_service.search_services.resume_cortex_search_servic @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, @ifExists={{ ifExists }}, -@target='{{ target }}'; +@target='{{ target }}' +; ``` diff --git a/website/docs/services/database/databases/index.md b/website/docs/services/database/databases/index.md index c445279..1ecaead 100644 --- a/website/docs/services/database/databases/index.md +++ b/website/docs/services/database/databases/index.md @@ -54,7 +54,7 @@ Successful request. string - Name of the database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of the database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -185,7 +185,7 @@ successful string - Name of the database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of the database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -334,14 +334,14 @@ The following methods are available for this resource: - endpoint + endpoint, data__name createMode, kind Creates a database, with modifiers as query parameters. You must provide the full database definition when creating a database. - name, endpoint + name, endpoint, data__name Creates a new, or alters an existing, database. You must provide the full database definition even when altering an existing database. @@ -369,7 +369,7 @@ The following methods are available for this resource: - name, endpoint + name, endpoint, name createMode, kind Clones an existing database, with modifiers as query parameters. You must provide the full database definition when cloning an existing database. @@ -383,14 +383,14 @@ The following methods are available for this resource: - name, endpoint + name, endpoint, accounts ignore_edition_check Promotes a local database to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database. - name, endpoint + name, endpoint, accounts Disables replication for this primary database, meaning no replica of this database (i.e. secondary database) in another account can be refreshed. Any secondary databases remain linked to the primary database, but requests to refresh a secondary database are denied. @@ -399,20 +399,19 @@ The following methods are available for this resource: name, endpoint - Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data. -If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time. + Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data.
If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time. - name, endpoint + name, endpoint, accounts Specifies a comma-separated list of accounts in your organization where a replica of this primary database can be promoted to serve as the primary database. - name, endpoint + name, endpoint, accounts Disables failover for this primary database, meaning no replica of this database (i.e. secondary database) can be promoted to serve as the primary database. @@ -551,7 +550,8 @@ AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' AND fromName = '{{ fromName }}' -AND history = '{{ history }}'; +AND history = '{{ history }}' +; ``` @@ -585,7 +585,8 @@ user_task_managed_initial_warehouse_size, user_task_timeout_ms FROM snowflake.database.databases WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -624,7 +625,7 @@ createMode, kind ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ kind }}', '{{ comment }}', {{ data_retention_time_in_days }}, @@ -761,7 +762,8 @@ data__serverless_task_max_statement_size = '{{ serverless_task_max_statement_siz WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND data__name = '{{ name }}' --required; +AND data__name = '{{ name }}' --required +; ``` @@ -784,7 +786,8 @@ DELETE FROM snowflake.database.databases WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required AND ifExists = '{{ ifExists }}' -AND restrict = '{{ restrict }}'; +AND restrict = '{{ restrict }}' +; ``` @@ -819,7 +822,8 @@ EXEC snowflake.database.databases.create_database_from_share @@json= '{ "name": "{{ name }}" -}'; +}' +; ``` @@ -831,7 +835,8 @@ EXEC snowflake.database.databases.create_database_from_share_deprecated @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, @createMode='{{ createMode }}', -@share='{{ share }}'; +@share='{{ share }}' +; ``` @@ -859,7 +864,8 @@ EXEC snowflake.database.databases.clone_database "user_task_timeout_ms": {{ user_task_timeout_ms }}, "serverless_task_min_statement_size": "{{ serverless_task_min_statement_size }}", "serverless_task_max_statement_size": "{{ serverless_task_max_statement_size }}" -}'; +}' +; ``` @@ -869,7 +875,8 @@ Undrops database. ```sql EXEC snowflake.database.databases.undrop_database @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -884,7 +891,8 @@ EXEC snowflake.database.databases.enable_database_replication @@json= '{ "accounts": "{{ accounts }}" -}'; +}' +; ``` @@ -898,18 +906,19 @@ EXEC snowflake.database.databases.disable_database_replication @@json= '{ "accounts": "{{ accounts }}" -}'; +}' +; ``` -Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data. -If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time. +Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data.
If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time. ```sql EXEC snowflake.database.databases.refresh_database_replication @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ```
@@ -923,7 +932,8 @@ EXEC snowflake.database.databases.enable_database_failover @@json= '{ "accounts": "{{ accounts }}" -}'; +}' +; ``` @@ -937,7 +947,8 @@ EXEC snowflake.database.databases.disable_database_failover @@json= '{ "accounts": "{{ accounts }}" -}'; +}' +; ``` @@ -947,7 +958,8 @@ Promotes the specified secondary (replica) database to serve as the primary data ```sql EXEC snowflake.database.databases.primary_database_failover @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/database_role/database_roles/index.md b/website/docs/services/database_role/database_roles/index.md index 5e5ba18..29414d4 100644 --- a/website/docs/services/database_role/database_roles/index.md +++ b/website/docs/services/database_role/database_roles/index.md @@ -53,7 +53,7 @@ successful string - Name of the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -83,12 +83,12 @@ successful string - Role that owns the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -120,7 +120,7 @@ The following methods are available for this resource: - database_name, endpoint + database_name, endpoint, data__name createMode Create a database role @@ -134,7 +134,7 @@ The following methods are available for this resource: - database_name, name, endpoint + database_name, name, endpoint, name createMode, targetDatabase Create a new database role by cloning from the specified resource @@ -223,7 +223,8 @@ FROM snowflake.database_role.database_roles WHERE database_name = '{{ database_name }}' -- required AND endpoint = '{{ endpoint }}' -- required AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -251,7 +252,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ comment }}', '{{ database_name }}', '{{ endpoint }}', @@ -306,7 +307,8 @@ DELETE FROM snowflake.database_role.database_roles WHERE database_name = '{{ database_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -334,7 +336,8 @@ EXEC snowflake.database_role.database_roles.clone_database_role @@json= '{ "name": "{{ name }}" -}'; +}' +; ``` diff --git a/website/docs/services/database_role/future_grants/index.md b/website/docs/services/database_role/future_grants/index.md index 923747e..2a64b81 100644 --- a/website/docs/services/database_role/future_grants/index.md +++ b/website/docs/services/database_role/future_grants/index.md @@ -115,7 +115,7 @@ The following methods are available for this resource: - database_name, name, endpoint + database_name, name, endpoint, data__securable_type Grant future privileges to the role @@ -195,7 +195,8 @@ FROM snowflake.database_role.future_grants WHERE database_name = '{{ database_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -228,7 +229,7 @@ endpoint SELECT '{{ securable }}', '{{ containing_scope }}', -'{{ securable_type }}' --required, +'{{ securable_type }}' /* required */, {{ grant_option }}, '{{ privileges }}', '{{ database_name }}', @@ -299,7 +300,8 @@ DELETE FROM snowflake.database_role.future_grants WHERE database_name = '{{ database_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND mode = '{{ mode }}'; +AND mode = '{{ mode }}' +; ``` diff --git a/website/docs/services/database_role/grants/index.md b/website/docs/services/database_role/grants/index.md index 4373ef4..a74c677 100644 --- a/website/docs/services/database_role/grants/index.md +++ b/website/docs/services/database_role/grants/index.md @@ -115,7 +115,7 @@ The following methods are available for this resource: - database_name, name, endpoint + database_name, name, endpoint, data__securable_type Grant privileges to the role @@ -195,7 +195,8 @@ FROM snowflake.database_role.grants WHERE database_name = '{{ database_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -228,7 +229,7 @@ endpoint SELECT '{{ securable }}', '{{ containing_scope }}', -'{{ securable_type }}' --required, +'{{ securable_type }}' /* required */, {{ grant_option }}, '{{ privileges }}', '{{ database_name }}', @@ -299,7 +300,8 @@ DELETE FROM snowflake.database_role.grants WHERE database_name = '{{ database_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND mode = '{{ mode }}'; +AND mode = '{{ mode }}' +; ``` diff --git a/website/docs/services/dynamic_table/dynamic_tables/index.md b/website/docs/services/dynamic_table/dynamic_tables/index.md index febab54..efd50ef 100644 --- a/website/docs/services/dynamic_table/dynamic_tables/index.md +++ b/website/docs/services/dynamic_table/dynamic_tables/index.md @@ -324,7 +324,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__target_lag, data__warehouse, data__query createMode Create a dynamic table, with standard create modifiers as query parameters. See the Dynamic Table component definition for what is required to be provided in the request body. @@ -338,7 +338,7 @@ The following methods are available for this resource: - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, name createMode, copyGrants, targetDatabase, targetSchema Create a new dynamic table by cloning from the specified resource @@ -530,7 +530,8 @@ AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' AND fromName = '{{ fromName }}' -AND deep = '{{ deep }}'; +AND deep = '{{ deep }}' +; ``` @@ -565,7 +566,8 @@ FROM snowflake.dynamic_table.dynamic_tables WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -604,15 +606,15 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ kind }}', '{{ columns }}', -'{{ target_lag }}' --required, +'{{ target_lag }}' /* required */, '{{ refresh_mode }}', '{{ initialize }}', -'{{ warehouse }}' --required, +'{{ warehouse }}' /* required */, '{{ cluster_by }}', -'{{ query }}' --required, +'{{ query }}' /* required */, {{ data_retention_time_in_days }}, {{ max_data_extension_time_in_days }}, '{{ comment }}', @@ -725,7 +727,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -766,7 +769,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.clone_dynamic_table "target_lag": "{{ target_lag }}", "warehouse": "{{ warehouse }}", "point_of_time": "{{ point_of_time }}" -}'; +}' +; ``` @@ -778,7 +782,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.undrop_dynamic_table @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -791,7 +796,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.suspend_dynamic_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -804,7 +810,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.resume_dynamic_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -817,7 +824,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.refresh_dynamic_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -830,7 +838,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.suspend_recluster_dynamic_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -843,7 +852,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.resume_recluster_dynamic_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -859,7 +869,8 @@ EXEC snowflake.dynamic_table.dynamic_tables.swap_with_dynamic_table @endpoint='{{ endpoint }}' --required, @ifExists={{ ifExists }}, @targetDatabase='{{ targetDatabase }}', -@targetSchema='{{ targetSchema }}'; +@targetSchema='{{ targetSchema }}' +; ``` diff --git a/website/docs/services/event_table/event_tables/index.md b/website/docs/services/event_table/event_tables/index.md index 8cdbbe7..3f46ab9 100644 --- a/website/docs/services/event_table/event_tables/index.md +++ b/website/docs/services/event_table/event_tables/index.md @@ -294,7 +294,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name createMode, copyGrants Create an event table @@ -432,7 +432,8 @@ AND endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -464,7 +465,8 @@ FROM snowflake.event_table.event_tables WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -499,7 +501,7 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ cluster_by }}', {{ data_retention_time_in_days }}, {{ max_data_extension_time_in_days }}, @@ -593,7 +595,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -618,7 +621,8 @@ EXEC snowflake.event_table.event_tables.rename_event_table @name='{{ name }}' --required, @targetName='{{ targetName }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` diff --git a/website/docs/services/external_volume/external_volumes/index.md b/website/docs/services/external_volume/external_volumes/index.md index 4e27302..89767df 100644 --- a/website/docs/services/external_volume/external_volumes/index.md +++ b/website/docs/services/external_volume/external_volumes/index.md @@ -54,7 +54,7 @@ successful string - String that specifies the identifier (the name) for the external volume; must be unique in your account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + String that specifies the identifier (the name) for the external volume; must be unique in your account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -74,12 +74,12 @@ successful string - Role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -105,7 +105,7 @@ successful string - String that specifies the identifier (the name) for the external volume; must be unique in your account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + String that specifies the identifier (the name) for the external volume; must be unique in your account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -125,12 +125,12 @@ successful string - Role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -174,7 +174,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__storage_locations createMode Create an external volume @@ -260,7 +260,8 @@ owner_role_type, storage_locations FROM snowflake.external_volume.external_volumes WHERE endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -278,7 +279,8 @@ owner_role_type, storage_locations FROM snowflake.external_volume.external_volumes WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -307,8 +309,8 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, -'{{ storage_locations }}' --required, +'{{ name }}' /* required */, +'{{ storage_locations }}' /* required */, {{ allow_writes }}, '{{ comment }}', '{{ endpoint }}', @@ -369,7 +371,8 @@ Delete an external volume DELETE FROM snowflake.external_volume.external_volumes WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -390,7 +393,8 @@ Undrop an external volume ```sql EXEC snowflake.external_volume.external_volumes.undrop_external_volume @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/function/functions/index.md b/website/docs/services/function/functions/index.md index d1f7847..5ddb036 100644 --- a/website/docs/services/function/functions/index.md +++ b/website/docs/services/function/functions/index.md @@ -194,7 +194,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__arguments createMode Create a function. @@ -299,7 +299,8 @@ FROM snowflake.function.functions WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -321,7 +322,8 @@ FROM snowflake.function.functions WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND nameWithArgs = '{{ nameWithArgs }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -358,8 +360,8 @@ createMode ) SELECT '{{ function_type }}', -'{{ name }}' --required, -'{{ arguments }}' --required, +'{{ name }}' /* required */, +'{{ arguments }}' /* required */, '{{ returns }}', {{ max_batch_rows }}, '{{ created_on }}', @@ -456,7 +458,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND nameWithArgs = '{{ nameWithArgs }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -479,7 +482,8 @@ EXEC snowflake.function.functions.execute_function @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/grant/grant_options/index.md b/website/docs/services/grant/grant_options/index.md index 822d8bd..ef0539d 100644 --- a/website/docs/services/grant/grant_options/index.md +++ b/website/docs/services/grant/grant_options/index.md @@ -158,7 +158,8 @@ AND securableType = '{{ securableType }}' --required AND securableName = '{{ securableName }}' --required AND privilege = '{{ privilege }}' --required AND endpoint = '{{ endpoint }}' --required -AND deleteMode = '{{ deleteMode }}'; +AND deleteMode = '{{ deleteMode }}' +; ``` @@ -175,7 +176,8 @@ AND scopeType = '{{ scopeType }}' --required AND scopeName = '{{ scopeName }}' --required AND privilege = '{{ privilege }}' --required AND endpoint = '{{ endpoint }}' --required -AND deleteMode = '{{ deleteMode }}'; +AND deleteMode = '{{ deleteMode }}' +; ``` diff --git a/website/docs/services/grant/grants_to/index.md b/website/docs/services/grant/grants_to/index.md index 500ce8f..905c645 100644 --- a/website/docs/services/grant/grants_to/index.md +++ b/website/docs/services/grant/grants_to/index.md @@ -188,7 +188,8 @@ FROM snowflake.grant.grants_to WHERE granteeType = '{{ granteeType }}' -- required AND granteeName = '{{ granteeName }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` diff --git a/website/docs/services/grant/privileges/index.md b/website/docs/services/grant/privileges/index.md index 9fc9600..bd70099 100644 --- a/website/docs/services/grant/privileges/index.md +++ b/website/docs/services/grant/privileges/index.md @@ -344,7 +344,8 @@ AND securableType = '{{ securableType }}' --required AND securableName = '{{ securableName }}' --required AND privilege = '{{ privilege }}' --required AND endpoint = '{{ endpoint }}' --required -AND deleteMode = '{{ deleteMode }}'; +AND deleteMode = '{{ deleteMode }}' +; ``` @@ -361,7 +362,8 @@ AND scopeType = '{{ scopeType }}' --required AND scopeName = '{{ scopeName }}' --required AND privilege = '{{ privilege }}' --required AND endpoint = '{{ endpoint }}' --required -AND deleteMode = '{{ deleteMode }}'; +AND deleteMode = '{{ deleteMode }}' +; ``` diff --git a/website/docs/services/iceberg_table/iceberg_tables/index.md b/website/docs/services/iceberg_table/iceberg_tables/index.md index aab8f2b..dd15a06 100644 --- a/website/docs/services/iceberg_table/iceberg_tables/index.md +++ b/website/docs/services/iceberg_table/iceberg_tables/index.md @@ -54,7 +54,7 @@ successful string - Name of the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -64,12 +64,12 @@ successful string - Database in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Database in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Schema in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Schema in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -159,12 +159,12 @@ successful string - Role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -195,7 +195,7 @@ successful string - Name of the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -205,12 +205,12 @@ successful string - Database in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Database in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Schema in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Schema in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -300,12 +300,12 @@ successful string - Role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -354,7 +354,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name createMode, copyGrants Create a snowflake managed iceberg table (clone and undrop are separate subresources) @@ -368,35 +368,35 @@ The following methods are available for this resource: - database_name, schema_name, query, endpoint + database_name, schema_name, query, endpoint, name, base_location createMode, copyGrants Create a snowflake managed iceberg table as select - database_name, schema_name, endpoint + database_name, schema_name, endpoint, name, catalog_table_name createMode Create an unmanaged iceberg table from AWS Glue catalog - database_name, schema_name, endpoint + database_name, schema_name, endpoint, name, base_location createMode Create an unmanaged iceberg table from Delta - database_name, schema_name, endpoint + database_name, schema_name, endpoint, name, metadata_file_path createMode Create an unmanaged iceberg table from Iceberg files - database_name, schema_name, endpoint + database_name, schema_name, endpoint, name, catalog_table_name createMode Create an unmanaged iceberg table from Iceberg REST @@ -438,14 +438,14 @@ The following methods are available for this resource: - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, name createMode, copyGrants, targetDatabase, targetSchema Clone a snowflake managed iceberg table - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, name createMode, copyGrants, targetDatabase, targetSchema Creates a new table with the same column definitions as an existing table, but without copying data from the existing table. @@ -596,7 +596,8 @@ AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' AND fromName = '{{ fromName }}' -AND deep = '{{ deep }}'; +AND deep = '{{ deep }}' +; ``` @@ -634,7 +635,8 @@ FROM snowflake.iceberg_table.iceberg_tables WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -679,7 +681,7 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ comment }}', {{ change_tracking }}, {{ max_data_extension_time_in_days }}, @@ -829,7 +831,8 @@ AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required AND ifExists = '{{ ifExists }}' -AND type = '{{ type }}'; +AND type = '{{ type }}' +; ``` @@ -874,7 +877,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.create_snowflake_managed_iceberg_tab "cluster_by": "{{ cluster_by }}", "base_location": "{{ base_location }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -897,7 +901,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.create_unmanaged_iceberg_table_from_ "auto_refresh": {{ auto_refresh }}, "catalog": "{{ catalog }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -918,7 +923,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.create_unmanaged_iceberg_table_from_ "base_location": "{{ base_location }}", "catalog": "{{ catalog }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -939,7 +945,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.create_unmanaged_iceberg_table_from_ "metadata_file_path": "{{ metadata_file_path }}", "catalog": "{{ catalog }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -962,7 +969,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.create_unmanaged_iceberg_table_from_ "auto_refresh": {{ auto_refresh }}, "catalog": "{{ catalog }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -975,7 +983,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.resume_recluster_iceberg_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -988,7 +997,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.suspend_recluster_iceberg_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1005,7 +1015,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.refresh_iceberg_table @@json= '{ "metadata_file_relative_path": "{{ metadata_file_relative_path }}" -}'; +}' +; ``` @@ -1023,7 +1034,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.convert_to_managed_iceberg_table '{ "base_location": "{{ base_location }}", "storage_serialization_policy": "{{ storage_serialization_policy }}" -}'; +}' +; ``` @@ -1035,7 +1047,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.undrop_iceberg_table @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -1056,7 +1069,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.clone_snowflake_managed_iceberg_tabl '{ "name": "{{ name }}", "point_of_time": "{{ point_of_time }}" -}'; +}' +; ``` @@ -1080,7 +1094,8 @@ EXEC snowflake.iceberg_table.iceberg_tables.create_snowflake_managed_iceberg_tab "external_volume": "{{ external_volume }}", "base_location": "{{ base_location }}", "comment": "{{ comment }}" -}'; +}' +; ``` diff --git a/website/docs/services/image_repository/image_repositories/index.md b/website/docs/services/image_repository/image_repositories/index.md index fdc0ee1..4544bd2 100644 --- a/website/docs/services/image_repository/image_repositories/index.md +++ b/website/docs/services/image_repository/image_repositories/index.md @@ -54,17 +54,17 @@ Successful request. string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -105,17 +105,17 @@ Successful request. string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -174,7 +174,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name createMode Creates an image repository in the specified database, schema, and create mode. The `createMode` query parameter specifies what action to take based on whether the repository already exists. See the ImageRepository component definition for what is required to be provided in the request body. @@ -265,7 +265,8 @@ FROM snowflake.image_repository.image_repositories WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -285,7 +286,8 @@ FROM snowflake.image_repository.image_repositories WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -313,7 +315,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ database_name }}', '{{ schema_name }}', '{{ endpoint }}', @@ -367,7 +369,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/image_repository/images/index.md b/website/docs/services/image_repository/images/index.md index 106bf64..ee0837a 100644 --- a/website/docs/services/image_repository/images/index.md +++ b/website/docs/services/image_repository/images/index.md @@ -164,7 +164,8 @@ FROM snowflake.image_repository.images WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/managed_account/managed_accounts/index.md b/website/docs/services/managed_account/managed_accounts/index.md index fe23d4c..942741a 100644 --- a/website/docs/services/managed_account/managed_accounts/index.md +++ b/website/docs/services/managed_account/managed_accounts/index.md @@ -53,7 +53,7 @@ Successful request. string - Name of the account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of the account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -135,7 +135,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__admin_name, data__admin_password, data__account_type Creates a managed account. You must provide the full managed account definition when creating a managed account. @@ -207,7 +207,8 @@ region, url FROM snowflake.managed_account.managed_accounts WHERE endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -236,11 +237,11 @@ data__account_type, endpoint ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ comment }}', -'{{ admin_name }}' --required, -'{{ admin_password }}' --required, -'{{ account_type }}' --required, +'{{ admin_name }}' /* required */, +'{{ admin_password }}' /* required */, +'{{ account_type }}' /* required */, '{{ endpoint }}' ; ``` @@ -301,7 +302,8 @@ Removes a managed account, including all objects created in the account, and imm ```sql DELETE FROM snowflake.managed_account.managed_accounts WHERE name = '{{ name }}' --required -AND endpoint = '{{ endpoint }}' --required; +AND endpoint = '{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/network_policy/network_policies/index.md b/website/docs/services/network_policy/network_policies/index.md index c41db7c..2dc8bfb 100644 --- a/website/docs/services/network_policy/network_policies/index.md +++ b/website/docs/services/network_policy/network_policies/index.md @@ -54,7 +54,7 @@ successful string - Name of the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -89,12 +89,12 @@ successful string - Role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -115,7 +115,7 @@ successful string - Name of the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -150,12 +150,12 @@ successful string - Role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -194,7 +194,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name createMode Create a network policy @@ -269,7 +269,8 @@ created_on, owner, owner_role_type FROM snowflake.network_policy.network_policies -WHERE endpoint = '{{ endpoint }}' -- required; +WHERE endpoint = '{{ endpoint }}' -- required +; ``` @@ -289,7 +290,8 @@ owner, owner_role_type FROM snowflake.network_policy.network_policies WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -320,7 +322,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ allowed_network_rule_list }}', '{{ blocked_network_rule_list }}', '{{ allowed_ip_list }}', @@ -394,7 +396,8 @@ Delete a network policy DELETE FROM snowflake.network_policy.network_policies WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/notebook/notebooks/index.md b/website/docs/services/notebook/notebooks/index.md index 4c90c8a..60bb82d 100644 --- a/website/docs/services/notebook/notebooks/index.md +++ b/website/docs/services/notebook/notebooks/index.md @@ -54,7 +54,7 @@ successful string - Name of the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -64,7 +64,7 @@ successful string - Database in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Database in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -74,12 +74,12 @@ successful string - Schema in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Schema in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Name of the budget if the notebook is monitored by a budget (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the budget if the notebook is monitored by a budget (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -154,12 +154,12 @@ successful string - Role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -200,7 +200,7 @@ successful string - Name of the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -210,7 +210,7 @@ successful string - Database in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Database in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -220,12 +220,12 @@ successful string - Schema in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Schema in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Name of the budget if the notebook is monitored by a budget (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the budget if the notebook is monitored by a budget (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -300,12 +300,12 @@ successful string - Role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -364,7 +364,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name createMode Create a notebook @@ -555,7 +555,8 @@ AND endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -594,7 +595,8 @@ FROM snowflake.notebook.notebooks WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -628,7 +630,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ version }}', '{{ fromLocation }}', '{{ main_file }}', @@ -718,7 +720,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -745,7 +748,8 @@ EXEC snowflake.notebook.notebooks.execute_notebook @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@asyncExec={{ asyncExec }}; +@asyncExec={{ asyncExec }} +; ``` @@ -761,7 +765,8 @@ EXEC snowflake.notebook.notebooks.rename_notebook @endpoint='{{ endpoint }}' --required, @ifExists={{ ifExists }}, @targetDatabase='{{ targetDatabase }}', -@targetSchema='{{ targetSchema }}'; +@targetSchema='{{ targetSchema }}' +; ``` @@ -775,7 +780,8 @@ EXEC snowflake.notebook.notebooks.add_live_version_notebook @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, @fromLast={{ fromLast }}, -@comment='{{ comment }}'; +@comment='{{ comment }}' +; ``` @@ -789,7 +795,8 @@ EXEC snowflake.notebook.notebooks.commit_notebook @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, @version='{{ version }}', -@comment='{{ comment }}'; +@comment='{{ comment }}' +; ``` diff --git a/website/docs/services/notification_integration/notification_integrations/index.md b/website/docs/services/notification_integration/notification_integrations/index.md index ff86264..8ce075f 100644 --- a/website/docs/services/notification_integration/notification_integrations/index.md +++ b/website/docs/services/notification_integration/notification_integrations/index.md @@ -54,7 +54,7 @@ successful string - Name of the notification. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the notification. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -95,7 +95,7 @@ successful string - Name of the notification. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the notification. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -154,7 +154,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name, data__notification_hook createMode Create a notification integration @@ -231,7 +231,8 @@ enabled, notification_hook FROM snowflake.notification_integration.notification_integrations WHERE endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -247,7 +248,8 @@ enabled, notification_hook FROM snowflake.notification_integration.notification_integrations WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -276,10 +278,10 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, {{ enabled }}, '{{ comment }}', -'{{ notification_hook }}' --required, +'{{ notification_hook }}' /* required */, '{{ endpoint }}', '{{ createMode }}' ; @@ -335,7 +337,8 @@ Delete a notification integration DELETE FROM snowflake.notification_integration.notification_integrations WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/pipe/pipes/index.md b/website/docs/services/pipe/pipes/index.md index e88a3eb..f3affb1 100644 --- a/website/docs/services/pipe/pipes/index.md +++ b/website/docs/services/pipe/pipes/index.md @@ -89,7 +89,7 @@ successful string - COPY INTO <table> statement used to load data from queued files into a Snowflake table. This statement serves as the text/definition for the pipe and is displayed in the SHOW PIPES output (pattern: (?i)^COPY INTO .*) + COPY INTO <table> statement used to load data from queued files into a Snowflake table. This statement serves as the text/definition for the pipe and is displayed in the SHOW PIPES output (pattern: (?i)^COPY INTO .*) @@ -180,7 +180,7 @@ successful string - COPY INTO <table> statement used to load data from queued files into a Snowflake table. This statement serves as the text/definition for the pipe and is displayed in the SHOW PIPES output (pattern: (?i)^COPY INTO .*) + COPY INTO <table> statement used to load data from queued files into a Snowflake table. This statement serves as the text/definition for the pipe and is displayed in the SHOW PIPES output (pattern: (?i)^COPY INTO .*) @@ -254,7 +254,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__copy_statement createMode Create a pipe @@ -370,7 +370,8 @@ FROM snowflake.pipe.pipes WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -398,7 +399,8 @@ FROM snowflake.pipe.pipes WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -432,13 +434,13 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ comment }}', {{ auto_ingest }}, '{{ error_integration }}', '{{ aws_sns_topic }}', '{{ integration }}', -'{{ copy_statement }}' --required, +'{{ copy_statement }}' /* required */, '{{ database_name }}', '{{ schema_name }}', '{{ endpoint }}', @@ -522,7 +524,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -548,7 +551,8 @@ EXEC snowflake.pipe.pipes.refresh_pipe @endpoint='{{ endpoint }}' --required, @ifExists={{ ifExists }}, @prefix='{{ prefix }}', -@modified_after='{{ modified_after }}'; +@modified_after='{{ modified_after }}' +; ``` diff --git a/website/docs/services/procedure/procedures/index.md b/website/docs/services/procedure/procedures/index.md index bf25980..ea178d5 100644 --- a/website/docs/services/procedure/procedures/index.md +++ b/website/docs/services/procedure/procedures/index.md @@ -54,17 +54,17 @@ successful string - Name of the procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -150,17 +150,17 @@ successful string - Name of the procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -264,7 +264,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__arguments, data__return_type, data__language_config, data__body createMode, copyGrants Create a procedure @@ -278,7 +278,7 @@ The following methods are available for this resource: - database_name, schema_name, nameWithArgs, endpoint + database_name, schema_name, nameWithArgs, endpoint, call_arguments Call a procedure @@ -376,7 +376,8 @@ FROM snowflake.procedure.procedures WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -405,7 +406,8 @@ FROM snowflake.procedure.procedures WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND nameWithArgs = '{{ nameWithArgs }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -441,14 +443,14 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ execute_as }}', {{ is_secure }}, -'{{ arguments }}' --required, -'{{ return_type }}' --required, -'{{ language_config }}' --required, +'{{ arguments }}' /* required */, +'{{ return_type }}' /* required */, +'{{ language_config }}' /* required */, '{{ comment }}', -'{{ body }}' --required, +'{{ body }}' /* required */, '{{ database_name }}', '{{ schema_name }}', '{{ endpoint }}', @@ -542,7 +544,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND nameWithArgs = '{{ nameWithArgs }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -569,7 +572,8 @@ EXEC snowflake.procedure.procedures.call_procedure @@json= '{ "call_arguments": "{{ call_arguments }}" -}'; +}' +; ``` diff --git a/website/docs/services/result/results/index.md b/website/docs/services/result/results/index.md index d99b4ce..bee335e 100644 --- a/website/docs/services/result/results/index.md +++ b/website/docs/services/result/results/index.md @@ -106,7 +106,8 @@ Get result status or the result when it is ready. EXEC snowflake.result.results.fetch_result @result_handler='{{ result_handler }}' --required, @endpoint='{{ endpoint }}' --required, -@page='{{ page }}'; +@page='{{ page }}' +; ``` diff --git a/website/docs/services/role/future_grants/index.md b/website/docs/services/role/future_grants/index.md index a5f130c..7bb065c 100644 --- a/website/docs/services/role/future_grants/index.md +++ b/website/docs/services/role/future_grants/index.md @@ -115,7 +115,7 @@ The following methods are available for this resource: - name, endpoint + name, endpoint, data__securable_type Grant future privileges to the role @@ -189,7 +189,8 @@ securable_type FROM snowflake.role.future_grants WHERE name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -221,7 +222,7 @@ endpoint SELECT '{{ securable }}', '{{ containing_scope }}', -'{{ securable_type }}' --required, +'{{ securable_type }}' /* required */, {{ grant_option }}, '{{ privileges }}', '{{ name }}', @@ -287,7 +288,8 @@ Revoke future grants from the role DELETE FROM snowflake.role.future_grants WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND mode = '{{ mode }}'; +AND mode = '{{ mode }}' +; ``` diff --git a/website/docs/services/role/grants/index.md b/website/docs/services/role/grants/index.md index ca16211..b596169 100644 --- a/website/docs/services/role/grants/index.md +++ b/website/docs/services/role/grants/index.md @@ -115,7 +115,7 @@ The following methods are available for this resource: - name, endpoint + name, endpoint, data__securable_type Grant privileges to the role @@ -189,7 +189,8 @@ securable_type FROM snowflake.role.grants WHERE name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -221,7 +222,7 @@ endpoint SELECT '{{ securable }}', '{{ containing_scope }}', -'{{ securable_type }}' --required, +'{{ securable_type }}' /* required */, {{ grant_option }}, '{{ privileges }}', '{{ name }}', @@ -287,7 +288,8 @@ Revoke grants from the role DELETE FROM snowflake.role.grants WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND mode = '{{ mode }}'; +AND mode = '{{ mode }}' +; ``` diff --git a/website/docs/services/role/grants_of/index.md b/website/docs/services/role/grants_of/index.md index 9754075..5bb93cd 100644 --- a/website/docs/services/role/grants_of/index.md +++ b/website/docs/services/role/grants_of/index.md @@ -158,7 +158,8 @@ role FROM snowflake.role.grants_of WHERE name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` diff --git a/website/docs/services/role/grants_on/index.md b/website/docs/services/role/grants_on/index.md index 0af1386..40e980f 100644 --- a/website/docs/services/role/grants_on/index.md +++ b/website/docs/services/role/grants_on/index.md @@ -182,7 +182,8 @@ privilege FROM snowflake.role.grants_on WHERE name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` diff --git a/website/docs/services/role/roles/index.md b/website/docs/services/role/roles/index.md index 3a1534c..5f1882f 100644 --- a/website/docs/services/role/roles/index.md +++ b/website/docs/services/role/roles/index.md @@ -53,7 +53,7 @@ successful string - Name of the role. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the role. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -98,7 +98,7 @@ successful string - Specifies the role that owns this role. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Specifies the role that owns this role. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -130,7 +130,7 @@ The following methods are available for this resource: - endpoint + endpoint, data__name createMode Create a role @@ -229,7 +229,8 @@ WHERE endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -256,7 +257,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ comment }}', '{{ endpoint }}', '{{ createMode }}' @@ -306,7 +307,8 @@ Delete a role DELETE FROM snowflake.role.roles WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/schema/schemas/index.md b/website/docs/services/schema/schemas/index.md index 5be3fd2..46c845b 100644 --- a/website/docs/services/schema/schemas/index.md +++ b/website/docs/services/schema/schemas/index.md @@ -54,7 +54,7 @@ Successful request. string - Name of the schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of the schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -195,7 +195,7 @@ successful string - Name of the schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of the schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -354,14 +354,14 @@ The following methods are available for this resource: - database_name, endpoint + database_name, endpoint, data__name createMode, kind Creates a schema, with modifiers as query parameters. You must provide the full schema definition when creating a schema. - database_name, name, endpoint + database_name, name, endpoint, data__name kind Creates a new, or alters an existing, schema. You must provide the full schema definition even when altering an existing schema. @@ -375,7 +375,7 @@ The following methods are available for this resource: - database_name, name, endpoint + database_name, name, endpoint, name createMode, kind, targetDatabase Clones an existing schema, with modifiers as query parameters. You must provide the full schema definition when cloning an existing schema. @@ -517,7 +517,8 @@ AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' AND fromName = '{{ fromName }}' -AND history = '{{ history }}'; +AND history = '{{ history }}' +; ``` @@ -554,7 +555,8 @@ user_task_timeout_ms FROM snowflake.schema.schemas WHERE database_name = '{{ database_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -596,7 +598,7 @@ createMode, kind ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ kind }}', '{{ comment }}', {{ managed_access }}, @@ -754,7 +756,8 @@ database_name = '{{ database_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required AND data__name = '{{ name }}' --required -AND kind = '{{ kind}}'; +AND kind = '{{ kind}}' +; ``` @@ -778,7 +781,8 @@ WHERE database_name = '{{ database_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required AND ifExists = '{{ ifExists }}' -AND restrict = '{{ restrict }}'; +AND restrict = '{{ restrict }}' +; ``` @@ -822,7 +826,8 @@ EXEC snowflake.schema.schemas.clone_schema "user_task_timeout_ms": {{ user_task_timeout_ms }}, "serverless_task_min_statement_size": "{{ serverless_task_min_statement_size }}", "serverless_task_max_statement_size": "{{ serverless_task_max_statement_size }}" -}'; +}' +; ``` @@ -833,7 +838,8 @@ Undrops schema. EXEC snowflake.schema.schemas.undrop_schema @database_name='{{ database_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/service/containers/index.md b/website/docs/services/service/containers/index.md index b757b2a..979ef00 100644 --- a/website/docs/services/service/containers/index.md +++ b/website/docs/services/service/containers/index.md @@ -63,7 +63,7 @@ successful string - Database in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Database in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -73,12 +73,12 @@ successful string - Schema in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Schema in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - The name of the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + The name of the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -212,7 +212,8 @@ FROM snowflake.service.containers WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/service/endpoints/index.md b/website/docs/services/service/endpoints/index.md index 38bdd7a..a137222 100644 --- a/website/docs/services/service/endpoints/index.md +++ b/website/docs/services/service/endpoints/index.md @@ -170,7 +170,8 @@ FROM snowflake.service.endpoints WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/service/grants/index.md b/website/docs/services/service/grants/index.md index 05cb37b..7c6fd40 100644 --- a/website/docs/services/service/grants/index.md +++ b/website/docs/services/service/grants/index.md @@ -176,7 +176,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND service = '{{ service }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/service/grants_of/index.md b/website/docs/services/service/grants_of/index.md index a003afb..d901721 100644 --- a/website/docs/services/service/grants_of/index.md +++ b/website/docs/services/service/grants_of/index.md @@ -170,7 +170,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND service = '{{ service }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/service/instances/index.md b/website/docs/services/service/instances/index.md index 9d5bc44..a9bcb9c 100644 --- a/website/docs/services/service/instances/index.md +++ b/website/docs/services/service/instances/index.md @@ -58,17 +58,17 @@ successful string - Database in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Database in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - Schema in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Schema in which the service is created. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - The name of the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + The name of the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -188,7 +188,8 @@ FROM snowflake.service.instances WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/service/logs/index.md b/website/docs/services/service/logs/index.md index 21c4493..c07902a 100644 --- a/website/docs/services/service/logs/index.md +++ b/website/docs/services/service/logs/index.md @@ -158,7 +158,8 @@ AND name = '{{ name }}' -- required AND instanceId = '{{ instanceId }}' -- required AND containerName = '{{ containerName }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND numLines = '{{ numLines }}'; +AND numLines = '{{ numLines }}' +; ``` diff --git a/website/docs/services/service/roles/index.md b/website/docs/services/service/roles/index.md index d78db61..847268a 100644 --- a/website/docs/services/service/roles/index.md +++ b/website/docs/services/service/roles/index.md @@ -152,7 +152,8 @@ FROM snowflake.service.roles WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/service/services/index.md b/website/docs/services/service/services/index.md index fafd93c..9a37ef5 100644 --- a/website/docs/services/service/services/index.md +++ b/website/docs/services/service/services/index.md @@ -54,12 +54,12 @@ successful string - String that specifies the identifier (that is, the name) for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (that is, the name) for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - The name of the parent database for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + The name of the parent database for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -74,7 +74,7 @@ successful string - The name of the parent schema for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + The name of the parent schema for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -159,7 +159,7 @@ successful string - Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -215,12 +215,12 @@ successful string - String that specifies the identifier (that is, the name) for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (that is, the name) for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) string - The name of the parent database for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + The name of the parent database for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -235,7 +235,7 @@ successful string - The name of the parent schema for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + The name of the parent schema for the service. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -320,7 +320,7 @@ successful string - Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -394,14 +394,14 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__compute_pool, data__spec createMode Create a service, with standard create modifiers as query parameters. See the Service component definition for what is required to be provided in the request body. - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, data__name, data__compute_pool, data__spec Create a (or alter an existing) service. Even if the operation is just an alter, the full property set must be provided. @@ -415,7 +415,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, name, compute_pool, spec Create and execute a job service. See the JobService component definition for what is required to be provided in the request body. @@ -553,7 +553,8 @@ AND endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -595,7 +596,8 @@ FROM snowflake.service.services WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -635,10 +637,10 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ status }}', -'{{ compute_pool }}' --required, -'{{ spec }}' --required, +'{{ compute_pool }}' /* required */, +'{{ spec }}' /* required */, '{{ external_access_integrations }}', '{{ query_warehouse }}', '{{ comment }}', @@ -780,7 +782,8 @@ AND data__name = '{{ name }}' --required AND data__compute_pool = '{{ compute_pool }}' --required AND data__spec = '{{ spec }}' --required RETURNING -status; +status +; ``` @@ -804,7 +807,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -839,7 +843,8 @@ EXEC snowflake.service.services.execute_job_service "query_warehouse": "{{ query_warehouse }}", "comment": "{{ comment }}", "is_async_job": {{ is_async_job }} -}'; +}' +; ``` @@ -852,7 +857,8 @@ EXEC snowflake.service.services.resume_service @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -865,7 +871,8 @@ EXEC snowflake.service.services.suspend_service @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` diff --git a/website/docs/services/service/status/index.md b/website/docs/services/service/status/index.md index 526794d..a553d0a 100644 --- a/website/docs/services/service/status/index.md +++ b/website/docs/services/service/status/index.md @@ -146,7 +146,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND timeout = '{{ timeout }}'; +AND timeout = '{{ timeout }}' +; ``` diff --git a/website/docs/services/sqlapi/statements/index.md b/website/docs/services/sqlapi/statements/index.md index 631b905..d150e7c 100644 --- a/website/docs/services/sqlapi/statements/index.md +++ b/website/docs/services/sqlapi/statements/index.md @@ -184,7 +184,8 @@ statementHandle, statementStatusUrl, stats FROM snowflake.sqlapi.statements -WHERE endpoint = '{{ endpoint }}' -- required; +WHERE endpoint = '{{ endpoint }}' -- required +; ``` @@ -306,7 +307,8 @@ Cancels the execution of the statement with the specified statement handle. ```sql DELETE FROM snowflake.sqlapi.statements -WHERE endpoint = '{{ endpoint }}' --required; +WHERE endpoint = '{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/stage/presigned_url/index.md b/website/docs/services/stage/presigned_url/index.md index 1c2c8a4..fd7fd93 100644 --- a/website/docs/services/stage/presigned_url/index.md +++ b/website/docs/services/stage/presigned_url/index.md @@ -146,7 +146,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND filePath = '{{ filePath }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` diff --git a/website/docs/services/stage/stage_files/index.md b/website/docs/services/stage/stage_files/index.md index 26c5c83..6550551 100644 --- a/website/docs/services/stage/stage_files/index.md +++ b/website/docs/services/stage/stage_files/index.md @@ -164,7 +164,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND pattern = '{{ pattern }}'; +AND pattern = '{{ pattern }}' +; ``` diff --git a/website/docs/services/stage/stages/index.md b/website/docs/services/stage/stages/index.md index f9264b6..3b93f99 100644 --- a/website/docs/services/stage/stages/index.md +++ b/website/docs/services/stage/stages/index.md @@ -54,7 +54,7 @@ successful string - String that specifies the identifier (i.e. name) for the stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (i.e. name) for the stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -124,7 +124,7 @@ successful string - Storage integration associated with the stage; always NULL for an internal stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Storage integration associated with the stage; always NULL for an internal stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -150,7 +150,7 @@ successful string - String that specifies the identifier (i.e. name) for the stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (i.e. name) for the stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -220,7 +220,7 @@ successful string - Storage integration associated with the stage; always NULL for an internal stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Storage integration associated with the stage; always NULL for an internal stage. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -264,7 +264,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name createMode Create a stage, with standard create modifiers as query parameters. See the Stage component definition for what is required to be provided in the request body. @@ -364,7 +364,8 @@ FROM snowflake.stage.stages WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -393,7 +394,8 @@ FROM snowflake.stage.stages WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -429,7 +431,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ kind }}', '{{ url }}', '{{ endpoint }}', @@ -533,7 +535,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/streams/streams/index.md b/website/docs/services/streams/streams/index.md index 710e081..54df151 100644 --- a/website/docs/services/streams/streams/index.md +++ b/website/docs/services/streams/streams/index.md @@ -54,22 +54,22 @@ successful string - Name of the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Database in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Database in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Schema in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Schema in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Table name whose changes are tracked by the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Table name whose changes are tracked by the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -94,12 +94,12 @@ successful string - Role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -140,22 +140,22 @@ successful string - Name of the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Name of the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Database in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Database in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Schema in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Schema in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - Table name whose changes are tracked by the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Table name whose changes are tracked by the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -180,12 +180,12 @@ successful string - Role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -244,7 +244,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__stream_source createMode, copyGrants Create a stream @@ -258,7 +258,7 @@ The following methods are available for this resource: - database_name, schema_name, name, targetDatabase, targetSchema, endpoint + database_name, schema_name, name, targetDatabase, targetSchema, endpoint, name createMode, copyGrants Clone a stream @@ -382,7 +382,8 @@ AND endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -409,7 +410,8 @@ FROM snowflake.streams.streams WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -440,8 +442,8 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, -'{{ stream_source }}' --required, +'{{ name }}' /* required */, +'{{ stream_source }}' /* required */, '{{ comment }}', '{{ database_name }}', '{{ schema_name }}', @@ -510,7 +512,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -542,7 +545,8 @@ EXEC snowflake.streams.streams.clone_stream '{ "name": "{{ name }}", "comment": "{{ comment }}" -}'; +}' +; ``` diff --git a/website/docs/services/table/tables/index.md b/website/docs/services/table/tables/index.md index 013eeb9..e2513d7 100644 --- a/website/docs/services/table/tables/index.md +++ b/website/docs/services/table/tables/index.md @@ -354,14 +354,14 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name createMode, copyGrants Create a table. - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, data__name Create a (or alter an existing) table. Even if the operation is just an alter, the full property set must be provided. @@ -375,7 +375,7 @@ The following methods are available for this resource: - database_name, schema_name, name, query, endpoint + database_name, schema_name, name, query, endpoint, name createMode, copyGrants Create a table as select. @@ -403,7 +403,7 @@ The following methods are available for this resource: - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, name createMode, copyGrants, targetDatabase, targetSchema Create a new table by cloning from the specified resource @@ -633,7 +633,8 @@ AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' AND fromName = '{{ fromName }}' AND history = '{{ history }}' -AND deep = '{{ deep }}'; +AND deep = '{{ deep }}' +; ``` @@ -671,7 +672,8 @@ FROM snowflake.table.tables WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -710,7 +712,7 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ kind }}', '{{ cluster_by }}', {{ enable_schema_evolution }}, @@ -837,7 +839,8 @@ database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND data__name = '{{ name }}' --required; +AND data__name = '{{ name }}' --required +; ``` @@ -861,7 +864,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -914,7 +918,8 @@ EXEC snowflake.table.tables.create_table_as_select_deprecated "columns": "{{ columns }}", "constraints": "{{ constraints }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -934,7 +939,8 @@ EXEC snowflake.table.tables.create_table_as_select "name": "{{ name }}", "columns": "{{ columns }}", "cluster_by": "{{ cluster_by }}" -}'; +}' +; ``` @@ -949,7 +955,8 @@ EXEC snowflake.table.tables.create_table_using_template_deprecated @query='{{ query }}' --required, @endpoint='{{ endpoint }}' --required, @createMode='{{ createMode }}', -@copyGrants={{ copyGrants }}; +@copyGrants={{ copyGrants }} +; ``` @@ -967,7 +974,8 @@ EXEC snowflake.table.tables.create_table_using_template @@json= '{ "name": "{{ name }}" -}'; +}' +; ``` @@ -997,7 +1005,8 @@ EXEC snowflake.table.tables.clone_table "columns": "{{ columns }}", "constraints": "{{ constraints }}", "comment": "{{ comment }}" -}'; +}' +; ``` @@ -1012,7 +1021,8 @@ EXEC snowflake.table.tables.create_table_like_deprecated @newTableName='{{ newTableName }}' --required, @endpoint='{{ endpoint }}' --required, @createMode='{{ createMode }}', -@copyGrants={{ copyGrants }}; +@copyGrants={{ copyGrants }} +; ``` @@ -1030,7 +1040,8 @@ EXEC snowflake.table.tables.create_table_like @@json= '{ "name": "{{ name }}" -}'; +}' +; ``` @@ -1042,7 +1053,8 @@ EXEC snowflake.table.tables.undrop_table @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -1055,7 +1067,8 @@ EXEC snowflake.table.tables.suspend_recluster_table_deprecated @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1068,7 +1081,8 @@ EXEC snowflake.table.tables.suspend_recluster_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1081,7 +1095,8 @@ EXEC snowflake.table.tables.resume_recluster_table_deprecated @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1094,7 +1109,8 @@ EXEC snowflake.table.tables.resume_recluster_table @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1108,7 +1124,8 @@ EXEC snowflake.table.tables.swap_with_table_deprecated @name='{{ name }}' --required, @targetTableName='{{ targetTableName }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1124,7 +1141,8 @@ EXEC snowflake.table.tables.swap_with_table @endpoint='{{ endpoint }}' --required, @ifExists={{ ifExists }}, @targetDatabase='{{ targetDatabase }}', -@targetSchema='{{ targetSchema }}'; +@targetSchema='{{ targetSchema }}' +; ``` diff --git a/website/docs/services/task/complete_graphs/index.md b/website/docs/services/task/complete_graphs/index.md index 1ddde56..dbe3e21 100644 --- a/website/docs/services/task/complete_graphs/index.md +++ b/website/docs/services/task/complete_graphs/index.md @@ -325,7 +325,8 @@ AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required AND resultLimit = '{{ resultLimit }}' -AND errorOnly = '{{ errorOnly }}'; +AND errorOnly = '{{ errorOnly }}' +; ``` @@ -354,7 +355,8 @@ AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required AND resultLimit = '{{ resultLimit }}' -AND errorOnly = '{{ errorOnly }}'; +AND errorOnly = '{{ errorOnly }}' +; ``` diff --git a/website/docs/services/task/current_graphs/index.md b/website/docs/services/task/current_graphs/index.md index 2877cc1..c6db750 100644 --- a/website/docs/services/task/current_graphs/index.md +++ b/website/docs/services/task/current_graphs/index.md @@ -319,7 +319,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND resultLimit = '{{ resultLimit }}'; +AND resultLimit = '{{ resultLimit }}' +; ``` @@ -347,7 +348,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND resultLimit = '{{ resultLimit }}'; +AND resultLimit = '{{ resultLimit }}' +; ``` diff --git a/website/docs/services/task/dependents/index.md b/website/docs/services/task/dependents/index.md index 83532c4..a8d0695 100644 --- a/website/docs/services/task/dependents/index.md +++ b/website/docs/services/task/dependents/index.md @@ -58,7 +58,7 @@ successful string - String that specifies the identifier (i.e. name) for the task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (i.e. name) for the task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -193,7 +193,7 @@ successful string - Specifies the virtual warehouse that provides compute resources for task runs. Omit this parameter to use serverless compute resources for runs of this task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Specifies the virtual warehouse that provides compute resources for task runs. Omit this parameter to use serverless compute resources for runs of this task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -314,7 +314,8 @@ WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND recursive = '{{ recursive }}'; +AND recursive = '{{ recursive }}' +; ``` diff --git a/website/docs/services/task/tasks/index.md b/website/docs/services/task/tasks/index.md index 9f8556f..d5d7a8c 100644 --- a/website/docs/services/task/tasks/index.md +++ b/website/docs/services/task/tasks/index.md @@ -59,7 +59,7 @@ successful string - String that specifies the identifier (i.e. name) for the task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (i.e. name) for the task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -194,7 +194,7 @@ successful string - Specifies the virtual warehouse that provides compute resources for task runs. Omit this parameter to use serverless compute resources for runs of this task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Specifies the virtual warehouse that provides compute resources for task runs. Omit this parameter to use serverless compute resources for runs of this task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -220,7 +220,7 @@ successful string - String that specifies the identifier (i.e. name) for the task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + String that specifies the identifier (i.e. name) for the task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -355,7 +355,7 @@ successful string - Specifies the virtual warehouse that provides compute resources for task runs. Omit this parameter to use serverless compute resources for runs of this task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Specifies the virtual warehouse that provides compute resources for task runs. Omit this parameter to use serverless compute resources for runs of this task. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -394,14 +394,14 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__definition createMode Create a task, with standard create modifiers as query parameters. See the Task component definition for what is required to be provided in the request body. - database_name, schema_name, name, endpoint + database_name, schema_name, name, endpoint, data__name, data__definition Create a (or alter an existing) task. Even if the operation is just an alter, the full property set must be provided. @@ -569,7 +569,8 @@ AND rootOnly = '{{ rootOnly }}' AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -611,7 +612,8 @@ FROM snowflake.task.tasks WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -657,7 +659,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ warehouse }}', '{{ schedule }}', '{{ comment }}', @@ -665,7 +667,7 @@ SELECT {{ task_auto_retry_attempts }}, '{{ config }}', '{{ session_parameters }}', -'{{ definition }}' --required, +'{{ definition }}' /* required */, '{{ predecessors }}', '{{ user_task_managed_initial_warehouse_size }}', '{{ target_completion_interval }}', @@ -841,7 +843,8 @@ AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required AND data__name = '{{ name }}' --required -AND data__definition = '{{ definition }}' --required; +AND data__definition = '{{ definition }}' --required +; ``` @@ -865,7 +868,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -892,7 +896,8 @@ EXEC snowflake.task.tasks.execute_task @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, @asyncExec={{ asyncExec }}, -@retryLast={{ retryLast }}; +@retryLast={{ retryLast }} +; ``` @@ -904,7 +909,8 @@ EXEC snowflake.task.tasks.resume_task @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -916,7 +922,8 @@ EXEC snowflake.task.tasks.suspend_task @database_name='{{ database_name }}' --required, @schema_name='{{ schema_name }}' --required, @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/user/grants/index.md b/website/docs/services/user/grants/index.md index a832f0c..7ff693f 100644 --- a/website/docs/services/user/grants/index.md +++ b/website/docs/services/user/grants/index.md @@ -110,7 +110,7 @@ The following methods are available for this resource: - name, endpoint + name, endpoint, data__securable_type Grant a role to the user @@ -178,7 +178,8 @@ securable_type FROM snowflake.user.grants WHERE name = '{{ name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND showLimit = '{{ showLimit }}'; +AND showLimit = '{{ showLimit }}' +; ``` @@ -209,7 +210,7 @@ endpoint SELECT '{{ securable }}', '{{ containing_scope }}', -'{{ securable_type }}' --required, +'{{ securable_type }}' /* required */, '{{ privileges }}', '{{ name }}', '{{ endpoint }}' @@ -268,7 +269,8 @@ Revoke grants from the user ```sql DELETE FROM snowflake.user.grants WHERE name = '{{ name }}' --required -AND endpoint = '{{ endpoint }}' --required; +AND endpoint = '{{ endpoint }}' --required +; ``` diff --git a/website/docs/services/user/users/index.md b/website/docs/services/user/users/index.md index f1adc81..945dfd5 100644 --- a/website/docs/services/user/users/index.md +++ b/website/docs/services/user/users/index.md @@ -504,14 +504,14 @@ The following methods are available for this resource: - endpoint + endpoint, data__name createMode Create a user according to the parameters given - name, endpoint + name, endpoint, data__name Create a (or alter an existing) user. Even if the operation is just an alter, the full property set must be provided. Note that password is not currently altered by this operation but is supported for a newly-created object. @@ -641,7 +641,8 @@ WHERE endpoint = '{{ endpoint }}' -- required AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' -AND fromName = '{{ fromName }}'; +AND fromName = '{{ fromName }}' +; ``` @@ -692,7 +693,8 @@ snowflake_support, type FROM snowflake.user.users WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -740,7 +742,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ password }}', '{{ login_name }}', '{{ display_name }}', @@ -943,7 +945,8 @@ data__network_policy = '{{ network_policy }}' WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND data__name = '{{ name }}' --required; +AND data__name = '{{ name }}' --required +; ``` @@ -965,7 +968,8 @@ Delete a user with the given name. DELETE FROM snowflake.user.users WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/user_defined_function/user_defined_functions/index.md b/website/docs/services/user_defined_function/user_defined_functions/index.md index 3a46b55..10d4d72 100644 --- a/website/docs/services/user_defined_function/user_defined_functions/index.md +++ b/website/docs/services/user_defined_function/user_defined_functions/index.md @@ -54,17 +54,17 @@ successful string - The name of the UDF (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the UDF (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -134,12 +134,12 @@ successful string - Role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -170,17 +170,17 @@ successful string - The name of the UDF (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the UDF (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -250,12 +250,12 @@ successful string - Role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + Role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) string - The type of role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) + The type of role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) @@ -304,7 +304,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__arguments, data__return_type, data__language_config createMode, copyGrants Create a UDF @@ -435,7 +435,8 @@ FROM snowflake.user_defined_function.user_defined_functions WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -468,7 +469,8 @@ FROM snowflake.user_defined_function.user_defined_functions WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND nameWithArgs = '{{ nameWithArgs }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -506,14 +508,14 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, {{ is_temporary }}, {{ is_aggregate }}, {{ is_memoizable }}, {{ is_secure }}, -'{{ arguments }}' --required, -'{{ return_type }}' --required, -'{{ language_config }}' --required, +'{{ arguments }}' /* required */, +'{{ return_type }}' /* required */, +'{{ language_config }}' /* required */, '{{ comment }}', '{{ body }}', '{{ database_name }}', @@ -618,7 +620,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND nameWithArgs = '{{ nameWithArgs }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -645,7 +648,8 @@ EXEC snowflake.user_defined_function.user_defined_functions.rename_user_defined_ @targetSchema='{{ targetSchema }}' --required, @targetName='{{ targetName }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` diff --git a/website/docs/services/view/views/index.md b/website/docs/services/view/views/index.md index 85d95a1..c8a25cf 100644 --- a/website/docs/services/view/views/index.md +++ b/website/docs/services/view/views/index.md @@ -224,7 +224,7 @@ The following methods are available for this resource: - database_name, schema_name, endpoint + database_name, schema_name, endpoint, data__name, data__columns, data__query createMode, copyGrants Create a view @@ -349,7 +349,8 @@ AND like = '{{ like }}' AND startsWith = '{{ startsWith }}' AND showLimit = '{{ showLimit }}' AND fromName = '{{ fromName }}' -AND deep = '{{ deep }}'; +AND deep = '{{ deep }}' +; ``` @@ -374,7 +375,8 @@ FROM snowflake.view.views WHERE database_name = '{{ database_name }}' -- required AND schema_name = '{{ schema_name }}' -- required AND name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -409,13 +411,13 @@ createMode, copyGrants ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, {{ secure }}, '{{ kind }}', {{ recursive }}, -'{{ columns }}' --required, +'{{ columns }}' /* required */, '{{ comment }}', -'{{ query }}' --required, +'{{ query }}' /* required */, '{{ database_name }}', '{{ schema_name }}', '{{ endpoint }}', @@ -504,7 +506,8 @@ WHERE database_name = '{{ database_name }}' --required AND schema_name = '{{ schema_name }}' --required AND name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` diff --git a/website/docs/services/warehouse/warehouses/index.md b/website/docs/services/warehouse/warehouses/index.md index 9053ca3..74b0bce 100644 --- a/website/docs/services/warehouse/warehouses/index.md +++ b/website/docs/services/warehouse/warehouses/index.md @@ -54,7 +54,7 @@ successful string - Name of warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -164,7 +164,7 @@ successful string - Specifies the name of a resource monitor that is explicitly assigned to the warehouse. When a resource monitor is explicitly assigned to a warehouse, the monitor controls the monthly credits used by the warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Specifies the name of a resource monitor that is explicitly assigned to the warehouse. When a resource monitor is explicitly assigned to a warehouse, the monitor controls the monthly credits used by the warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -260,7 +260,7 @@ successful string - Name of warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Name of warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -370,7 +370,7 @@ successful string - Specifies the name of a resource monitor that is explicitly assigned to the warehouse. When a resource monitor is explicitly assigned to a warehouse, the monitor controls the monthly credits used by the warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) + Specifies the name of a resource monitor that is explicitly assigned to the warehouse. When a resource monitor is explicitly assigned to a warehouse, the monitor controls the monthly credits used by the warehouse (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) @@ -484,14 +484,14 @@ The following methods are available for this resource: - endpoint + endpoint, data__name createMode Create a virtual warehouse. Equivalent to CREATE WAREHOUSE in SQL. - name, endpoint + name, endpoint, data__name Create a (or alter an existing) warehouse. Even if the operation is just an alter, the full property set must be provided. @@ -519,7 +519,7 @@ The following methods are available for this resource: - name, endpoint + name, endpoint, name ifExists Specifies a new identifier for the warehouse; must be unique for current account. @@ -650,7 +650,8 @@ warehouse_size, warehouse_type FROM snowflake.warehouse.warehouses WHERE endpoint = '{{ endpoint }}' -- required -AND like = '{{ like }}'; +AND like = '{{ like }}' +; ``` @@ -699,7 +700,8 @@ warehouse_size, warehouse_type FROM snowflake.warehouse.warehouses WHERE name = '{{ name }}' -- required -AND endpoint = '{{ endpoint }}' -- required; +AND endpoint = '{{ endpoint }}' -- required +; ``` @@ -745,7 +747,7 @@ endpoint, createMode ) SELECT -'{{ name }}' --required, +'{{ name }}' /* required */, '{{ warehouse_type }}', '{{ warehouse_size }}', '{{ wait_for_completion }}', @@ -936,7 +938,8 @@ data__target_statement_size = '{{ target_statement_size }}' WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND data__name = '{{ name }}' --required; +AND data__name = '{{ name }}' --required +; ``` @@ -958,7 +961,8 @@ Removes the specified virtual warehouse from the system. Equivalent to DROP WARE DELETE FROM snowflake.warehouse.warehouses WHERE name = '{{ name }}' --required AND endpoint = '{{ endpoint }}' --required -AND ifExists = '{{ ifExists }}'; +AND ifExists = '{{ ifExists }}' +; ``` @@ -986,7 +990,8 @@ Bring current warehouse to a usable ‘Running’ state by provisioning compute EXEC snowflake.warehouse.warehouses.resume_warehouse @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -997,7 +1002,8 @@ Remove all compute nodes from a warehouse and put the warehouse into a ‘Suspen EXEC snowflake.warehouse.warehouses.suspend_warehouse @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1032,7 +1038,8 @@ EXEC snowflake.warehouse.warehouses.rename_warehouse "size": "{{ size }}", "warehouse_credit_limit": {{ warehouse_credit_limit }}, "target_statement_size": "{{ target_statement_size }}" -}'; +}' +; ``` @@ -1043,7 +1050,8 @@ Aborts all the queries currently running or queued on the warehouse. EXEC snowflake.warehouse.warehouses.abort_all_queries_on_warehouse @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1053,7 +1061,8 @@ EXEC snowflake.warehouse.warehouses.abort_all_queries_on_warehouse ```sql EXEC snowflake.warehouse.warehouses.use_warehouse @name='{{ name }}' --required, -@endpoint='{{ endpoint }}' --required; +@endpoint='{{ endpoint }}' --required +; ``` @@ -1064,7 +1073,8 @@ Enable an adaptive warehouse and put the warehouse into a ‘enabled’ state, i EXEC snowflake.warehouse.warehouses.enable_warehouse @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ``` @@ -1075,7 +1085,8 @@ Disable an adaptive warehouse and put the warehouse into a ‘disabled’ state, EXEC snowflake.warehouse.warehouses.disable_warehouse @name='{{ name }}' --required, @endpoint='{{ endpoint }}' --required, -@ifExists={{ ifExists }}; +@ifExists={{ ifExists }} +; ```