[Vertica Connector] NEXTVAL() sequence arguments parameterised as ? in lineage parser
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
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.
i can confirm bug is persistent in version 1.12.3