1
0
mirror of synced 2026-01-22 00:06:56 -05:00
Commit Graph

188 Commits

Author SHA1 Message Date
Greg Solovyev
56c686440e New destination: databend (community PR #19815) (#20909)
* feat: Add databend destination

Co-authored-by: hantmac <hantmac@outlook.com>
Co-authored-by: josephkmh <joseph@airbyte.io>
Co-authored-by: Sajarin <sajarindider@gmail.com>
2023-01-09 10:19:07 -08:00
Jaakko Kangasharju
3035dc002a Add BOOLEAN to Redshift keywords (#20421) 2023-01-03 14:53:42 -08:00
Geoff Genz
b7816f4f58 🐛 Destination ClickHouse: Update Normalization Docker File (#19573)
* Update ClickHouse normalization docker file

* bump destination and norm version

* auto-bump connector version

* update doc

Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-12-06 14:49:18 -03:00
Greg Solovyev
6af98045f8 Parameterize test_empty_streams and test_stream_with_1_airbyte_column by destination (#18197)
* Remove lines that always add Postgres to list of destinations
* Parameterize all tests in test_ephemeral by destination
2022-11-01 12:55:32 -07:00
Greg Solovyev
8cf546483d 🐛 Add a drop table hook to drop scd tables in case of overwrite sync (#18015)
* Add a drop table hook to drop scd tables in case of overwrite sync

* Add an integration test for dropping SCD table on overwrite

* skip new test for Oracle and TiDB

* Add normalization run after initial reset

* Bump normalization version
2022-11-01 08:52:02 -07:00
Augustin
e2fe272086 normalization: Fix failing mypy checks (#18534) 2022-10-27 20:38:47 +02:00
Benoit Moriceau
adf2c5ff8e Bmoric/remove dep connector worker (#17977)
* test [ci skip]

* Autogenerated files

* Add missing annotation

* Remove unused json2Schema block from worker

* Move tess

* Missing deps and format

* Fix test build

* TMP

* Add missing dependencies

* PR comments

* Tmp

* [ci skip] Tmp

* Fix acceptance test and add the seed dependency

* Fix build

* For diff

* tmp

* Build pass

* make the worker to be  on the platform only

* fix setting.yaml

* remove dependency

* Fix pmd

* Fix Cron

* Add chart

* Fix cron

* Fix server build.gradle

* Fix jar conflict

* PR comments

* Add cron micronaut environemnt

* Update required build path

* remove all dependencies on worker

* Typo

* Add gradle exclusions

* Add exclusion to avoid conflict

* more exclusion

* Move more class

* Exclude worker from the general build

* Fix connector build
2022-10-18 11:51:25 -07:00
Edward Gao
bd0c2388df Destination Clickhouse: Publish normalization after removing native port (#17896)
* bump version for publish

* add link for publish pr
2022-10-12 13:51:55 -07:00
Benoit Moriceau
f650005f2a Remove the dependency between the orchestrator container and the worker app (#17570)
* test [ci skip]

* Autogenerated files

* Add missing annotation

* Remove unused json2Schema block from worker

* Move tess

* Missing deps and format

* Fix test build

* Add missing dependencies

* PR comments

* Fix acceptance test and add the seed dependency

* Fix build

* Fix build again
2022-10-11 17:12:00 -07:00
Greg Solovyev
5f25d2d069 Greg/clickhouse polishing (#17483)
* add icon for clickhouse in destination folder

* use http port only in clickhouse

* declare driver: http for dbt explicitly

* bump destination clickhouse version

Co-authored-by: restrry <restrry@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-10-01 12:40:19 -07:00
Filipp Balakin
17cb363fe1 Normalization: update dbt-clickhouse version from 1.1.7 to 1.1.8 (#16339)
* Bump dbt-clickhouse version from 1.1.7 to 1.1.8

* pin dbt<1.2

* update doc

* pin dbt core lt 1.2

* bump normalization version

* loosen requirements

* fix md

* remove empty line

* bump normalization version in worker

* bump normalization version

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
2022-09-14 08:27:31 -03:00
Ryan Fu
50a8d03c4c Cleans and Rebase Error Message Factory PR (#16202)
* Cleaned error messages factory PR

* Bumped MySQL and Postgres version

* Fixed messages and typos in test

* Fixes the changelog conflict with per-stream state

* Added note for flaky test

* Bumps mysql version to match changelog

* Added exception objects to all LOGGER.error for more visibility

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-09-12 16:08:11 -07:00
Tuhai Maksym
f81c5aa667 7198: SSH Tunnel: allow using OPENSSH key format (#15833)
* 7198: SSH Tunnel: allow using OPENSSH key format

* 7198: merge

* 7198: merge fix

* Use apache sshd lib to load private keys for tunnel

* Throw an exception in case private key failed to load

* Fix failing flow when creating NO_TUNNEL wrapper

* bump version numbers

* Address review comments. Fix test

Co-authored-by: Rodi Reich Zilberman <867491+rodireich@users.noreply.github.com>
2022-09-09 10:22:03 -07:00
Daemonxiao
d4524032ae 🎉 New Destination: TiDB (#15592)
* Add new destination-tidb

* support sync

* Add normalization-tidb

* fix failed tests

* Add unnest marco

* fmt

* Add new destination-tidb

* support sync

* Add normalization-tidb

* fix failed tests

* Add unnest marco

* fmt

* fmt

* fix integration test

* Update docs/integrations/destinations/tidb.md

Co-authored-by: Xiang Zhang <angwerzx@126.com>

* Update doc

* Update doc

* Update doc

* bump normalization version

* update normalization changelog

* run format

* add dest def

* generat spec

Co-authored-by: Xiang Zhang <angwerzx@126.com>
Co-authored-by: Marcos Marx <marcosmarxm@users.noreply.github.com>
Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
2022-08-31 16:50:27 -03:00
Greg Solovyev
5819733ab1 Greg/guykoh update dbt clickhouse (#14897)
* Update dbt-clickhouse version to 1.1.7 to support AirByte on ClickHouse cloud

* Fix quote handling in Clickhouse normalization tests

* Update test output for Clickhouse

* Bump version and update changelog

Co-authored-by: guykohen <guy@clickhouse.com>
2022-08-22 21:53:11 -07:00
andriikorotkov
8c30067740 updated normalization for postgres (#15557) 2022-08-11 22:27:53 +03:00
andriikorotkov
5e3d46e6d2 updated normalization version for postgres destination (#15397) 2022-08-08 11:19:42 +03:00
Tuhai Maksym
8161d8d97d 13758: SSH control host port setting not used when tunneling (#14295)
* 13758: ssh port fixed

* 13758: version updated

* 13758: changelog updated

* 13758: merge fix

* 13758: docker image version updated

* 13758: docker image version updated

* 13758: docker image version updated as deployment was unsuccesful

Co-authored-by: Greg Solovyev <grishick@users.noreply.github.com>
2022-08-05 01:02:00 +03:00
George Claireaux
7ba102b441 Add and persist job failures for Normalization (#14790)
* added TracedException and uncaught exception handler

* added trace message capturing

* added tests for TRACE messages

* pre-json logging

* propagating normalization failures

* log format json & fix hang

* parsing dbt json logs

* bump normalization version

* tests

* Benoit comments

* update trace exception user message

* review comments

* bump version

* bump version

* review comments

* nit comments

* add normalization trace failure test

* version bump

* pmd

* formatto

* bump version
2022-08-02 15:37:00 +01:00
Serhii Chvaliuk
fd09c325de 🎉 Base Normalization: quote schema name to allow reserved keywords (#14683)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-07-28 00:54:40 +03:00
Edward Gao
b2dd470d3d Handle ints and longs in normalization (#14362)
* generate airbyte_type:integer

* normalization accepts `airbyte_type: integer`

* handles ints+longs

* update avro for consistency

* delete long type for now, treat all ints as longs

* update avro type mappings

{type:number, airbyte_type:integer} -> long
{type:number, airbyte_type:big_integer} -> string (i.e. "unbounded integer")

* fix test

* remove long handling

* Revert "remove long handling"

This reverts commit 33ade8d2831e675c3545ac6019d200ec312e54d9.

* Revert "update avro type mappings"

This reverts commit 5b0349badad7545efe8e1191291a628445fe1c84.

* Revert "delete long type for now, treat all ints as longs"

This reverts commit 018efd4a5d0c59f392fd8e3b0d0967c666b72947.

* Revert "update avro for consistency"

This reverts commit bcf47c6799b5906deb4f219d7f6e64ea73b41b74.

* newline@eof

* update test

* slightly better local tests

* fix test

* missed a few cases

* postgres tests use correct hostnames

* fix normalization

* fix int macro

* add test case

* normalization test output

* handle int/long correctly

* fix types for other DBs

* uint32 -> bigint; tests

* add type value assertions

* more test updates

* regenerate output

* reconcile big_integer to match docs

* update comment

* fix type

* fix mysql constructor call

* bigint only has 38 digits

* fix s3 ints, fix DAT test case

* big_integer should be string

* reduce to 28 digit big_ints

* fix test setup, mysql

* kill big_integer tests

* regenerate output

* version bumps

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

* auto-bump connector version [ci skip]

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-07-26 16:40:14 -07:00
Anna Lvova
49636982c1 🎉 Base Normalization: handle airbyte_type from stream schema in normalization (#13591)
* add datatypes

* up

* up

* add MySQL

* add MSSQL

* fix

* add macros

* add macros

* upd

* upd

* upd for clickhouse

* Return datetime2 for MS SQL

* Upd time type for mysql

* Upd datetime for MySQL

* update

* upd date type for clickhouse

* up

* auto-generate

* bump version

* bump version
2022-07-26 19:49:05 +03:00
Baz
0aa9ad77ec 🐛 Source Recharge: fix additionaProperties in spec.json (#14978) 2022-07-24 14:22:00 +03:00
oneshcheret
1d2c53ce2f Normalization for Snowflake destination: added support for key pair authentication (#14792)
* Normalization for Snowflake destination: added support for key pair authentication

* Normalization for Snowflake destination: updated changelogs

* Normalization for Snowflake destination: renamed property passphrase to password

* Normalization for Snowflake destination: bump normalization version in NormalizationRunnerFactory

* Normalization for Snowflake destination: added unit tests and change file creating process

* Normalization for Snowflake destination: added unit tests and change file creating process

* Normalization for Snowflake destination: added unit tests and change file creating process
2022-07-23 12:58:11 +03:00
brunofaustino
f73e0c0aea normalization: bigquery partition pruning optimization (#14485)
* bigquery partition pruning otimization

* bump version and add changelog
2022-07-19 17:54:19 -07:00
Edward Gao
89e78a6be5 🐛 Destination BIgQuery can handle nulls inside arrays (#14522) 2022-07-13 18:21:17 -07:00
Edward Gao
ddc065e9ce 🐛 normalization: Do not return NULL for MySQL column values > 512 chars (#14476)
* Revert "Revert "normalization: Do not return NULL for MySQL column values > 512 chars  (#11694)" (#14475)"

This reverts commit d268ab4140.

* better dependencies

* try internal docker host?

* Revert "try internal docker host?"

This reverts commit 709856d049.
2022-07-13 13:06:42 -07:00
Edward Gao
b85ad243ca disable DATs in normalization test (#14679) 2022-07-13 10:50:04 -07:00
Edward Gao
d268ab4140 Revert "normalization: Do not return NULL for MySQL column values > 512 chars (#11694)" (#14475)
This reverts commit 3f001b17ca.
2022-07-06 15:22:50 -07:00
Johannes Nicolai
3f001b17ca normalization: Do not return NULL for MySQL column values > 512 chars (#11694) 2022-07-06 09:50:25 +02:00
Edward Gao
bb74373c8b Run some DATs as part of base-normalization tests (#14312) 2022-07-01 14:55:23 -07:00
Baz
062b12f1ba 🎉 Base Norrmalization: clean-up Redshift tmp_schemas after SAT (#14015)
Now after `base-normalization` SAT the Destination Redshift will be automatically cleaned up from test leftovers. Other destinations are not covered yet.
2022-06-27 20:44:04 +03:00
Serhii Chvaliuk
49d181a198 Normalization: Fix incorrect jinja2 macro json_extract_array call (#13894)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-06-19 13:13:49 +03:00
Augustin
e8146e5ec2 Normalization: Upgrade MySQL to dbt 1.0.0 (#11470) 2022-06-15 15:05:49 -07:00
Edward Gao
897522cf51 Add some dev-facing normalization docs (#13780) 2022-06-15 08:21:14 -07:00
Edward Gao
61ce03a436 🐛 Normalization correctly propagates deletions to the final tables (#12846) 2022-06-14 14:56:18 -07:00
hugoJuhel
df3ebf3158 🎉 Destination mssql : adding ssh tunnel for normalisation (#11204) 2022-06-10 13:54:26 -07:00
Serhii Chvaliuk
2daaf5b4c3 Normalization - BigQuery use json_extract_string_array for array of simple types (#13289)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
Co-authored-by: andrii.leonets <aleonets@gmail.com>
Co-authored-by: Andrii Leonets <30464745+DoNotPanicUA@users.noreply.github.com>
2022-06-10 23:31:32 +03:00
Serhii Chvaliuk
0342699daf Normalization: rename *.sql -> *.sql.j2 (#13474)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-06-06 18:58:34 +03:00
Léon Stefani
a3c3cf779b 🐛 Fix Postgres string type in normalization (#12836)
* fix: postgres string type

* feat: added TODO for removal

* fix: better comment style

* Update airbyte-integrations/bases/base-normalization/dbt-project-template/macros/cross_db_utils/datatypes.sql

Added the dbt upgrade condition to TODO

Co-authored-by: Edward Gao <edward.gao@airbyte.io>

Co-authored-by: Edward Gao <edward.gao@airbyte.io>
2022-05-26 22:27:54 -03:00
Brian Leonard
b882538147 Snowflake integration test steps (#13205)
* Destination-snowflake test config update

* Tests assume this ones doesn’t work!

* Make GCS integration

* Use existing GCS integration because tests use it

* Add comments

* Snowflake setup in base-normalization

* Markdown!

* Respect the env variable

* readme update

* Updated snapshot
2022-05-26 13:24:29 -07:00
Alexandre Girard
3894134d11 Bump year in license short to 2022 (#13191)
* Bump to 2022

* format
2022-05-25 17:56:49 -07:00
Serhii Chvaliuk
7401cb64c0 Normalization: Checking --event-buffer-size on old dbt crashed entrypoint.sh (#12924)
* Fixed checking --event-buffer-size on old dbt crashed entrypoint.sh

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-05-18 11:08:12 +03:00
Serhii Chvaliuk
1ea62f33f8 Normalization snowflake: add datetime without timezone (#12745)
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-05-16 13:56:07 +03:00
oneshcheret
d35d7b07b8 Mssql destination: enable DAT tests, use nvarchar and datetime2 by default (#12305)
* Mssql destination: enable DAT tests for mssql destination, use nvarchar and datetime2 by default

* Mssql destination: update array handling in test

* Mssql destination: update array and JSON handling in test

* Mssql destination: remove unused method

* bugfix bigquery tests, dataset_location added

* basic-normalization.md updated

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>

* Mssql destination: change parent class for mssql test

Co-authored-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-05-07 11:22:22 +03:00
Sherif A. Nada
49810f8c13 sweep airbyte-integrations/bases/airbyte-protocol (#12598) 2022-05-05 13:51:16 -07:00
Davin Chia
e93bb85dc7 Fix build. (#12242) 2022-04-21 20:46:31 +08:00
Yurii Bidiuk
9d9507b227 revert formatting for test_pokemon_super.sql (#12234) 2022-04-21 11:28:23 +03:00
Yurii Bidiuk
785bcc4a9a 🐛 Destination Redshift: fix switching mode (#12085)
* fix switching mode for redshift

* bump version

* format code

* update spec
2022-04-20 16:57:15 +03:00
Serhii Chvaliuk
7023fbd48e Redshift SUPER type (#12064)
* 🎉 Destination Redshift: Use SUPER data type on Redshift destination for raw JSON data (#9407)

Co-authored-by: Oleksandr Tsukanov <alexander.tsukanovvv@gmail.com>
Co-authored-by: Sergey Chvalyuk <grubberr@gmail.com>
Co-authored-by: Christophe Duong <christophe.duong@gmail.com>
Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-04-20 15:11:22 +03:00