Titan Core
  • Overview
  • Getting Started
  • Working With Resources
  • Blueprint
  • GitHub Action
  • Resources
    • APIAuthenticationSecurityIntegration
    • APIIntegration
    • AccountParameter
    • AggregationPolicy
    • Alert
    • AuthenticationPolicy
    • AzureStorageIntegration
    • ComputePool
    • Database
    • DatabaseRole
    • DynamicTable
    • EmailNotificationIntegration
    • EventTable
    • ExternalAccessIntegration
    • ExternalStage
    • FailoverGroup
    • FutureGrant
    • GCSStorageIntegration
    • GenericSecret
    • GlueCatalogIntegration
    • Grant
    • GrantOnAll
    • HybridTable
    • ImageRepository
    • InternalStage
    • JSONFileFormat
    • JavascriptUDF
    • MaterializedView
    • NetworkPolicy
    • NetworkRule
    • OAuthSecret
    • ObjectStoreCatalogIntegration
    • PackagesPolicy
    • ParquetFileFormat
    • PasswordPolicy
    • PasswordSecret
    • Pipe
    • PythonStoredProcedure
    • PythonUDF
    • ReplicationGroup
    • ResourceMonitor
    • Role
    • RoleGrant
    • S3StorageIntegration
    • Schema
    • Sequence
    • Service
    • SessionPolicy
    • Share
    • SnowflakePartnerOAuthSecurityIntegration
    • SnowservicesOAuthSecurityIntegration
    • StageStream
    • Table
    • TableStream
    • Tag
    • Task
    • User
    • View
    • ViewStream
    • Warehouse
Powered by GitBook
On this page
  • Examples
  • Python
  • YAML
  • Fields
  1. Resources

StageStream

PreviousSnowservicesOAuthSecurityIntegrationNextTable

Last updated 10 months ago

Represents a stream on a stage in Snowflake, which allows for capturing data changes on the stage.

Examples

Python

stream = StageStream(
    name="some_stream",
    on_stage="some_stage",
    owner="SYSADMIN",
    copy_grants=True,
    comment="This is a sample stream."
)

YAML

streams:
  - name: some_stream
    on_stage: some_stage
    owner: SYSADMIN
    copy_grants: true
    comment: This is a sample stream.

Fields

  • name (string, required) - The name of the stream.

  • on_stage (string, required) - The name of the stage the stream is based on.

  • copy_grants (bool) - Whether to copy grants from the source stage to the stream.

  • comment (string) - An optional description for the stream.

owner (string or ) - The role that owns the stream. Defaults to "SYSADMIN".

Snowflake Documentation
Role