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

Invalid column name found in table constraint for DB2 ingestion #18140

Closed
Prajwal214 opened this issue Oct 7, 2024 · 0 comments · Fixed by #19099
Closed

Invalid column name found in table constraint for DB2 ingestion #18140

Prajwal214 opened this issue Oct 7, 2024 · 0 comments · Fixed by #19099
Assignees
Labels
bug Something isn't working Ingestion

Comments

@Prajwal214
Copy link
Contributor

Affected module
Does it impact the UI, backend or Ingestion Framework? -- Ingestion

Describe the bug
A clear and concise description of what the bug is.
-- When using the inspector.get_unique_constraints() function to retrieve unique constraints for a DB2 table, the function returns columns that do not exist in the table. Specifically, the function returns a prjid column that is not listed in the actual table columns returned by inspector.get_columns().

To Reproduce

Screenshots or steps to reproduce

  1. Use the inspector.get_unique_constraints() method to retrieve unique constraints for a DB2 table.
  2. Compare the columns listed in the unique constraints against the actual columns retrieved by inspector.get_columns().
  3. Observe that the inspector.get_unique_constraints() returns columns like prjid that do not exist in the table.

Expected behavior
A clear and concise description of what you expected to happen.

Version:

  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: [e.g. 0.8] OM v1.5.5
  • OpenMetadata Ingestion package version: [e.g. openmetadata-ingestion[docker]==XYZ] v.1.5.5

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Ingestion
Projects
Status: Integration
Development

Successfully merging a pull request may close this issue.

2 participants