Skip to content

Commit

Permalink
[S3-Data-Lake] Make the Namespace/Database a required field (airbyteh…
Browse files Browse the repository at this point in the history
  • Loading branch information
frifriSF59 authored and karolur committed Feb 3, 2025
1 parent 0d92d72 commit d7188e7
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class NessieCatalogSpecification(
`Destination-defined` or `Source-defined`"""
)
@get:JsonProperty("namespace")
val namespace: String?
val namespace: String
) : CatalogType(catalogType)

/**
Expand Down Expand Up @@ -231,7 +231,7 @@ class GlueCatalogSpecification(
"""The Glue database name. This will ONLY be used if the `Destination Namespace` setting for the connection is set to `Destination-defined` or `Source-defined`"""
)
@get:JsonProperty("database_name")
val databaseName: String?
val databaseName: String
) : CatalogType(catalogType), AWSArnRoleSpecification

/**
Expand Down Expand Up @@ -266,7 +266,7 @@ class RestCatalogSpecification(
This will ONLY be used if the `Destination Namespace` setting for the connection is set to
`Destination-defined` or `Source-defined`"""
)
val namespace: String?
val namespace: String
) : CatalogType(catalogType)

/**
Expand Down Expand Up @@ -317,7 +317,7 @@ data class GlueCatalogConfiguration(
@get:JsonPropertyDescription(
"""The Glue database name. This will ONLY be used if the `Destination Namespace` setting for the connection is set to `Destination-defined` or `Source-defined`"""
)
val databaseName: String?
val databaseName: String
) : CatalogConfiguration, AWSArnRoleConfigurationProvider

/**
Expand All @@ -340,7 +340,7 @@ data class NessieCatalogConfiguration(
This will ONLY be used if the `Destination Namespace` setting for the connection is set to
`Destination-defined` or `Source-defined`"""
)
val namespace: String?
val namespace: String
) : CatalogConfiguration

/**
Expand All @@ -360,7 +360,7 @@ data class RestCatalogConfiguration(
This will ONLY be used if the `Destination Namespace` setting for the connection is set to
`Destination-defined` or `Source-defined`"""
)
val namespace: String?
val namespace: String
) : CatalogConfiguration

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ data:
alias: airbyte-connector-testing-secret-store
connectorType: destination
definitionId: 716ca874-520b-4902-9f80-9fad66754b89
dockerImageTag: 0.2.23
dockerImageTag: 0.3.0
dockerRepository: airbyte/destination-s3-data-lake
documentationUrl: https://docs.airbyte.com/integrations/destinations/s3-data-lake
githubIssueLabel: destination-s3-data-lake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"title" : "Namespace"
}
},
"required" : [ "catalog_type", "server_uri" ]
"required" : [ "catalog_type", "server_uri", "namespace" ]
}, {
"title" : "Glue Catalog",
"type" : "object",
Expand Down Expand Up @@ -122,7 +122,7 @@
"title" : "Database Name"
}
},
"required" : [ "catalog_type", "glue_id" ]
"required" : [ "catalog_type", "glue_id", "database_name" ]
}, {
"title" : "Rest Catalog",
"type" : "object",
Expand All @@ -146,7 +146,7 @@
"title" : "Namespace"
}
},
"required" : [ "catalog_type", "server_uri" ]
"required" : [ "catalog_type", "server_uri", "namespace" ]
} ],
"description" : "Specifies the type of Iceberg catalog (e.g., NESSIE, GLUE, REST) and its associated configuration.",
"title" : "Catalog Type",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"title" : "Namespace"
}
},
"required" : [ "catalog_type", "server_uri" ]
"required" : [ "catalog_type", "server_uri", "namespace" ]
}, {
"title" : "Glue Catalog",
"type" : "object",
Expand Down Expand Up @@ -122,7 +122,7 @@
"title" : "Database Name"
}
},
"required" : [ "catalog_type", "glue_id" ]
"required" : [ "catalog_type", "glue_id", "database_name" ]
}, {
"title" : "Rest Catalog",
"type" : "object",
Expand All @@ -146,7 +146,7 @@
"title" : "Namespace"
}
},
"required" : [ "catalog_type", "server_uri" ]
"required" : [ "catalog_type", "server_uri", "namespace" ]
} ],
"description" : "Specifies the type of Iceberg catalog (e.g., NESSIE, GLUE, REST) and its associated configuration.",
"title" : "Catalog Type",
Expand Down
1 change: 1 addition & 0 deletions docs/integrations/destinations/s3-data-lake.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ for more information.

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:-----------------------------------------------------------|:-----------------------------------------------------------------------------|
| 0.3.0 | 2025-01-31 | [\#52639](https://github.com/airbytehq/airbyte/pull/52639) | Make the database/namespace a required field |
| 0.2.23 | 2025-01-27 | [\#51600](https://github.com/airbytehq/airbyte/pull/51600) | Internal refactor |
| 0.2.22 | 2025-01-22 | [\#52081](https://github.com/airbytehq/airbyte/pull/52081) | Implement support for REST catalog |
| 0.2.21 | 2025-01-27 | [\#52564](https://github.com/airbytehq/airbyte/pull/52564) | Fix crash on stream with 0 records |
Expand Down

0 comments on commit d7188e7

Please sign in to comment.