airbyte
airbyte copied to clipboard
Normalization: Revert to protocol v0
What
Downgrades main
branch to revert protocol v0 normalization changes
How
Describe the solution
Recommended reading order
-
x.java
-
y.python
π¨ User Impact π¨
Are there any breaking changes? What is the end result perceived by the user? If yes, please merge this PR with the π¨π¨ emoji so changelog authors can further highlight this if needed.
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
- [ ] Community member? Grant edit access to maintainers (instructions)
- [ ] Secrets in the connector's spec are annotated with
airbyte_secret
- [ ] Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
. - [ ] Code reviews completed
- [ ] Documentation updated
- [ ] Connector's
README.md
- [ ] Connector's
bootstrap.md
. See description and examples - [ ]
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog example - [ ]
docs/integrations/README.md
- [ ]
airbyte-integrations/builds.md
- [ ] Connector's
- [ ] PR name follows PR naming conventions
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
- [ ] Create a non-forked branch based on this PR and test the below items on it
- [ ] Build is successful
- [ ] If new credentials are required for use in CI, add them to GSM. Instructions.
- [ ]
/test connector=connectors/<name>
command is passing - [ ] New Connector version released on Dockerhub by running the
/publish
command described here - [ ] After the connector is published, connector added to connector index as described here
- [ ] Seed specs have been re-generated by building the platform and committing the changes to the seed spec files, as described here
Updating a connector
Community member or Airbyter
- [ ] Grant edit access to maintainers (instructions)
- [ ] Secrets in the connector's spec are annotated with
airbyte_secret
- [ ] Unit & integration tests added and passing. Community members, please provide proof of success locally e.g: screenshot or copy-paste unit, integration, and acceptance test output. To run acceptance tests for a Python connector, follow instructions in the README. For java connectors run
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
. - [ ] Code reviews completed
- [ ] Documentation updated
- [ ] Connector's
README.md
- [ ] Connector's
bootstrap.md
. See description and examples - [ ] Changelog updated in
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog example
- [ ] Connector's
- [ ] PR name follows PR naming conventions
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
- [ ] Create a non-forked branch based on this PR and test the below items on it
- [ ] Build is successful
- [ ] If new credentials are required for use in CI, add them to GSM. Instructions.
- [ ]
/test connector=connectors/<name>
command is passing - [ ] New Connector version released on Dockerhub and connector version bumped by running the
/publish
command described here
Connector Generator
- [ ] Issue acceptance criteria met
- [ ] PR name follows PR naming conventions
- [ ] If adding a new generator, add it to the list of scaffold modules being tested
- [ ] The generator test modules (all connectors with
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes - [ ] Documentation which references the generator is updated as needed
Affected Connector Report
NOTE β οΈ Changes in this PR affect the following connectors. Make sure to do the following as needed:
- Run integration tests
- Bump connector or module version
- Add changelog
- Publish the new version
β
Sources (0)
Connector | Version | Changelog | Publish |
---|
- See "Actionable Items" below for how to resolve warnings and errors.
β Destinations (16)
Connector | Version | Changelog | Publish |
---|---|---|---|
destination-bigquery |
1.2.13 |
β | β |
destination-bigquery-denormalized |
1.2.12 |
β | β (diff seed version) |
destination-clickhouse |
0.2.2 |
β (changelog missing) |
β |
destination-clickhouse-strict-encrypt |
0.2.2 |
π΅ (ignored) |
π΅ (ignored) |
destination-jdbc |
0.3.14 |
π΅ (ignored) |
π΅ (ignored) |
destination-mssql |
0.1.22 |
β | β |
destination-mssql-strict-encrypt |
0.1.22 |
π΅ (ignored) |
π΅ (ignored) |
destination-mysql |
0.1.20 |
β | β |
destination-mysql-strict-encrypt |
β 0.1.21 (mismatch: 0.1.20 ) |
π΅ (ignored) |
π΅ (ignored) |
destination-oracle |
0.1.19 |
β | β |
destination-oracle-strict-encrypt |
0.1.19 |
π΅ (ignored) |
π΅ (ignored) |
destination-postgres |
0.3.26 |
β | β |
destination-postgres-strict-encrypt |
0.3.26 |
π΅ (ignored) |
π΅ (ignored) |
destination-redshift |
0.3.56 |
β | β |
destination-snowflake |
0.4.47 |
β | β |
destination-tidb |
0.1.0 |
β | β |
- See "Actionable Items" below for how to resolve warnings and errors.
π Other Modules (1)
- base-normalization
Actionable Items
(click to expand)
Category | Status | Actionable Item |
---|---|---|
Version | β mismatch |
The version of the connector is different from its normal variant. Please bump the version of the connector. |
β doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
|
Changelog | β doc not found |
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug. |
β changelog missing |
There is no chnagelog for the current version of the connector. If you are the author of the current version, please add a changelog. | |
Publish | β not in seed |
The connector is not in the seed file (e.g. source_definitions.yaml ), so its publication status cannot be checked. This can be normal (e.g. some connectors are cloud-specific, and only listed in the cloud seed file). Please double-check to make sure that it is not a bug. |
β diff seed version |
The connector exists in the seed file, but the latest version is not listed there. This usually means that the latest version is not published. Please use the /publish command to publish the latest version. |
Airbyte Code Coverage
There is no coverage information present for the Files changed
Total Project Coverage | 24.51% | :x: |
---|
Platform Test Results
βββ243 filesβ Β±0βββββ243 suitesβ Β±0βββ22m 37s :stopwatch: -42s 1β663 tests Β±0ββ1β652 :heavy_check_mark: Β±0ββ11 :zzz: Β±0ββ0 :x: Β±0β 1β682 runsβ Β±0ββ1β671 :heavy_check_mark: Β±0ββ11 :zzz: Β±0ββ0 :x: Β±0β
Results for commit e54ccafb.βΒ± Comparison against base commit aa5ed6dd.
:recycle: This comment has been updated with latest results.
Kube Test Results
ββ47 filesβ Β±0ββββ47 suitesβ Β±0βββ19m 17s :stopwatch: + 10m 2s 208 tests Β±0ββ202 :heavy_check_mark: +30ββ6 :zzz: β-β30ββ0 :x: Β±0β 226 runsβ Β±0ββ220 :heavy_check_mark: +30ββ6 :zzz: β-β30ββ0 :x: Β±0β
Results for commit e54ccafb.βΒ± Comparison against base commit aa5ed6dd.
This pull request skips 3 and un-skips 33 tests.
io.airbyte.test.acceptance.ContainerOrchestratorAcceptanceTests β testCancelSyncWhenCancelledWhenWorkerIsNotRunning()
io.airbyte.test.acceptance.ContainerOrchestratorAcceptanceTests β testCancelSyncWithInterruption()
io.airbyte.test.acceptance.ContainerOrchestratorAcceptanceTests β testDowntimeDuringSync()
io.airbyte.test.acceptance.BasicAcceptanceTests β testCancelSync()
io.airbyte.test.acceptance.BasicAcceptanceTests β testCreateConnection()
io.airbyte.test.acceptance.BasicAcceptanceTests β testCreateDestination()
io.airbyte.test.acceptance.BasicAcceptanceTests β testCronSync()
io.airbyte.test.acceptance.BasicAcceptanceTests β testDeleteConnection()
io.airbyte.test.acceptance.BasicAcceptanceTests β testDestinationCheckConnection()
io.airbyte.test.acceptance.BasicAcceptanceTests β testDiscoverSourceSchema()
io.airbyte.test.acceptance.BasicAcceptanceTests β testFailedGet404()
io.airbyte.test.acceptance.BasicAcceptanceTests β testGetDestinationSpec()
io.airbyte.test.acceptance.BasicAcceptanceTests β testGetSourceSpec()
β¦
:recycle: This comment has been updated with latest results.
/test connector=bases/base-normalization
:clock2: bases/base-normalization https://github.com/airbytehq/airbyte/actions/runs/4070976155 :x: bases/base-normalization https://github.com/airbytehq/airbyte/actions/runs/4070976155 :bug: https://gradle.com/s/sgbqwprgoe7gu
Build Failed
Test summary info:
=========================== short test summary info ============================
SKIPPED [1] integration_tests/test_drop_scd_overwrite.py:56: DestinationType.ORACLE does not support incremental sync with schema change yet
SKIPPED [1] integration_tests/test_drop_scd_overwrite.py:56: DestinationType.TIDB does not support incremental sync with schema change yet
SKIPPED [3] integration_tests/test_ephemeral.py:102: ephemeral materialization isn't supported in ClickHouse yet
SKIPPED [1] integration_tests/test_ephemeral.py:59: Skipping test for column limit, because in MySQL, the max number of columns is limited by row size (8KB)
SKIPPED [1] integration_tests/test_normalization.py:82: Destinations DestinationType.CLICKHOUSE does not support nested streams
SKIPPED [1] integration_tests/test_normalization.py:144: DestinationType.CLICKHOUSE is disabled as it doesnt support schema change in incremental yet (column type changes)
SKIPPED [1] integration_tests/test_normalization.py:147: DestinationType.MSSQL is disabled as it doesnt fully support schema change in incremental yet
SKIPPED [2] integration_tests/test_normalization.py:135: DestinationType.MYSQL does not support incremental yet
SKIPPED [1] integration_tests/test_normalization.py:82: Destinations DestinationType.ORACLE does not support nested streams
SKIPPED [1] integration_tests/test_normalization.py:135: DestinationType.ORACLE does not support incremental yet
SKIPPED [1] integration_tests/test_normalization.py:144: DestinationType.SNOWFLAKE is disabled as it doesnt support schema change in incremental yet (column type changes)
SKIPPED [1] integration_tests/test_normalization.py:144: DestinationType.TIDB is disabled as it doesnt support schema change in incremental yet (column type changes)
FAILED integration_tests/test_drop_scd_overwrite.py::test_reset_scd_on_overwrite[DestinationType.REDSHIFT]
FAILED integration_tests/test_ephemeral.py::test_destination_supported_limits[DestinationType.REDSHIFT-1000]
FAILED integration_tests/test_ephemeral.py::test_destination_failure_over_limits[Redshift-1665-target lists can have at most 1664 entries]
FAILED integration_tests/test_ephemeral.py::test_empty_streams[DestinationType.REDSHIFT]
FAILED integration_tests/test_ephemeral.py::test_stream_with_1_airbyte_column[DestinationType.REDSHIFT]
FAILED integration_tests/test_normalization.py::test_normalization[DestinationType.REDSHIFT-test_nested_streams]
FAILED integration_tests/test_normalization.py::test_normalization[DestinationType.REDSHIFT-test_simple_streams]
FAILED integration_tests/test_normalization.py::test_redshift_normalization_migration
[31m============ [31m[1m8 failed[0m, [32m39 passed[0m, [33m15 skipped[0m[31m in 2886.31s (0:48:06)[0m[31m =============[0m
/test connector=connectors/destination-snowflake
:clock2: connectors/destination-snowflake https://github.com/airbytehq/airbyte/actions/runs/4071063342 :white_check_mark: connectors/destination-snowflake https://github.com/airbytehq/airbyte/actions/runs/4071063342 Python tests coverage:
Name Stmts Miss Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py 2 0 100%
normalization/transform_catalog/reserved_keywords.py 14 0 100%
normalization/transform_catalog/__init__.py 2 0 100%
normalization/destination_type.py 14 0 100%
normalization/__init__.py 4 0 100%
normalization/transform_catalog/destination_name_transformer.py 166 8 95%
normalization/transform_catalog/table_name_registry.py 174 34 80%
normalization/transform_config/transform.py 189 48 75%
normalization/transform_catalog/utils.py 51 14 73%
normalization/transform_catalog/dbt_macro.py 22 7 68%
normalization/transform_catalog/catalog_processor.py 147 80 46%
normalization/transform_catalog/transform.py 61 38 38%
normalization/transform_catalog/stream_processor.py 595 400 33%
-------------------------------------------------------------------------------------
TOTAL 1441 629 56%
Build Passed
Test summary info:
All Passed
/test connector=connectors/destination-bigquery
:clock2: connectors/destination-bigquery https://github.com/airbytehq/airbyte/actions/runs/4071357377 :white_check_mark: connectors/destination-bigquery https://github.com/airbytehq/airbyte/actions/runs/4071357377 Python tests coverage:
Name Stmts Miss Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py 2 0 100%
normalization/transform_catalog/reserved_keywords.py 14 0 100%
normalization/transform_catalog/__init__.py 2 0 100%
normalization/destination_type.py 14 0 100%
normalization/__init__.py 4 0 100%
normalization/transform_catalog/destination_name_transformer.py 166 8 95%
normalization/transform_catalog/table_name_registry.py 174 34 80%
normalization/transform_config/transform.py 189 48 75%
normalization/transform_catalog/utils.py 51 14 73%
normalization/transform_catalog/dbt_macro.py 22 7 68%
normalization/transform_catalog/catalog_processor.py 147 80 46%
normalization/transform_catalog/transform.py 61 38 38%
normalization/transform_catalog/stream_processor.py 595 400 33%
-------------------------------------------------------------------------------------
TOTAL 1441 629 56%
Build Passed
Test summary info:
All Passed