Skip to content

Commit

Permalink
Suppress equal fold diff for DLT pipeline resource
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyas-goenka committed Nov 6, 2024
1 parent 1e067f7 commit 61f8591
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pipelines/resource_pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ func (Pipeline) CustomizeSchema(s *common.CustomizableSchema) *common.Customizab
s.SchemaPath("edition").SetCustomSuppressDiff(common.EqualFoldDiffSuppress)
s.SchemaPath("storage").SetCustomSuppressDiff(suppressStorageDiff)

// As of 6th Nov 2024, the DLT API only normalizes the catalog name when creating
// a pipeline. So we only ignore the equal fold diff for the catalog name and not other
// UC resources like target or ingestion_definition.connection_name.
s.SchemaPath("catalog").SetCustomSuppressDiff(common.EqualFoldDiffSuppress)

// Deprecated fields
s.SchemaPath("cluster", "init_scripts", "dbfs").SetDeprecated(clusters.DbfsDeprecationWarning)
s.SchemaPath("library", "whl").SetDeprecated("The 'whl' field is deprecated")
Expand Down

0 comments on commit 61f8591

Please sign in to comment.