CREATE OPENFLOW CONNECTOR¶
- See also:
ALTER OPENFLOW CONNECTOR, DROP OPENFLOW CONNECTOR, SHOW OPENFLOW CONNECTOR DEFINITIONS, SHOW OPENFLOW CONNECTORS, DESCRIBE OPENFLOW CONNECTOR, SHOW VERSIONS IN OPENFLOW CONNECTOR
Creates a connector in a gen 2 runtime.
Syntax¶
Required parameters¶
nameSpecifies the identifier for the connector within the runtime’s schema. For more information, see Identifier requirements.
IN RUNTIME runtime_nameGen 2 runtime that hosts the connector. Simple name or fully qualified name (
<database>.<schema>.<runtime_name>).
Exactly one of the following source parameters is required:
FROM DEFINITION connector_definition_idCatalog definition ID for the connector type (for example,
OPENFLOW_POSTGRES_CDC). List available IDs withSHOW OPENFLOW CONNECTOR DEFINITIONS. Mutually exclusive withFROM '<stage_reference>'. Creates a live configuration version; the connector starts without a committed default version until you commit.FROM 'stage_reference'Complete configuration bundle on any stage reference—a Git repository stage (
@my_git_repo/...), an internal named stage, or another connector’s stage (snow://openflow_connector/...). Path within the stage is optional. Mutually exclusive withFROM DEFINITION. Creates a default version; the connector can start immediately without committing. See Create from a known configuration in gen 2 connector configuration and versioning.
Optional parameters¶
IF NOT EXISTSCreates a connector only if it does not already exist. If the connector already exists, the statement does nothing and returns a success message.
DISPLAY_NAME = stringUI display name.
Default: No value
COMMENT = stringDefault: No value
Access control¶
Requires CREATE OPENFLOW CONNECTOR on the schema and USAGE on the runtime.
Examples¶
From definition:
From a stage reference: