1
0
mirror of synced 2026-01-06 06:04:16 -05:00
Commit Graph

185 Commits

Author SHA1 Message Date
Alexander Tsukanov
dc04654456 🎉 Source PostgreSQL: Handle the case when DB user doesn't has privileges to select the table (#8010)
* airbyte-5172 Do not list tables we do not have access to in the connection settings

* airbyte-5172 Do not list tables we do not have access to in the connection settings

* airbyte-5172 Do not list tables we do not have access to in the connection settings

* airbyte-5172 Do not list tables we do not have access to in the connection settings

* airbyte-5172 Added docs, bump dockerfiles

* airbyte-5172 Fix PR comments.

* airbyte-5172 Fixed PR comments.

* airbyte-5172 bumped connector version.
2021-11-19 18:02:40 +02:00
oneshcheret
7cf31ea50c 🐛 Fix data type tests in CdcPostgresSourceDatatypeTest (#7339)
* Fix data type tests in CdcPostgresSourceComprehensiveTest

* update style format

* bump version for postgres source

* bump version for postgres source in json definition

* remove unnecessary comments from test and bump version for postgres strict encrypt source

* resolved potential conflicts with debezium utils in mssql converter implementation

* resolved potential conflicts with debezium utils in mssql converter implementation

* Update notes for money type in postgres.md

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* Update docs/integrations/sources/postgres.md

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* added test cases for converting data values for postgres cdc, remove time zone utc from test container

* remove redundant void message from test

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* update style format

* fix time zone in DebeziumConverterUtilsTest

* set utc time zone in DataTypeUtils

* set utc time zone for date format

* revert changes regarding timezone in date format, disable tests with number and duration

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-11-02 17:46:42 +02:00
Charles
7bf531a967 SSH for Postgres Source (#5742) 2021-09-02 11:32:04 -07:00
Subodh Kant Chaturvedi
a53dd7eaf0 remove sleep logic when the queue is full from CDC (#5600)
* dont sleep when queue is full

* bump version
2021-08-30 17:45:53 +05:30
irynakruk
954d7ccbb2 🐛 Source Postgres: fix CDC OOM issue (#5304)
* Added functionality for pgoutput plugin

* Updated docs and tests

* refactoring

* bumped version;
fixed test

* updated description;

* bumped version;

Co-authored-by: Iryna Kruk <iryna.o.kruk@globallogic.com>
2021-08-19 14:49:57 +03:00
Subodh Kant Chaturvedi
da67afe6ea Convert debezium transaction timestamps data type (#5356)
* Add transactionTimestamp field

* Update CDC_timestamp type in integrations and tests

* no jsonschema timestamp type, use string

* Linting

* format

* fix compilation error

* fix compilation error

* fix test output

* upgrade version for mssql,mysql,postgres

* stupid mistake! forgot to upgrade docker file

Co-authored-by: danieldiamond <danieldiamond1@gmail.com>
2021-08-13 19:45:54 +05:30
Subodh Kant Chaturvedi
9b1aa3cbaa throw exception if we close engine before snapshot is complete + increase timeout for subsequent records (#4730)
* throw exception if we close engine before snapshot is complete + increase timeout for subsequent records

* add comment + bump postgres version to use new changes
2021-07-14 01:19:38 +05:30
Subodh Kant Chaturvedi
5d2fc4a727 upgrade postgres version for new cdc abstraction (#4702) 2021-07-13 01:21:03 +05:30
Rodrigo Menezes
17cf7bc314 🐛 Source PostgreSQL: Fixed PostgreSQL CDC numeric handling (#4568)
* 🐛 Source PostgreSQL: Fixed PostgreSQL CDC numeric handling

* Rm unnecessary tests for non-CDC

* Add more values to test in postgres cdc numeric

* Fix comment so it points to psql docs instead

* Oops, added to the wrong test file

* Add sourceType as well

* Fix precision on tests
2021-07-06 19:12:26 +01:00
Jared Rhizor
b4793b2510 add AIRBYTE_ENTRYPOINT for kubernetes support (#3973)
* add AIRBYTE_ENTRYPOINT for kubernetes support

* bump versions

* bump version in seed

* Update generic template

* keep scaffold sources at 0.1.0

* add missing newline

* handle python base versions correctly

* re-bump mysql and postgres sources

* re-bump snowflake destination

* add skip tests option

* switch to running tests

* reverse conditional to make it safer

* fix publish to include the test running

* fix iterable version

* fix file generation

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-06-09 13:01:45 -07:00
Marcos Marx
05b8a2c532 Add method field on spec.json connectors (snowflake and postgres) (#3960)
* add prop for oneOf snowflake

* add method field to pg and update config

* correct pg tests

* change version in docker file
2021-06-08 20:11:45 -03:00
Jared Rhizor
99f1448d30 remove isCdc config logging (#3179) 2021-05-03 07:42:47 -07:00
Charles
e4d227f5b4 set source defined cursor field for cdc (#2878) 2021-04-21 15:07:06 -07:00
Davin Chia
42686add8a Release connectors with namespace change. (#2990)
Release all connectors affected by namespace change. Includes all JDBC sources and destinations.

Also add documentation for normalisation. Prerequisite to actually releasing 0.21.0-alpha.
2021-04-21 11:35:08 +08:00
Jared Rhizor
1ae2cc2051 make postgres ssl optional in spec (#2923) 2021-04-16 16:22:24 -07:00
jrhizor
0fe2dc7c57 bump source-postgres 0.25 -> 0.2.6 2021-04-16 15:40:31 -07:00
Jared Rhizor
6d95e3b619 bump postgres to pick up cdc + bugfix (#2859) 2021-04-12 15:34:10 -07:00
Jared Rhizor
2b19da82d8 postgres cdc (#2548)
* spike

* more

* debezium wip

* use oneof for configuration

* iterator wrapping structure

* push current

* working loop

* move capability into source

* hack it into a sharable state

* debezium test runner (#2617)

* CDC Wait for Values (#2618)

* output actual AirbyteMessages for cdc (#2631)

* message conversion

* fmt

* add lsn extraction and comparison (#2613)

* postgres cdc catalog (#2673)

* update cdc catalog

* A

* table selection for cdc (#2690)

* table selection for cdc

* fix broken merge

* also test double quote in name

* Add state management to CDC (#2718)

* CDC: Fix Producer/Consumer State Machine (#2721)

* CDC Postgres Tests (#2777)

* fix postgres cdc image name and run check before reading data (#2785)

* minor postgres cdc fixes

* add test and fix check behavior

* fix

* improve comment

* remove unused props, remove todos, add some more sanity tests (#2791)

* cdc: add offset store tests (#2793)

* clean (#2798)

* postgres cdc docs (#2784)

* cdc docs

* Update docs/integrations/sources/postgres.md

Co-authored-by: Charles <giardina.charles@gmail.com>

* address gcp

* learn too english

* add link

* add more disk space warnings

* add additional cdc use case

* add information on how to find postgresql.conf

* add how to find the file

Co-authored-by: Charles <giardina.charles@gmail.com>

* various merge conflict fixes (#2799)

* cdc standard tests (#2813)

* require cdc users to create publications & update docs (#2818)

* postgres cdc race condition

* working? but different process

* add additional logging to help debug in the future

* everything done except working config

* remove unintended change

* Use oneOf in PG CDC spec (#2827)

* add oneOf configuration for postgres cdc  (#2831)

* add oneof configuration for cdc postgres

* fmt

Co-authored-by: Charles <giardina.charles@gmail.com>

* fix test (#2834)

* fix test

* bump version

* add docs on creating replica identities (#2838)

* add docs on creating replica identities

* emphasize danger

* grammar

* bump pg version in source catalog

* generate seed files

Co-authored-by: cgardens <giardina.charles@gmail.com>
2021-04-09 16:36:58 -07:00
Davin Chia
e8190ff860 🎉 Add NCHAR and NVCHAR support to DB and cursor type casting. (#2600) 2021-03-29 08:09:06 +08:00
Christophe Duong
8a29584125 ☝🏼Destinations supports destination sync mode (#2460)
* Handle destination sync mode in destinations

* Source & Destination sync modes are required (#2500)

* Provide Migration script making sure it is always defined for previous sync configs
2021-03-26 20:23:48 +01:00
Christophe Duong
41e8b6a824 Source support primary keys (#2488)
* Source support primary keys
2021-03-17 19:28:56 +01:00
Christophe Duong
070575ffdf Protocol allows future / unknown properties (#2238)
* Allow new extra properties in validation
* Create migration script to upgrade all connectors versions
* Bumpversion of all connectors
2021-03-09 13:36:36 +01:00
Charles
aadfae24bd Iterator-based JDBC Source (and Redshift bugfix) (#1887) 2021-02-02 17:14:14 -08:00
Charles
f2f3b4ec37 Fix NPE in State Decorator (#1746) 2021-01-25 17:31:23 -08:00
Jared Rhizor
227e709a48 add postgres (source and destination) field titles (#1765)
* add postgres titles

* fix other conflict

* fix other usage
2021-01-25 10:48:56 -08:00
Charles
3670545995 Fix JdbcSource handling of tables with same names in different schemas (#1724)
* Fix JdbcSource handling of tables with same names in different schemas

* Previously the JdbcSource was combining the columns of any tables with the same name across different schemas into a single stream in the catalog.

* This was caught because in those tables there were columns of the same name with different types which triggered a precondition to check for this.

* The fix makes sure we group by both schema name and table name.

* Adds test to the standard jdbc tests to catch this case.

* This test does NOT run for mysql as, mysql has no concept of schemas.
2021-01-19 18:45:53 -08:00
Charles
13c5eef93a Fix JdbcSource Incremental OOM (#1655) 2021-01-14 14:33:44 -08:00
Sherif A. Nada
68ecf991d6 Handle invalid numeric values in JDBC source (#1588) 2021-01-13 13:31:53 -08:00
Charles
102b432a5b Migrate Postgres and MySql to use new JdbcSource (#1307) 2021-01-08 14:15:34 -08:00
Charles
25689eea56 add incremental to jooq source (and postgres) (#1172) 2020-12-08 21:14:11 -08:00
Christophe Duong
a49e7834f8 Change jdbc sources to discover more than standard schemas (#1038)
Change jdbc sources to discover more than standard schemas
2020-11-30 17:36:54 +01:00
Charles
02819a4b87 Incremental Docs and Data Model Update (#1021) 2020-11-19 22:07:32 -08:00
Sherif A. Nada
f4c3ac70f9 annotate secret fields (#1012) 2020-11-19 15:13:23 -08:00
Charles
e7edb2c858 Adding incremental to the catalog data model (#998)
* Add ConfiguredAirbyteCatalog and ConfiguredAirbyteStream
2020-11-18 14:15:59 -08:00
Sherif A. Nada
7059825804 Add postgres JDBC source (#794) 2020-11-03 10:56:36 -08:00