Skip to content

Commit 4a290fa

Browse files
[#9554 PR] Postgres/Mssql Source: Increase version (#9753)
* #9554 PR * format * incr version for Postgres * Update docs/integrations/sources/postgres.md Co-authored-by: Marcos Marx <[email protected]> * test upd * test upd * incr ver for mssql as effected source Co-authored-by: Marcos Marx <[email protected]>
1 parent 2629098 commit 4a290fa

File tree

9 files changed

+12
-10
lines changed

9 files changed

+12
-10
lines changed

airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/b5ea17b1-f170-46dc-bc31-cc744ca984c1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"sourceDefinitionId": "b5ea17b1-f170-46dc-bc31-cc744ca984c1",
33
"name": "Microsoft SQL Server (MSSQL)",
44
"dockerRepository": "airbyte/source-mssql",
5-
"dockerImageTag": "0.3.13",
5+
"dockerImageTag": "0.3.14",
66
"documentationUrl": "https://docs.airbyte.io/integrations/sources/mssql",
77
"icon": "mssql.svg"
88
}

airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/decd338e-5647-4c0b-adf4-da0e75f5a750.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"sourceDefinitionId": "decd338e-5647-4c0b-adf4-da0e75f5a750",
33
"name": "Postgres",
44
"dockerRepository": "airbyte/source-postgres",
5-
"dockerImageTag": "0.4.2",
5+
"dockerImageTag": "0.4.3",
66
"documentationUrl": "https://docs.airbyte.io/integrations/sources/postgres",
77
"icon": "postgresql.svg"
88
}

airbyte-config/init/src/main/resources/seed/source_definitions.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@
418418
- name: Microsoft SQL Server (MSSQL)
419419
sourceDefinitionId: b5ea17b1-f170-46dc-bc31-cc744ca984c1
420420
dockerRepository: airbyte/source-mssql
421-
dockerImageTag: 0.3.13
421+
dockerImageTag: 0.3.14
422422
documentationUrl: https://docs.airbyte.io/integrations/sources/mssql
423423
icon: mssql.svg
424424
sourceType: database
@@ -564,7 +564,7 @@
564564
- name: Postgres
565565
sourceDefinitionId: decd338e-5647-4c0b-adf4-da0e75f5a750
566566
dockerRepository: airbyte/source-postgres
567-
dockerImageTag: 0.4.2
567+
dockerImageTag: 0.4.3
568568
documentationUrl: https://docs.airbyte.io/integrations/sources/postgres
569569
icon: postgresql.svg
570570
sourceType: database

airbyte-integrations/connectors/source-mssql/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ ENV APPLICATION source-mssql
1616

1717
COPY --from=build /airbyte /airbyte
1818

19-
LABEL io.airbyte.version=0.3.13
19+
LABEL io.airbyte.version=0.3.14
2020
LABEL io.airbyte.name=airbyte/source-mssql

airbyte-integrations/connectors/source-mssql/src/test-integration/java/io/airbyte/integrations/source/mssql/CdcMssqlSourceDatatypeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected void initTests() {
331331
.sourceType("date")
332332
.airbyteType(JsonSchemaPrimitive.STRING)
333333
.addInsertValues("'0001-01-01'", "'9999-12-31'", "'1999-01-08'", "null")
334-
.addExpectedValues("0001-01-01", "9999-12-31", "1999-01-08", null)
334+
.addExpectedValues("0001-01-01T00:00:00Z", "9999-12-31T00:00:00Z", "1999-01-08T00:00:00Z", null)
335335
.createTablePatternSql(CREATE_TABLE_SQL)
336336
.build());
337337

airbyte-integrations/connectors/source-postgres/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ ENV APPLICATION source-postgres
1616

1717
COPY --from=build /airbyte /airbyte
1818

19-
LABEL io.airbyte.version=0.4.2
19+
LABEL io.airbyte.version=0.4.3
2020
LABEL io.airbyte.name=airbyte/source-postgres

airbyte-integrations/connectors/source-postgres/src/test-integration/java/io/airbyte/integrations/io/airbyte/integration_tests/sources/CdcPostgresSourceDatatypeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ protected void initTests() {
225225
.sourceType("date")
226226
.airbyteType(JsonSchemaPrimitive.STRING)
227227
.addInsertValues("'January 7, 1999'", "'1999-01-08'", "'1/9/1999'", "'January 10, 99 BC'", "'January 11, 99 AD'", "null")
228-
.addExpectedValues("1999-01-07", "1999-01-08", "1999-01-09", "0099-01-10", "1999-01-11", null)
228+
.addExpectedValues("1999-01-07T00:00:00Z", "1999-01-08T00:00:00Z", "1999-01-09T00:00:00Z", "0099-01-10T00:00:00Z", "1999-01-11T00:00:00Z", null)
229229
.build());
230230

231231
addDataTypeTestData(

docs/integrations/sources/mssql.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,9 @@ If you do not see a type in this list, assume that it is coerced into a string.
292292

293293
## Changelog
294294

295-
| Version | Date | Pull Request | Subject | |
296-
|:--------| :--- | :--- | :--- | :-- |
295+
| Version | Date | Pull Request | Subject |
296+
|:------- | :--------- | :----------------------------------------------------- | :------------------------------------- |
297+
| 0.3.14 | 2022-01-24 | [9554](https://github.com/airbytehq/airbyte/pull/9554) | Allow handling of java sql date in CDC |
297298
| 0.3.13 | 2022-01-07 | [9094](https://github.com/airbytehq/airbyte/pull/9094) | Added support for missed data types |
298299
| 0.3.12 | 2021-12-30 | [9206](https://github.com/airbytehq/airbyte/pull/9206) | Update connector fields title/description |
299300
| 0.3.11 | 2021-12-24 | [8958](https://github.com/airbytehq/airbyte/pull/8958) | Add support for JdbcType.ARRAY |

docs/integrations/sources/postgres.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ According to Postgres [documentation](https://www.postgresql.org/docs/14/datatyp
257257

258258
| Version | Date | Pull Request | Subject |
259259
|:--------|:-----------|:-------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------|
260+
| 0.4.3 | 2022-01-24 | [9554](https://github.com/airbytehq/airbyte/pull/9554) | Allow handling of java sql date in CDC |
260261
| 0.4.2 | 2022-01-13 | [9360](https://github.com/airbytehq/airbyte/pull/9360) | Added schema selection |
261262
| 0.4.1 | 2022-01-05 | [9116](https://github.com/airbytehq/airbyte/pull/9116) | Added materialized views processing |
262263
| 0.4.0 | 2021-12-13 | [8726](https://github.com/airbytehq/airbyte/pull/8726) | Support all Postgres types |

0 commit comments

Comments
 (0)