Skip to content

Use full enquoted table name for max cursor query - #28954

Merged
Octavia The Approver (octavia-approvington) merged 3 commits into
masterfrom
2603-source-postgres-orgpostgresqlutilpsqlexception-error-relation-roboadvicescores-does-not-exist-via-sentry
Aug 2, 2023
Merged

Octavia The Approver (octavia-approvington) merged 3 commits into
masterfrom
2603-source-postgres-orgpostgresqlutilpsqlexception-error-relation-roboadvicescores-does-not-exist-via-sentry

Conversation

@rodireich

Copy link
Copy Markdown
Contributor

What

Fix max cursor query for tables containing capital letters.

@github-actions

github-actions Bot commented Aug 1, 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.
  • Connector version has been incremented in the Dockerfile and metadata.yaml according to our Semantic Versioning for Connectors guidelines
  • You've updated the connector's metadata.yaml file any other relevant changes, including a breakingChanges entry for major version bumps. See metadata.yaml docs
  • 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
  • Migration guide updated in docs/integrations/<source or destination>/<name>-migrations.md with an entry for the new version, if the version is a breaking change. See migration guide example
  • If set, you've ensured the icon is present in the platform-internal repo. (Docs)

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.

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-alloydb test report (commit dbfece1706) - ❌

⏲️ Total pipeline duration: 09mn03s

Step Result
Validate airbyte-integrations/connectors/source-alloydb/metadata.yaml ✅
Connector version semver check ✅
QA checks ✅
Build connector tar ✅
Build source-alloydb docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-alloydb:integrationTest ✅
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-alloydb test

@github-actions

github-actions Bot commented Aug 1, 2023 •

Copy link
Copy Markdown
Contributor

Coverage report for source-postgres

File Coverage [86.44%] 🍏
PostgresSource.java 87.71% 🍏
PostgresQueryUtils.java 82.93% 🍏
Total Project Coverage 70.3% 🍏

@nguyenaiden Duy Nguyen (nguyenaiden) 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.

+1. Maybe worth it for us to start using the ORM like Hibernate instead of raw SQL, especially if we're writing queries that aren't too complex.

@rodireich

Rodi Reich Zilberman (rodireich) commented Aug 1, 2023 •

Copy link
Copy Markdown
Contributor Author

/legacy-test connector=connectors/source-postgres

🕑 connectors/source-postgres https://github.com/airbytehq/airbyte/actions/runs/5733031857
✅ connectors/source-postgres https://github.com/airbytehq/airbyte/actions/runs/5733031857
No Python unittests run

Build Passed

Test summary info:

=========================== short test summary info ============================
SKIPPED [1] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/plugin.py:63: Skipping TestIncremental.test_two_sequential_reads: not found in the config.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:105: The previous and actual specifications are identical.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:628: The previous and actual discovered catalogs are identical.
SKIPPED [2] ../usr/local/lib/python3.9/site-packages/connector_acceptance_test/tests/test_core.py:725: This tests currently leads to too much failures. We need to fix the connectors at scale first.
================== 70 passed, 7 skipped in 108.72s (0:01:48) ===================

@rodireich

Rodi Reich Zilberman (rodireich) commented Aug 1, 2023 •

Copy link
Copy Markdown
Contributor Author

/legacy-test connector=connectors/source-postgres-strict-encrypt

🕑 connectors/source-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/5733032829
✅ connectors/source-postgres-strict-encrypt https://github.com/airbytehq/airbyte/actions/runs/5733032829
No Python unittests run

Build Passed

Test summary info:

All Passed

@rodireich

Copy link
Copy Markdown
Contributor Author

/approve-and-merge reason="tests passing. ci seems broken"

@octavia-approvington

Copy link
Copy Markdown
Contributor

Jerry would be proud
Spongebob

@octavia-approvington
Octavia The Approver (octavia-approvington) deleted the 2603-source-postgres-orgpostgresqlutilpsqlexception-error-relation-roboadvicescores-does-not-exist-via-sentry branch August 2, 2023 01:11
@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-postgres test report (commit dbfece1706) - ❌

⏲️ Total pipeline duration: 307mn24s

Step Result
Validate airbyte-integrations/connectors/source-postgres/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ❌
QA checks ❌
Build connector tar ✅
Build source-postgres docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-postgres:integrationTest ❌
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-postgres test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-postgres-strict-encrypt test report (commit dbfece1706) - ❌

⏲️ Total pipeline duration: 10mn14s

Step Result
Validate airbyte-integrations/connectors/source-postgres-strict-encrypt/metadata.yaml ✅
Connector version semver check ❌
QA checks ❌
Build connector tar ✅
Build source-postgres-strict-encrypt docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-postgres-strict-encrypt:integrationTest ❌
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-postgres-strict-encrypt test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-alloydb-strict-encrypt test report (commit dbfece1706) - ❌

⏲️ Total pipeline duration: 09mn19s

Step Result
Validate airbyte-integrations/connectors/source-alloydb-strict-encrypt/metadata.yaml ✅
Connector version semver check ❌
QA checks ✅
Build connector tar ✅
Build source-alloydb-strict-encrypt docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-alloydb-strict-encrypt:integrationTest ✅
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-alloydb-strict-encrypt test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-alloydb-strict-encrypt test report (commit 8b65c4268d) - ❌

⏲️ Total pipeline duration: 08mn47s

Step Result
Validate airbyte-integrations/connectors/source-alloydb-strict-encrypt/metadata.yaml ✅
Connector version semver check ✅
QA checks ❌
Build connector tar ✅
Build source-alloydb-strict-encrypt docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-alloydb-strict-encrypt:integrationTest ✅
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-alloydb-strict-encrypt test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-alloydb test report (commit 8b65c4268d) - ❌

⏲️ Total pipeline duration: 08mn19s

Step Result
Validate airbyte-integrations/connectors/source-alloydb/metadata.yaml ✅
Connector version semver check ✅
QA checks ❌
Build connector tar ✅
Build source-alloydb docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-alloydb:integrationTest ✅
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-alloydb test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-postgres-strict-encrypt test report (commit 8b65c4268d) - ❌

⏲️ Total pipeline duration: 10mn09s

Step Result
Validate airbyte-integrations/connectors/source-postgres-strict-encrypt/metadata.yaml ✅
Connector version semver check ✅
QA checks ❌
Build connector tar ✅
Build source-postgres-strict-encrypt docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-postgres-strict-encrypt:integrationTest ❌
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-postgres-strict-encrypt test

@octavia-squidington-iii

Copy link
Copy Markdown
Collaborator

source-postgres test report (commit 8b65c4268d) - ❌

⏲️ Total pipeline duration: 307mn21s

Step Result
Validate airbyte-integrations/connectors/source-postgres/metadata.yaml ✅
Connector version semver check ✅
Connector version increment check ❌
QA checks ❌
Build connector tar ✅
Build source-postgres docker image for platform linux/x86_64 ✅
./gradlew :airbyte-integrations:connectors:source-postgres:integrationTest ❌
Acceptance tests ❌

🔗 View the logs here

Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command

airbyte-ci connectors --name=source-postgres test

Ben Church (bnchrch) pushed a commit that referenced this pull request Aug 3, 2023
* Use full enquoted table name for max cursor query

* Bump versions
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.

5 participants