1
0
mirror of synced 2025-12-21 11:01:41 -05:00
Commit Graph

386 Commits

Author SHA1 Message Date
Edward Gao
934acaa137 Destination bigquery: rerelease 1s1t behind gate (#27936)
* Revert "Revert "Destination Bigquery: Scaffolding for destinations v2 (#27268)""

This reverts commit 348c577dbb.

* version bumps+changelog

* Speed up BQ by having 2 queries, and not an OR (#27981)

* 🐛 Destination Bigquery: fix bug in standard inserts for syncs >10K records (#27856)

* only run t+d code if it's enabled

* dockerfile+changelog

* remove changelog entry

* Destinations V2: handle optional fields for `object` and `array` types (#27898)

* catch null schema

* fix null properties

* clean up

* consolidate + add more tests

* try catch

* empty json test

* Automated Commit - Formatting Changes

* remove todo

* destination bigquery: misc updates to 1s1t code (#28057)

* switch to checkedconsumer

* add unit test for buildColumnId

* use flag

* restructure prefix check

* fix build

* more type-parsing fixes (#28100)

* more type-parsing fixes

* handle duplicates

* Automated Commit - Format and Process Resources Changes

* add tests for asColumns

* Automated Commit - Format and Process Resources Changes

* log warnings instead of throwing exception

* better log message

* error level

---------

Co-authored-by: edgao <edgao@users.noreply.github.com>

* Automated Commit - Formatting Changes

* Improve protocol type parsing (#28126)

* Automated Commit - Formatting Changes

* Change from T&D every 10k records to an increasing time based interval (#28130)

* fifteen minute t&d

* add typing and deduping operation valve for increased intervals of typing and deduping

* Automated Commit - Format and Process Resources Changes

* resolve bizarre merge conflict

* Automated Commit - Format and Process Resources Changes

---------

Co-authored-by: jbfbell <jbfbell@users.noreply.github.com>

* Simplify and speed up CDC delete support [DestinationsV2] (#28029)

* Simplify and speed up CDC delete support [DestinationsV2]

* better QUOTE

* spotbugs?

* recompile dbt image for local arch and use that when building images

* things compile, but tests fail

* tests working-ish

* comment

* fix logic to re-insert deleted records for cursor comparison.

tests pass!

* remove comment

* Skip CDC re-include logic if there are no CDC columns

* stop hardcoding pk (#28092)

* wip

* remove TODOs

---------

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

* update method name

* Automated Commit - Formatting Changes

* depend on pinned normalization version

* implement 1s1t DATs for destination-bigquery (#27852)

* intiial implementation

* Automated Commit - Formatting Changes

* add second sync to test

* do concurrent things

* Automated Commit - Formatting Changes

* clarify comment

* minor tweaks

* more stuff

* Automated Commit - Formatting Changes

* minor cleanup

* lots of fixes

* handle sql vs json null better
* verify extra columns
* only check deleted_at if in DEDUP mode and the column exists
* add full refresh append test case

* Automated Commit - Formatting Changes

* add tests for the remaining sync modes

* Automated Commit - Formatting Changes

* readability stuff

* Automated Commit - Formatting Changes

* add test for gcs mode

* remove static fields

* Automated Commit - Formatting Changes

* add more test cases, tweak test scaffold

* cleanup

* Automated Commit - Formatting Changes

* extract recorddiffer

* and use it in the sql generator test

* fix

* comment

* naming+comment

* one more comment

* better assert

* remove unnecessary thing

* one last thing

* Automated Commit - Formatting Changes

* enable concurrent execution on all java integration tests

* add test for default namespace

* Automated Commit - Formatting Changes

* implement a 2-stream test

* Automated Commit - Formatting Changes

* extract methods

* invert jsonNodesNotEquivalent

* Automated Commit - Formatting Changes

* fix conditional

* pull out diffSingleRecord

* Automated Commit - Formatting Changes

* handle nulls correctly

* remove raw-specific handling; break up methods

* Automated Commit - Formatting Changes

---------

Co-authored-by: edgao <edgao@users.noreply.github.com>
Co-authored-by: octavia-approvington <octavia-approvington@users.noreply.github.com>

* Destinations V2: move create raw tables earlier (#28255)

* move create raw tables

* better log message

* stop building normalization (#28256)

* fix ability to run tests

* disable incremental t+d for now

* Automated Commit - Formatting Changes

---------

Co-authored-by: Evan Tahler <evan@airbyte.io>
Co-authored-by: Cynthia Yin <cynthia@airbyte.io>
Co-authored-by: cynthiaxyin <cynthiaxyin@users.noreply.github.com>
Co-authored-by: edgao <edgao@users.noreply.github.com>
Co-authored-by: Joe Bell <joseph.bell@airbyte.io>
Co-authored-by: jbfbell <jbfbell@users.noreply.github.com>
Co-authored-by: octavia-approvington <octavia-approvington@users.noreply.github.com>
2023-07-14 09:34:56 -05:00
Joe Reuter
537b8c44a7 Connector builder: Extend compatibility guide (#28145)
* extend comp guide

* fix
2023-07-12 16:39:33 +02:00
Marcos Marx
57a7a03705 change discourse to github discussion (#28152) 2023-07-11 11:50:32 -03:00
Joe Reuter
5ec16b0ead Incremental data feed sync docs (#27654)
* incremental data feed sync docs

* adjust documentation for new UI

* Update docs/connector-development/connector-builder-ui/incremental-sync.md

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Update docs/connector-development/connector-builder-ui/incremental-sync.md

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Update docs/connector-development/connector-builder-ui/incremental-sync.md

Co-authored-by: Lake Mossman <lake@airbyte.io>

---------

Co-authored-by: Lake Mossman <lake@airbyte.io>
2023-07-06 10:46:00 -04:00
Lake Mossman
810e4421ab Switch "request parameters" to "query parameters" in connector builder docs (#27896)
* Switch request parameters to query parameters in connector builder docsg

* fix more occurrences
2023-07-03 11:16:45 -07:00
Edward Gao
52b8cbe39d Revert "Destination Bigquery: Scaffolding for destinations v2 (#27268)" (#27891)
* Revert "Destination Bigquery: Scaffolding for destinations v2 (#27268)"

This reverts commit ba3e39bb0c.

* bump versions to 1.5.1 everywhere
2023-06-30 20:26:48 -04:00
Edward Gao
ba3e39bb0c Destination Bigquery: Scaffolding for destinations v2 (#27268)
* copy files from edgao branch

* start writing create table statement

* add basic unit test setup

* create a table, probably

* remove outdated todo

* derp, one more column

* ugh

* add partitioning+clustering

* use StringSubstitutor

* substitutions in updateTable

* wip generate update/insert statement

* split up into smaller methods

* handle json types correctly

* rename stuff

* more json_query vs _value stuff

* minor tweak

* super basic test setup

* laying foundation for type parsing

* more stuff

* tweaks

* more progress on type parsing

* fix json_value stuff?

* misc fixes in insert

* fix dedupFinalTable

* add testDedupRaw

* full e2e test

* type parsing: gave up and mirrored the dbt code structure to avoid bugs

* type parsing - more cleanup

* handle column name collisions

* handle tablename collisions...?

* comments

* remove original ns/name from quotedstream

* also javadoc

* remove redundant method

* fix table rename

* add incremental append test

* add full refresh append test

* comment

* call T+D sql in a reasonable location for standard inserts

* add config option

* use config option here

* type parsing - fix fromJsonSchema

* gate everything

* log query + runtime

* add spec option temporarily

* Raw Table Updates

* fix more stuff

* first big pass at toDialectType

* no quotes

* wrap everything in quotes

* resolve some TODOs

* log sql statement in tests

* overwriteFinalTable returns optional

* minor clean up

* add raw dataset override

* try to preserve the original namespace for t+d?

* write to the raw table correctly

* update todos

* write directly to raw table

this is kind of dumb because we're still trying to do tmp table operations,
and we still don't ack state until the end of the entire sync.

* standard inserts write to raw table correctly

* imports + log statements

* move logs + add comment

* explicitly create raw table

* move comment to better place

* Typing issues

* bash attempt

* formatting updates

* formatting updates

* write to the airbyte schema by default unless overriden by config options

* standard inserts truncate raw table at start of sync

* full refresh overwrite will overwrite correctly!

* fix avro record schema parsing

* better raw table recreate

* rename raw table to match standard inserts

* full refresh overwrite does tmp table things

* small clean up

* small clean up

* remove errors entry if no errors

* pull out destination config into singleton

* clean up singleton stuff

* make sure dest config exists when trying to do lookups

* avoid stringifying null

* quick thoughts on alter table

* add basic cdc testcase

* tweak cdc test setup

* rename raw table to match standard inserts

* minor tweak

* delete exact sql string assertions

* switch to JSON type

* minor cleanup

* sql whitespace changes

* explain cdc deletions

* GCS Staging Full Refresh create temp table

* assert schema

* first out of order cdc test

* add another cdc test case (currently failing)

* better test structure

* make this work

* oops, fix test

* stop trying to delete deletion records

* minor improvements to code+test

* enable concurrent test runs on integration test

* move stuff to static initializer

* extract utility method

* formatting

* Move conditional to the base java package, replace conditionals which did not use the typing and deduping flag but should have been.

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-gcs code [skip ci]

* switch back to empty list; write big assert

* minor wording tweaks

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-gcs code [skip ci]

* DestinationConfigTest

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-gcs code [skip ci]

* formatting

* remove ParsedType

* 🤖 Auto format destination-gcs code [skip ci]

* 🤖 Auto format destination-bigquery code [skip ci]

* tests verify every data type

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-gcs code [skip ci]

* full update with all data types

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-gcs code [skip ci]

* move stuff to new base lib

* 🤖 Auto format destination-gcs code [skip ci]

* Automated Commit - Formatting Changes

* 🤖 Auto format destination-bigquery code [skip ci]

* fix test

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-bigquery code [skip ci]

* 🤖 Auto format destination-gcs code [skip ci]

* asserts in dedupFinalTable

* better asserts in dedupRawTable

* [wip] test case for all data types

* 🤖 Auto format destination-gcs code [skip ci]

* 🤖 Auto format destination-bigquery code [skip ci]

* AirbyteTypeTest

* Automated Commit - Formatting Changes

* remove comments

* test chooseOneOf

* slightly better test output

* Automated Commit - Formatting Changes

* add some awful pretty print code

* more comment

* minor tweaks

* verify array/object type

* fix test

* handle deletions more correctly

* test toDialectType

* Destinations v2: better namespace handling (#27682)

* [wip] better namespace handling

* 🤖 Auto format destination-bigquery code [skip ci]

* wip also implement in gcs

* get gcs working (?)

* 🤖 Auto format destination-bigquery code [skip ci]

* remove duplicate method

* 🤖 Auto format destination-bigquery code [skip ci]

* fixed my code style settings

* make ci happy?

* 🤖 Auto format destination-bigquery code [skip ci]

* make ci happy?

* remove incorrect test

* blank line change

* initialize singleton

---------

Co-authored-by: octavia-squidington-iii <octavia-squidington-iii@users.noreply.github.com>

* reset args correctly

* Automated Commit - Formatting Changes

* more bash stuff

* parse implicit structs

* initialize singleton in more tests

* Automated Commit - Formatting Changes

* I missed this namespace handling thing

* test more schemas

* fix singular types specified in arrays

* Automated Commit - Formatting Changes

* disable test for unimplemented feature

* initialize singleton

* remove spec options; changelogs+metadata

* randomize namespace

* also bump dockerfile

* unremove namespace sanitizing in legacy mode

* ... disable the correct test

* even more unit test fixes!

* move integration test to integration tests

---------

Co-authored-by: Cynthia Yin <cynthia@airbyte.io>
Co-authored-by: Joe Bell <joseph.bell@airbyte.io>
Co-authored-by: octavia-squidington-iii <octavia-squidington-iii@users.noreply.github.com>
Co-authored-by: edgao <edgao@users.noreply.github.com>
Co-authored-by: cynthiaxyin <cynthiaxyin@users.noreply.github.com>
2023-06-29 08:44:37 -07:00
Ben Church
5b183cbb7a Bnchrch/cat/backwards fail removed prop (#27685)
* Incorrect way to do this

* Working

* Make tests pretty

* Revert "Incorrect way to do this"

This reverts commit f8e29594c1b5fa07bad805806f2571af883d27fd.

* Add backwards compatibility docs

* bump version

* format

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
2023-06-28 08:21:27 -07:00
Joe Reuter
5f05971924 Connector builder: Add documentation for unified oauth authenticator (#27061)
* add documentation

* adjust docs
2023-06-22 12:20:32 +02:00
Ben Church
9dc8bb7a19 Update documentation for support url to documentation url (#27375)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
2023-06-14 14:24:43 -05:00
Augustin
5b8200181c connectors-ci: deprecate slash test (#27200) 2023-06-14 18:19:13 +02:00
Joe Reuter
69c3a73ba9 Connector builder: Adjust documentation for incremental sync changes (#27206)
* adjust documentation

* update tutorial based on incremental sync changes

---------

Co-authored-by: lmossman <lake@airbyte.io>
2023-06-13 14:09:55 -07:00
Ben Church
a816d39223 Add icon docs (#27295)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
2023-06-12 20:51:28 -05:00
Joe Reuter
27635ba26a Low code CDK: Datetime format documentation (#27149)
* add format documentation

* fix

* improve
2023-06-12 17:39:12 -07:00
Lake Mossman
ca41f23570 Update connector builder docs for auto-import schema change (#27218)
* adjust connector builder docs to account for auto-import schema

* undo formatting changes to record-processing

* undo formatting changes to tutorial

* reword
2023-06-09 12:21:27 -07:00
Joe Reuter
3e336bfcaa add documentation for new ability (#27009) 2023-06-09 12:21:38 +02:00
Ben Church
623391bfa3 Update docs (#26935)
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
2023-06-02 09:54:48 -07:00
Tyler B
001abdf494 Correct links at bottom of tutorial page (#26910)
* Correct links at bottom of tutorial

The current links take you to `https://docs.airbyte.com/connector-development/connector-builder-ui/tutorial/record-processing` which is a 404. 
I think I changed it correctly to redirect to `https://docs.airbyte.com/connector-development/connector-builder-ui/record-processing` which is the correct url by excluding `/tutorial`

* Update tutorial.mdx

* absolute path

---------

Co-authored-by: Joe Reuter <joe@airbyte.io>
2023-06-01 17:57:46 +02:00
Lake Mossman
1b171e0ead update docs for step (#26809) 2023-05-31 14:38:37 -07:00
Ben Church
1dabc6208e Metadata: add tags field (#26320)
* Add optional tags field

* Remove duplicate icons

* Add programming tags to all

* Update docs

* supportUrl -> documentationUrl

* Ensure one language tag is applied

* Add keyvalue check

* rebase and fix tests

* Format

* Add cache buster

* Improve test

* Automated Commit - Formatting Changes

* Update error

* Fix missing tags

* Fix scaffold

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@sers.noreply.github.com>
Co-authored-by: bnchrch <bnchrch@users.noreply.github.com>
2023-05-26 16:13:09 -07:00
Augustin
42f3d4559f connectors-ci: re-upload spec if image exists + fix pre-release (#26604)
* connectors-ci: fix pre-release

* fix edge case

* Automated Change

---------

Co-authored-by: alafanechere <alafanechere@users.noreply.github.com>
2023-05-25 21:53:51 +02:00
Marcos Marx
87f277f41b remove old testing docs (#26605) 2023-05-25 15:22:52 -03:00
Joe Reuter
5b5fa23607 adjust documentation (#26036) 2023-05-24 04:36:58 -04:00
Augustin
80032f73f9 connectors-ci: deprecate slash publish (#25865) 2023-05-22 10:10:56 +02:00
Lake Mossman
e9da95ef07 add documentation about new simplify connector form fields (#24125)
* add documentation about new simplify connector form fields

* pr comments

* Update docs/connector-development/connector-specification-reference.md

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

* fix description

* fix merge

* more in depth ordering description

* fix documentation after change to optional field ordering behavior

* add note about auto-opening collapsed sections

* Reword

* fix wording

---------

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2023-05-18 10:26:21 -07:00
Ben Church
8557eb96d9 Remove autobump from /publish (#26166) 2023-05-16 18:44:37 -05:00
Marcos Marx
d0fa40c307 Update Troubleshooting documentation (#26048)
* remove unused docs and create troubleshooting main page

* add desc

* update our troubleshooting page

* add premium support mention

* update link to daily oh

* add notes of premium support in other pages

* remove ref in local deployment and sidebar
2023-05-15 16:52:08 -03:00
Marcos Marx
611d954965 Docs: add schema stream reference instructions (#25936)
* add schema refenrence docs

* Update schema-reference.md

* Update schema-reference.md
2023-05-11 19:40:39 -04:00
Ben Church
f2944dd59b Docs: Metadata add docs ahead of merge (#26015)
* Cherry pick docs files from  metadata-service/feat-remove-definitions

* Add link to checklist

* Fix docasaurus error
2023-05-11 16:10:13 -05:00
Joe Reuter
6e8de6c615 prepare docs for open beta (#25959) 2023-05-11 14:50:52 -04:00
Evan Tahler
090c1a9701 help-connector-development > using-the-cdk (#25902) 2023-05-09 08:45:06 -07:00
Joe Reuter
bb6a40c285 small docs adjustments (#25879) 2023-05-09 16:41:28 +02:00
Sherif A. Nada
9959e8d437 docs: low-code is now in beta 2023-05-02 17:11:14 -07:00
Sherif A. Nada
ab688a77a8 Docs: change warning section to a note section 2023-05-02 16:56:19 -07:00
Deke Li
ad7c227c1b fix doc naming for DatetimeCursorBased to DatetimeBasedCursor (#25764) 2023-05-02 23:46:03 +00:00
Joe Reuter
2552d93ef4 Connector builder documentation: Add example connectors (#25563)
* authentication documentation

* some fixes

* fix broken link

* remove session token auth

* review comments

* first version of tutorial

* Revert "first version of tutorial"

This reverts commit bbdeb997f2.

* first version of tutorial

* review comments

* improvements

* partitioning documentation

* incremental sync

* review comments

* improvements

* record processing doc

* improvements

* error handler connector builder ui documentation

* add missing link

* overview page

* add examples

* add something

---------

Co-authored-by: brianjlai <brian.lai@airbyte.io>
2023-05-02 20:10:57 +02:00
Joe Reuter
f5c871c33f Connector builder documentation: Add recordings to concept pages (#25628)
* add recordings

* review comments
2023-04-30 07:33:53 +02:00
Alexandre Girard
a4b518fb30 low-code: Update docs on incremental syncs (#25696)
* Update docs

* Automated Commit - Formatting Changes

* update

---------

Co-authored-by: girarda <girarda@users.noreply.github.com>
2023-04-28 18:55:07 -07:00
Joe Reuter
1ab5f91f48 doc fixes (#25645) 2023-04-27 21:38:32 +02:00
Joe Reuter
fe5e438196 Connector builder documentation: Add sections about custom params (#25546)
* add sections about custom params

* Update docs/connector-development/connector-builder-ui/incremental-sync.md

Co-authored-by: Lake Mossman <lake@airbyte.io>

* Update docs/connector-development/connector-builder-ui/incremental-sync.md

Co-authored-by: Lake Mossman <lake@airbyte.io>

---------

Co-authored-by: Lake Mossman <lake@airbyte.io>
2023-04-27 18:19:47 +02:00
Joe Reuter
5ec81cc8d1 Connector builder: Restructure documentation (#25353)
* authentication documentation

* some fixes

* fix broken link

* remove session token auth

* review comments

* first version of tutorial

* Revert "first version of tutorial"

This reverts commit bbdeb997f2.

* first version of tutorial

* review comments

* improvements

* partitioning documentation

* incremental sync

* review comments

* improvements

* record processing doc

* improvements

* error handler connector builder ui documentation

* add missing link

* overview page

* mention current limitation

---------

Co-authored-by: brianjlai <brian.lai@airbyte.io>
2023-04-27 12:32:26 +02:00
Joe Reuter
7304de89f5 Connector builder documentation: Adjust cursor pagination section (#25416)
* adjust

* review comments
2023-04-27 11:14:23 +02:00
Lake Mossman
2500f4cf68 fix transformation docs typo (#25530) 2023-04-26 13:48:00 -07:00
Joe Reuter
e96fc22d6f Connector builder documentation: Auto-generate yaml reference and link up in fitting places (#25428)
* auto-generate yaml reference and link up

* Update description

* Add examples

* format

* update

* update

* add description for params

* Update declarative_component_schema.yaml

* render type and examples for interpolation variables

* fix schema bug

* Regenerate yarn lock file

---------

Co-authored-by: Alexandre Girard <alexandre@airbyte.io>
2023-04-26 16:08:35 +02:00
Joe Reuter
b894afc845 Connector builder documentation: Add recordings to tutorial (#25488)
* add recordings to tutorial

* review comments
2023-04-26 13:48:46 +02:00
Joe Reuter
7ae2007271 add another case (#25473) 2023-04-26 09:25:45 +02:00
Brian Lai
e77850b36c Connector Builder UI Error Handler Documentation (#25351)
* error handler connector builder ui documentation

* add missing link

* address pr feedback

* touch up and a little more PR feedback

---------

Co-authored-by: Joe Reuter <joe@airbyte.io>
2023-04-26 00:43:36 -04:00
Joe Reuter
8c4db0bb29 Connector builder docs: Adjust stream_slice variable usage (#25389)
* adjust stream_slice variable usage

* rename
2023-04-24 08:41:23 +02:00
Cynthia Yin
fd849d4a0c small docs fixes (#25377) 2023-04-21 10:49:57 -07:00
Joe Reuter
62f3c0bfe0 Conenctor builder: Record processing page (#25267)
* authentication documentation

* some fixes

* fix broken link

* remove session token auth

* review comments

* first version of tutorial

* Revert "first version of tutorial"

This reverts commit bbdeb997f2.

* first version of tutorial

* review comments

* improvements

* partitioning documentation

* review comments

* improvements

* record processing doc

* review comments
2023-04-21 16:20:18 +02:00