1
0
mirror of synced 2025-12-23 03:47:05 -05:00
Commit Graph

10730 Commits

Author SHA1 Message Date
Stephane Geneix
80faccf62b remove destination-e2e-test (#45702) 2024-09-20 15:18:09 -07:00
Stephane Geneix
0fc5bf6881 destination-dev-null: upgrade CDK (#45650) 2024-09-20 14:57:17 -07:00
Stephane Geneix
c6ec55deb1 destination-dev-null: convert test code to kotlin (#45649)
## What
<!--
* Describe what the change is solving. Link all GitHub issues related to this change.
-->

## How
<!--
* Describe how code changes achieve the solution.
-->

## Review guide
<!--
1. `x.py`
2. `y.py`
-->

## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them. 
-->

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [ ] YES 💚
- [ ] NO 
2024-09-20 14:38:52 -07:00
Edward Gao
adb7e97800 Destination s3: Handle nonstandard fields in jsonschema (#45700) 2024-09-20 21:51:11 +03:00
Stephane Geneix
2e61b5a946 destination-dev-null: convert production code to kotlin (#45648)
## What
<!--
* Describe what the change is solving. Link all GitHub issues related to this change.
-->

## How
<!--
* Describe how code changes achieve the solution.
-->

## Review guide
<!--
1. `x.py`
2. `y.py`
-->

## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them. 
-->

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [ ] YES 💚
- [ ] NO 
2024-09-20 11:06:29 -07:00
Patrick Nilan
e8f2f5af47 [source-google-ads] - Update API Documentation URLs to Reference v17 (#44600) 2024-09-20 10:42:07 -07:00
Tope Folorunso
253e78926b source-cimis contribution from topefolorunso (#45664)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-19 17:53:06 -07:00
Tope Folorunso
367ea1df2c source-jotform contribution from topefolorunso (#45441)
Co-authored-by: Natik Gadzhi <natik@respawn.io>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-19 14:35:48 -07:00
btkcodedev
b467c50c8f source-chameleon contribution from btkcodedev (#45658)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-19 13:16:52 -07:00
Serhii Lazebnyi
d9e33f3016 refactor(source-linkedin-ads): migrate to low-code (#44370)
Co-authored-by: Alexandre Girard <alexandre@airbyte.io>
Co-authored-by: Artem Inzhyyants <36314070+artem1205@users.noreply.github.com>
2024-09-19 21:27:16 +02:00
lazebnyi
0a24c13c1b 🤖 Cut version 5.7.0 of source-declarative-manifest 2024-09-19 17:18:06 +00:00
Stephane Geneix
bb3c27b817 destination-snowflake: update all dependencies (#45437) 2024-09-19 08:46:37 -07:00
Stephane Geneix
ccd0ea6c42 destination-snowflake: truncate large records (#45431)
## What
This change implements a large record truncation mechanism for the Snowflake destination connector to handle records exceeding Snowflake's 16MB row size limit.

## How
- The truncator preserves primary key fields and truncates other fields to fit within the 16MB limit.
- Added metadata to indicate which fields were truncated due to size limitations.


## User Impact
Users can now sync large records to Snowflake without encountering errors due to row size limitations. Fields may be truncated to fit within the 16MB limit, but primary keys are always preserved. Metadata is added to indicate which fields were affected.
2024-09-19 08:17:29 -07:00
Stephane Geneix
fcbbd43e67 destination-s3: fix issue with columnless streams (#45402)
Added support for handling empty data fields in Avro records and introduced a new test case for streams with no columns.

We've agreed there's a bug in a source (uscensus) that returns a single columnless stream. There's also a bug in the platform that allows a customer to create a connection using that columnless empty stream.
While it would be ideal for the destination connector to send an (yet non existent) `UpstreamError` back to the platform, we have some configurations of S3 (CSV, Json) that just allow teh columnless records to be persisted. We're just bringing the parquet/avro to the same permissiveness
2024-09-19 08:17:13 -07:00
Artem Inzhyyants
009265a1d8 fix(source-microsoft-sharepoint): handle wrong folder name (#45646)
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
2024-09-19 16:51:18 +02:00
Erick Corona
39caa99fa1 fix(source-gcs): raise OSError in reader.open_file, improve unit test coverage (#45092)
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
Co-authored-by: Erick Corona <erick.corona@airbyte.io>
Co-authored-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
2024-09-19 16:51:06 +02:00
Artem Inzhyyants
162d878176 docs(source-gcs): update source header name (#45668)
Signed-off-by: Artem Inzhyyants <artem.inzhyyants@gmail.com>
2024-09-19 13:24:44 +02:00
Stephane Geneix
14f9e5c32d destination-snowflake: speed up metadata queries (#45422) 2024-09-18 15:14:54 -07:00
Stephane Geneix
0c9805e4e9 destination-s3: update all dependencies (#45436) 2024-09-18 14:52:40 -07:00
Stephane Geneix
21ec465d47 destination-postgres: update all dependencies (#45434)
## What
<!--
* Describe what the change is solving. Link all GitHub issues related to this change.
-->

## How
<!--
* Describe how code changes achieve the solution.
-->

## Review guide
<!--
1. `x.py`
2. `y.py`
-->

## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them. 
-->

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [ ] YES 💚
- [ ] NO 
2024-09-18 14:41:26 -07:00
Stephane Geneix
a1bcb79852 destination-redshift: update all dependencies (#45435) 2024-09-18 14:20:41 -07:00
Stephane Geneix
d94b348c17 destination-databricks: update all dependencies (#45438) 2024-09-18 14:19:22 -07:00
Stephane Geneix
fea5ca8414 destination-bigquery: update all dependencies (#45433) 2024-09-18 14:14:41 -07:00
Tope Folorunso
8f95359316 source-7shifts contribution from topefolorunso (#45656)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-18 12:51:50 -07:00
btkcodedev
45924a81cb source-when-i-work contribution from btkcodedev (#45367)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-18 12:45:58 -07:00
btkcodedev
474782c937 source-height contribution from btkcodedev (#45065)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-18 12:44:43 -07:00
btkcodedev
59337bdf9a source-piwik contribution from btkcodedev (#45586)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-18 12:43:53 -07:00
Stephane Geneix
7c8d612c51 destination-snowflake: fix destination state table collation (#38585)
when creating a table in snowflake, we use the DEFAULT_COLLATION set at the database or schema level. We should always use the utf-8 collation (which is the snowflake default), so our queries are simpler and faster (and accept more than 50 constants in an IN clause)
2024-09-18 11:46:40 -07:00
Stephane Geneix
e931c2add7 destination-snowflake: get tests to pass - durably (#45370)
### TL;DR

Make destination-snowflake pass all tests

### What changed?

- Updated CDK version to 0.45.0
- Reduced JUnit method execution timeout to 20 minutes
- Improved error handling in SnowflakeDestination's main function
- Enhanced error message for invalid permissions in integration test
- Implemented a more robust cleanup process for Airbyte internal tables and schemas
- Removed unused Batch and LocalFileBatch classes
- Not in the PR: I also deleted about 5k tables and 2k schemas, which were making our tests run slower than necessary. The cleanup logic will automate those cleanups. 

### How to test?

1. Run integration tests for the Snowflake destination connector
2. Verify that the new error message is displayed when testing with invalid permissions
3. Check that the cleanup process removes old tables and schemas as expected
4. Ensure that all existing functionality remains intact

### Why make this change?

These changes aim to improve the reliability and maintainability of the Snowflake destination connector. The updated CDK version and reduced test timeout should lead to faster and more efficient testing. The enhanced error handling and cleanup processes will help in identifying issues more quickly and keeping the test environment clean. Removing unused classes reduces code clutter and improves overall code quality.
2024-09-18 11:19:13 -07:00
Patrick Nilan
66a999cd4b [source-shopify] - Adds read_inventory as a required scope for product_variants stream (#45633) 2024-09-18 07:47:01 -07:00
Yue Li
2e62443f1c [source-postgres/mysql/mssql/mongodb-v2] Use latest CDK to adopt latest apache sshd mina to handle tcpkeepalive requests (#45639) 2024-09-18 14:46:10 +03:00
btkcodedev
398a1bba71 source-buzzsprout contribution from btkcodedev (#45608)
Co-authored-by: Natik Gadzhi <natik@respawn.io>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-17 20:55:17 -07:00
etiennecallies
6502f92096 🐛 Source Greenhouse: faster check stream (#45625) 2024-09-17 16:04:27 -03:00
brianjlai
28f82140ab 🤖 Cut version 5.6.0 of source-declarative-manifest 2024-09-17 18:39:45 +00:00
Gireesh Sreepathi
daee3b69aa Destination Iceberg: Fix tests to run in airbyte-ci (#45206) 2024-09-17 07:53:05 -07:00
Tope Folorunso
5cb27b1526 source-nylas contribution from topefolorunso (#45093)
Co-authored-by: Natik Gadzhi <natik@respawn.io>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:51:27 -07:00
btkcodedev
86b34f6fe3 source-brevo contribution from btkcodedev (#45382)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:49:20 -07:00
btkcodedev
1fdd06f5d6 source-appfigures contribution from btkcodedev (#45332)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:47:56 -07:00
btkcodedev
8a4e8757e0 source-shortcut contribution from btkcodedev (#45176)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:46:08 -07:00
btkcodedev
328fd8703e source-survicate contribution from btkcodedev (#45163)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:45:12 -07:00
btkcodedev
42a26d23e1 source-buildkite contribution from btkcodedev (#45384)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:44:02 -07:00
btkcodedev
fa67b6a35e source-front contribution from btkcodedev (#45387)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:42:51 -07:00
btkcodedev
37af2f013d source-google-tasks contribution from btkcodedev (#45427)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:41:34 -07:00
btkcodedev
a85de6f70e source-picqer contribution from btkcodedev (#45159)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:40:29 -07:00
btkcodedev
c6530c946b source-teamwork contribution from btkcodedev (#45155)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:39:48 -07:00
btkcodedev
b6deeb359c source-appcues contribution from btkcodedev (#45102)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: Natik Gadzhi <natik@respawn.io>
2024-09-16 15:38:54 -07:00
Tope Folorunso
368b5c2fdd source-bitly contribution from topefolorunso (#45071)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:31:37 -07:00
btkcodedev
891fa03415 source-guru contribution from btkcodedev (#45066)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 15:30:40 -07:00
Dhroov Makwana
56fcf5ee94 source-canny contribution from pabloescoder (#45588)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 22:16:06 +00:00
Dhroov Makwana
f813e93881 source-ezofficeinventory contribution from pabloescoder (#45590)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2024-09-16 22:13:40 +00:00