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
Examples
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
--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] ...].