databricks / terraform-provider-databricks

Databricks Terraform Provider
https://registry.terraform.io/providers/databricks/databricks/latest
Other
456 stars 393 forks source link

[Fix] Handle edge case for `effective_properties` in `databricks_sql_table` #4153

Closed alexott closed 3 weeks ago

alexott commented 1 month ago

Changes

It was reported in #4098 that some of the specified options, like, multiLine, recursiveFileLookup and potentially more, aren't returned as option.multiLine, etc., but instead are expanded into full names, like, spark.sql.dataSourceOptions.multiLine.

This PR changes lookup logic a bit, and if we can't find option.something, then we're looking for all options ending with .something (only if there are no . in the name).

Resolves #4098

Tests

eng-dev-ecosystem-bot commented 4 weeks ago

Test Details: go/deco-tests/11557461282