CmdID

CmdID / az / az synapse / az synapse spark / az synapse spark session

az synapse spark session create

Create a Spark session. Azure CLI reference

1 example 6 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a Spark session.

az synapse spark session create --name testsession --workspace-name testsynapseworkspace --spark-pool-name testsparkpool --executor-size Small --executors 4Identify
--nameThe Spark session name.
--workspace-nameThe name of the workspace.
--spark-pool-nameThe name of the Spark pool.
--executor-sizeThe executor size
--executorsThe number of executors.

Options

6 in the Azure CLI reference
--configurationThe configuration of Spark session.
--executor-sizeThe executor size
--executorsThe number of executors.
--name, -nThe Spark session name.
--reference-filesAdditional files used for reference in the main definition file.
--tagsspace-separated tags: key[=value] [key[=value] ...].