diff --git a/exporter/importables.go b/exporter/importables.go index 5ea235c335..f6814b1872 100644 --- a/exporter/importables.go +++ b/exporter/importables.go @@ -2476,6 +2476,9 @@ var resourcesMap map[string]importable = map[string]importable{ return err } for _, v := range systemSchemas { + if v.Schema == "information_schema" || v.Schema == "__internal_logging" { + continue + } if v.State == catalog.SystemSchemaInfoStateEnableCompleted || v.State == catalog.SystemSchemaInfoStateEnableInitialized { id := fmt.Sprintf("%s|%s", currentMetastore, v.Schema) data := ic.Resources["databricks_system_schema"].Data( diff --git a/exporter/importables_test.go b/exporter/importables_test.go index 6bea1a8cf0..a28c2d30de 100644 --- a/exporter/importables_test.go +++ b/exporter/importables_test.go @@ -1423,6 +1423,10 @@ func TestListSystemSchemasSuccess(t *testing.T) { Schema: "access", State: catalog.SystemSchemaInfoStateEnableCompleted, }, + { + Schema: "information_schema", + State: catalog.SystemSchemaInfoStateEnableCompleted, + }, { Schema: "marketplace", State: catalog.SystemSchemaInfoStateAvailable,