Skip to main content

analyst_verified_query_suggestions

Creates, updates, deletes, gets or lists an analyst_verified_query_suggestions resource.

Overview

Nameanalyst_verified_query_suggestions
TypeResource
Idsnowflake.cortex.analyst_verified_query_suggestions

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
generateexecendpoint, warehouseGenerate VQ suggestions for a semantic model

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringOrganization and account identifier (orgname-accountname) (default: orgname-accountname)

Lifecycle Methods

Generate VQ suggestions for a semantic model

EXEC snowflake.cortex.analyst_verified_query_suggestions.generate
@endpoint='{{ endpoint }}' --required
@@json=
'{
"mode": "{{ mode }}",
"semantic_model": "{{ semantic_model }}",
"tables": "{{ tables }}",
"tds_source": "{{ tds_source }}",
"sql_source": "{{ sql_source }}",
"warehouse": "{{ warehouse }}",
"offset": {{ offset }},
"limit": {{ limit }},
"experimental": "{{ experimental }}"
}'
;