CREATE OPENFLOW RUNTIME

statementnot supportedContainer services & dev tooling

docs.snowflake.com ↗

Object: OPENFLOW RUNTIME

Creates a runtime in a gen 2 deployment.

Syntax

supportedpartialnot supportednot scored

CREATE OPENFLOW RUNTIME [ IF NOT EXISTS ] [ <database>.<schema>. ]<name>
  IN DEPLOYMENT <deployment_name>
  NODE_TYPE = { SMALL | MEDIUM | LARGE }
  [ NODE_TYPE_TIER = { 'S1' | 'S2' | 'S3' | 'M4' | 'M6' | 'L8' } ]
  MIN_NODES = <integer>
  MAX_NODES = <integer>
  EXECUTE_AS_ROLE = <role>
  [ EXTERNAL_ACCESS_INTEGRATIONS = ( <eai> [ , <eai> ... ] ) ]
  [ DISPLAY_NAME = <string> ]
  [ COMMENT = <string> ]

Parameters

NameRequiredDescription
[ database.schema. ]namerequiredSpecifies the identifier for the runtime. Use a fully qualified name or omit database.schema to use the session default. For more information, see Identifier requirements.
IN DEPLOYMENT deployment_namerequiredGen 2 deployment that hosts this runtime.
NODE_TYPE = { SMALL | MEDIUM | LARGE }requiredNode type. Cannot be changed after creation. Use NODE_TYPE_TIER to resize within the same node type after creation.
MIN_NODES = integerrequiredMinimum number of nodes (1–50).
MAX_NODES = integerrequiredMaximum number of nodes (1–50).
EXECUTE_AS_ROLE = rolerequiredRole connectors use when reading from and writing to Snowflake. See Create an execute-as role.
NODE_TYPE_TIER = { S1 | S2 | S3 | M4 | M6 | L8 }optionalInstance tier within the node type. The tier determines the CPU and heap memory available to each node. The tier must match the NODE_TYPE value: S1, S2, and S3 require NODE_TYPE = SMALL; M4 and M6 require NODE_TYPE = MEDIUM; L8 requires NODE_TYPE = LARGE. Tier Node type CPUs per node Heap per node S1 SMALL 1 4 GB S2 SMALL 2 8 GB S3 SMALL 3 12 GB M4 MEDIUM 4 16 GB M6 MEDIUM 6 24 GB L8 LARGE 8 33 GBExpandShow lessSee more You can change the tier within the same node type after creation using ALTER OPENFLOW RUNTIME … SET NODE_TYPE_TIER. Default: S1 for SMALL, M4 for MEDIUM, L8 for LARGE.
IF NOT EXISTSoptionalCreates the runtime only if it does not already exist. If the runtime already exists, the statement does nothing and returns a success message.
EXTERNAL_ACCESS_INTEGRATIONS = ( eai [ , ... ] )optionalSnowflake deployments only. External access integrations that allow egress to external data sources. Default: No value
DISPLAY_NAME = stringoptionalUI display name. If unset, the SQL name is shown in the Openflow UI. Default: No value
COMMENT = stringoptionalDefault: No value

Usage notes

Access control

Requires USAGE on the containing database, CREATE OPENFLOW RUNTIME on the target schema (or schema ownership), and USAGE on the parent deployment.

See also

Referenced by