Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBM DB2 Failure to connect #9657

Closed
vdl-vciriza opened this issue Jan 9, 2023 · 1 comment
Closed

IBM DB2 Failure to connect #9657

vdl-vciriza opened this issue Jan 9, 2023 · 1 comment

Comments

@vdl-vciriza
Copy link

Affected module
Affects Ingestion of DB2 databases

Describe the bug
Whenever launching a connection test or an ingestion to an IBM DB2 db we get a failure to connect:

Failed to test connection due to {"error": "Connection error from [Engine(db2+ibm_db://usrread:@10.0.21.16:50000/pttttt)]: Unknown error connecting with Engine(db2+ibm_db://zzzuser:@XX.XX.XX.XX:50000/YYYY): (ibm_db_dbi.ProgrammingError) ibm_db_dbi::ProgrammingError: SQLNumResultCols failed: [IBM][CLI Driver][DB2/NT64] SQL0104N An unexpected token "END-OF-STATEMENT" was found following "2.1.2"} / SELECT 42". Expected tokens may include: "<table_expr>". SQLSTATE=42601 SQLCODE=-104\n[SQL: / {"app": "OpenMetadata", "version": "0.12.1.2"} */\nSELECT 42]\n(Background on this error at: https://sqlalche.me/e/14/f405)."}

To Reproduce

Configure a DB2 connection and Test Connect

Expected behavior
Ingestion of metadata from DB2

Version:

  • OS: IBM DB2 running on Windows
  • Python version: 3.9 on openmetadata ingestion server (docker)
  • OpenMetadata version: 0.12.1
  • OpenMetadata Ingestion package version: `openmetadata-ingestion[docker]==0.12.1 on which https://pypi.org/project/ibm-db-sa/ was installed manually on airflow python local environment

Additional context
Python IBM DB2 support for SQL alchemy installed manually

@TeddyCr
Copy link
Contributor

TeddyCr commented Jan 31, 2023

@vdl-vciriza can you upgrade to the latest version. This was fixed here #6928.

Closing this issue as fixed

@TeddyCr TeddyCr closed this as completed Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants