Skip to content

Commit

Permalink
support spark verison 3.3 (#19866)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinbai authored Jan 9, 2023
1 parent afd89f2 commit fc7939e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/services/synapse/synapse_spark_pool_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ func resourceSynapseSparkPool() *pluginsdk.Resource {
"2.4",
"3.1",
"3.2",
"3.3",
}, false),
},

Expand Down
8 changes: 8 additions & 0 deletions internal/services/synapse/synapse_spark_pool_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ func TestAccSynapseSparkPool_sparkVersion(t *testing.T) {
},
// not returned by service
data.ImportStep("spark_events_folder", "spark_log_folder"),
{
Config: r.sparkVersion(data, "3.3"),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
),
},
// not returned by service
data.ImportStep("spark_events_folder", "spark_log_folder"),
})
}

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/synapse_spark_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ The following arguments are supported:

* `spark_events_folder` - (Optional) The Spark events folder. Defaults to `/events`.

* `spark_version` - (Optional) The Apache Spark version. Possible values are `2.4` and `3.1` and `3.2`. Defaults to `2.4`.
* `spark_version` - (Optional) The Apache Spark version. Possible values are `2.4` , `3.1` , `3.2` and `3.3`. Defaults to `2.4`.

* `tags` - (Optional) A mapping of tags which should be assigned to the Synapse Spark Pool.

Expand Down

0 comments on commit fc7939e

Please sign in to comment.