CREATE DATASET

statementpartialAI & ML

docs.snowflake.com ↗

Object: DATASET

Creates a new machine learning dataset in the current schema or the schema that you specify.

Syntax

supportedpartialnot supportednot scored

CREATE [ OR REPLACE ] [ IF NOT EXISTS ] DATASET <name>

Parameters

NameRequiredDescription
namerequiredThe name of the dataset that you’re creating within the current schema or a schema that you specify.

Usage notes

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes CREATE DATASET | Schema | Only provides the privilege to create a dataset. You must also have the USAGE privilege on the schema. 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.

Known gaps

Parts not fully supported, and recorded divergences from Snowflake.

See also

Referenced by