SYSTEM$EXPORT_TDS_FROM_SEMANTIC_VIEW

functionsupportedAI & MLpreview

docs.snowflake.com ↗

System functions

Returns a semantic view in Tableau Data Source (TDS) format.

Syntax

SYSTEM$EXPORT_TDS_FROM_SEMANTIC_VIEW( '<semantic_view_name>' )

Parameters

NameRequiredDescription
'semantic_view_name'requiredName of the semantic view to export. If the semantic view is not in the current schema and database, specify the fully-qualified name of the view (for example, my_db.my_schema.my_semantic_view).

Returns

Returns a VARCHAR value containing the semantic view in TDS format.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes Any | Semantic view | Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema. For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.