Skip to content

Destination Mssql: install normalizatoin - #27034

Merged
Edward Gao (edgao) merged 3 commits into
masterfrom
edgao/normalization/mssql
Jun 6, 2023
Merged

Edward Gao (edgao) merged 3 commits into
masterfrom
edgao/normalization/mssql

Conversation

@edgao

@edgao Edward Gao (edgao) commented Jun 5, 2023 •

Copy link
Copy Markdown
Contributor

closes #25496

strict encrypt test failure:

MssqlStrictEncryptDestinationAcceptanceTest > testIncrementalDedupeSync() FAILED
    java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because "this.normalizationIntegrationType" is null

🤷

@github-actions

github-actions Bot commented Jun 5, 2023 •

Copy link
Copy Markdown
Contributor

Before Merging a Connector Pull Request

Wow! What a great pull request you have here! 🎉

To merge this PR, ensure the following has been done/considered for each connector added or updated:

  • PR name follows PR naming conventions
  • Breaking changes are considered. If a Breaking Change is being introduced, ensure an Airbyte engineer has created a Breaking Change Plan and you've followed all steps in the Breaking Changes Checklist
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • Secrets in the connector's spec are annotated with airbyte_secret
  • All documentation files are up to date. (README.md, bootstrap.md, docs.md, etc...)
  • Changelog updated in docs/integrations/<source or destination>/<name>.md with an entry for the new version. See changelog example
  • You, or an Airbyter, have run /test successfully on this PR - or on a non-forked branch
  • You've updated the connector's metadata.yaml file (new!)

If the checklist is complete, but the CI check is failing,

  1. Check for hidden checklists in your PR description

  2. Toggle the github label checklist-action-run on/off to re-run the checklist CI.

@edgao

Edward Gao (edgao) commented Jun 5, 2023 •

Copy link
Copy Markdown
Contributor Author

/test connector=connectors/destination-mssql

🕑 connectors/destination-mssql https://github.com/airbytehq/airbyte/actions/runs/5181162373
✅ connectors/destination-mssql https://github.com/airbytehq/airbyte/actions/runs/5181162373
Python tests coverage:

Name                                                              Stmts   Miss  Cover
-------------------------------------------------------------------------------------
normalization/transform_config/__init__.py                            2      0   100%
normalization/transform_catalog/reserved_keywords.py                 15      0   100%
normalization/transform_catalog/__init__.py                           2      0   100%
normalization/destination_type.py                                    18      0   100%
normalization/__init__.py                                             4      0   100%
normalization/transform_catalog/destination_name_transformer.py     171     10    94%
normalization/transform_catalog/table_name_registry.py              174     34    80%
normalization/transform_config/transform.py                         195     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                         65     39    40%
normalization/transform_catalog/stream_processor.py                 603    407    33%
-------------------------------------------------------------------------------------
TOTAL                                                              1469    639    57%

Build Passed

Test summary info:

All Passed

@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the area/documentation Improvements or additions to documentation label Jun 5, 2023
@github-actions

github-actions Bot commented Jun 5, 2023 •

Copy link
Copy Markdown
Contributor

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 (2)

Connector Version Changelog Publish
destination-mssql 0.1.24 ✅ ❌
(diff seed version)
destination-mssql-strict-encrypt 0.1.24 🔵
(ignored)
🔵
(ignored)
  • 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 cloud or oss registry, 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 you have added a metadata.yaml file and the expected registries are enabled.

@edgao

Edward Gao (edgao) commented Jun 5, 2023 •

Copy link
Copy Markdown
Contributor Author

/test connector=connectors/destination-mssql-strict-encrypt

🕑 connectors/destination-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/5182147810
❌ connectors/destination-mssql-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/5182147810
🐛 https://gradle.com/s/qov7k7nf45qdu

Build Failed

Test summary info:

Could not find result summary

@edgao
Edward Gao (edgao) marked this pull request as ready for review June 5, 2023 21:43
@edgao
Edward Gao (edgao) requested a review from a team as a code owner June 5, 2023 21:43

@evantahler Evan Tahler (evantahler) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, assuming the test is failing for the same reason on master

@@ -142,6 +143,7 @@ Using this feature requires additional configuration, when creating the source.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have 2 changelogs? They should be the same... Ugh.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah these changelogs are wildly different. Must have been a different time.... 😓
image

Comment thread docs/integrations/destinations/mssql.md Resolved
@edgao

Copy link
Copy Markdown
Contributor Author

good call, triggered action here https://github.com/airbytehq/airbyte/actions/runs/5182958524

@edgao

Copy link
Copy Markdown
Contributor Author

action still in-flight, but already seeing the same error. Checking the /test checkbox even though tests are technically faling.
image

@edgao
Edward Gao (edgao) enabled auto-merge (squash) June 5, 2023 23:55
@edgao
Edward Gao (edgao) merged commit bd22b25 into master Jun 6, 2023
@edgao
Edward Gao (edgao) deleted the edgao/normalization/mssql branch June 6, 2023 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement in-destination normalization for mssql

3 participants