OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

[Vertica Connector] NEXTVAL() sequence arguments parameterised as ? in lineage parser

Open ioanamanole2804 opened this issue 8 months ago • 2 comments

Affected module Does it impact the UI, backend or Ingestion Framework? Ingestion Framework and UI Describe the bug A clear and concise description of what the bug is. During Vertica lineage ingestion, OpenMetadata’s lineage parser (sql_lineage.py) receives SQL queries where NEXTVAL() function arguments have been replaced with ? placeholders. This prevents sequence schema and name from being resolved as catalog objects in the lineage graph. To Reproduce

Screenshots or steps to reproduce

Screenshot + debug logs (masked) attached

Image Image

Expected behavior A clear and concise description of what you expected to happen. The lineage parser should receive the full original SQL as preserved in the query registry: NEXTVAL( 'reporting', 'REDACTED_SEQUENCE' ) Expected outcome:

  • NEXTVAL schema and sequence name resolved as catalog objects
  • Sequence visible as a node in lineage graph Version:
  • OS: [e.g. iOS]
  • Python version:
  • OpenMetadata version: 1.10.5

Additional context Add any other context about the problem here.

ioanamanole2804 avatar Mar 23 '26 10:03 ioanamanole2804

i can confirm bug is persistent in version 1.12.3

Image

ioanamanole2804 avatar Apr 03 '26 08:04 ioanamanole2804