Skip to main content

query_suggestions

Creates, updates, deletes, gets or lists a query_suggestions resource.

Overview

Namequery_suggestions
TypeResource
Idsnowflake.cortex_analyst.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
generate_verified_query_suggestionsexecendpointGenerate 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 Name (default: orgid-acctid)

Lifecycle Methods

Generate VQ suggestions for a semantic model

EXEC snowflake.cortex_analyst.query_suggestions.generate_verified_query_suggestions 
@endpoint='{{ endpoint }}' --required
@@json=
'{
"semantic_model": "{{ semantic_model }}",
"warehouse": "{{ warehouse }}",
"experimental": "{{ experimental }}"
}';