Snowflake · Schema
Schema
Snowflake schema definition.
Data LakesData SharingData WarehousingDatabaseSQL
Properties
| Name | Type | Description |
|---|---|---|
| created_on | string | Date and time the schema was created. |
| kind | string | Schema type, permanent (default) or transient. |
| is_default | boolean | Default schema for a user. |
| is_current | boolean | Current schema for the session. |
| database_name | string | Database that the schema belongs to |
| owner | string | Name of the role that owns the schema. |
| comment | string | Optional comment in which to store information related to the schema. |
| options | string | |
| managed_access | boolean | Whether this schema is a managed access schema that centralizes privilege management with the schema owner. |
| retention_time | integer | Number of days that historical data is retained for Time Travel. |
| dropped_on | string | Date and time the schema was dropped. |
| owner_role_type | string | Type of role that owns the object, either `ROLE` or `DATABASE_ROLE`. |
| budget | string | Budget that defines a monthly spending limit on the compute costs for a Snowflake account or a custom group of Snowflake objects. |
| data_retention_time_in_days | integer | Number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the schema, as well as specifying the default Time Travel retention time for all tables created in the schema |
| default_ddl_collation | string | Specifies a default collation specification for all tables added to the schema. You an override the default at the schema and individual table levels. |
| log_level | string | Severity level of messages that should be ingested and made available in the active event table. Currently, Snowflake supports only `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` and `OFF`. |
| pipe_execution_paused | boolean | Whether pipe execution is paused. |
| max_data_extension_time_in_days | integer | Maximum number of days for which Snowflake can extend the data retention period for tables in the schema to prevent streams on the tables from becoming stale. |
| suspend_task_after_num_failures | integer | Specifies the number of consecutive failed task runs after which the current task is suspended automatically. |
| trace_level | string | How trace events are ingested into the event table. Currently, Snowflake supports only `ALWAYS`, `ON_EVENT`, and `OFF`. |
| user_task_managed_initial_warehouse_size | string | Size of the compute resources to provision for the first run of the serverless task, before a task history is available for Snowflake to determine an ideal size. |
| user_task_timeout_ms | integer | Time limit, in milliseconds, for a single run of the task before it times out. |
| serverless_task_min_statement_size | string | Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. |
| serverless_task_max_statement_size | string | Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. |