1
0
mirror of synced 2025-12-19 18:14:56 -05:00

Update comments and changelog

This commit is contained in:
Yarden Carmeli
2025-12-17 20:18:27 -04:00
parent 3bb4dcfe4d
commit 5c314d966b
3 changed files with 6 additions and 5 deletions

View File

@@ -272,8 +272,8 @@ public class MongoDbStateManager implements SourceStateMessageProducer<Document>
}
/**
* Extracts field schemas from the stream's properties into a map (Map<String, JsonNode>).
* Used for type checking during data transformation (e.g., determining if a field expects an array).
* Extracts field schemas from the stream's properties into a map (Map<String, JsonNode>). Used for
* type checking during data transformation (e.g., determining if a field expects an array).
*/
private Map<String, JsonNode> getStreamFields(final ConfiguredAirbyteStream stream) {
final Map<String, JsonNode> fieldSchemas = new HashMap<>();

View File

@@ -261,9 +261,9 @@ class MongoDbCdcEventUtilsTest {
}
/*
* The following tests the dynamic array wrapping functionality. If discovery identifies a field as an array,
* the schema expects an array. Since MongoDB is dynamic, users can store int, object, or string
* values in that field. To prevent destinations from nulling out these values due to type
* The following tests the dynamic array wrapping functionality. If discovery identifies a field as
* an array, the schema expects an array. Since MongoDB is dynamic, users can store int, object, or
* string values in that field. To prevent destinations from nulling out these values due to type
* mismatch, we wrap them in arrays.
*/
@Test

View File

@@ -210,6 +210,7 @@ For more information regarding configuration parameters, please see [MongoDb Doc
| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:---------------------------------------------------------------------------------------------------------|
| 2.0.5 | 2025-12-17 | [70980](https://github.com/airbytehq/airbyte/pull/70980) | Convert non-array MongoDB values into arrays when the schema expects an array to prevent nulls. |
| 2.0.4 | 2025-08-28 | [65579](https://github.com/airbytehq/airbyte/pull/65579) | Add validation to ensure state format consistency. |
| 2.0.3 | 2025-08-12 | [64900](https://github.com/airbytehq/airbyte/pull/64900) | Fix hardcoded read preferences to allow specification in connection string. |
| 2.0.2 | 2025-07-14 | [62938](https://github.com/airbytehq/airbyte/pull/62938) | Only require a single database read permission when configured to sync a single database. |