Update comments and changelog
This commit is contained in:
@@ -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<>();
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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. |
|
||||
|
||||
Reference in New Issue
Block a user