Troubleshooting
Workflow Deployment Error
If there were any errors during the workflow deployment process, the Ingestion Pipeline Entity will still be created, but no workflow will be present in the Ingestion container.- You can then Edit the Ingestion Pipeline and Deploy it again.
- From the Connection tab, you can also Edit the Service if needed.
Connector Debug Troubleshooting
This section provides instructions to help resolve common issues encountered during connector setup and metadata ingestion in Collate. Below are some of the most frequently observed troubleshooting scenarios.How to Enable Debug Logging for Any Ingestion
To enable debug logging for any ingestion workflow in Collate:- Navigate to Connections Go to Connections > Service Type (e.g., Database) in the Collate UI.
- Select a Service Choose the specific service for which you want to enable debug logging.
- Access Agents Tab Go to the Agents tab and click the three-dot menu on the right-hand side of the ingestion type, and select Edit.
- Enable Debug Logging In the configuration dialog, enable the Debug Log option and click Next.
- Schedule and Submit Configure the schedule if needed and click Submit to apply the changes.
Permission Issues
If you encounter permission-related errors during connector setup or metadata ingestion, ensure that all the prerequisites and access configurations specified for each connector are properly implemented. Refer to the connector-specific documentation to verify the required permissions.Lineage Workflow Succeeds but No Lineage Appears
SAP HANA lineage can run two independent passes. The SQL pass reads view definitions for column-level lineage and query history for table-to-table lineage. The classic-repository pass runs only when View Lineage is enabled, and it reads_SYS_REPO only on on-premises and HANA Express instances. The plan-cache diagnostics below apply when Query Lineage is enabled and SYS.M_SQL_PLAN_CACHE is the query source.
If the query-history part of the SQL pass can’t read SYS.M_SQL_PLAN_CACHE, the workflow fails. For example, the ingestion user might lack access to the view. The underlying SAP HANA error appears after Cause:. Check that error and the user’s access to the view. Missing CATALOG READ has a different effect. The query succeeds but returns only the connected user’s statements. For more information, see The Ingestion User Cannot See Queries From Other Users.
Otherwise, the run log ends with one of these, depending on configuration and what the SQL pass actually read:
- Both view and query lineage are disabled (
processViewLineageandprocessQueryLineage): “No lineage was created because both View Lineage and Query Lineage are turned off.” Enable at least one on the ingestion pipeline. - Statements were read but none resolved: “No lineage was created from N analysed queries…” Check the run log for per-query errors because some statements might have failed during parsing. If none did, confirm that their endpoints were ingested. The warning can also include statements handled by an earlier lineage run.
- Query lineage is on, reading a query log file, and it returned nothing: check that the configured file is readable and actually holds the statements you expect.
- Query lineage is on, reading
SYS.M_SQL_PLAN_CACHE, and it returned nothing: check whether the ingestion user hasCATALOG READ. - Only view lineage is enabled: only view definitions were read. Confirm metadata ingestion has run and the views you expect are in scope.
Metadata Ingestion Has Not Run or Been Refreshed
Collate resolves lineage endpoints from view definitions and parsed queries against the tables and views already registered. On a new service, running the lineage workflow before the metadata workflow gives it nothing to connect. Existing services also need refreshed metadata after an upgrade introduces this lineage implementation so that current view definitions are available. Resolution:- Run or rerun metadata ingestion.
- Confirm the tables and views appear in Collate.
- Run the lineage workflow.
The Ingestion User Cannot See Queries From Other Users
The connector parses table-to-table lineage fromSYS.M_SQL_PLAN_CACHE. Without the CATALOG READ privilege, SAP HANA filters that view down to the connected user’s own statements, so the connector only ever sees queries the ingestion user itself ran. It reports success because the query completes normally and legitimately returns nothing.
CATALOG READ is a system privilege. It lifts row filtering from the monitoring and system views the user can reach, not only the plan cache. Grant it through a dedicated, reviewed role and only when query lineage reads the plan cache.
Resolution:
-
Grant the privilege to the ingestion user or its role:
- Rerun the lineage workflow.
- Check the reported edge count in the logs.
The Statements You Expect Use Data Definition Language
SYS.M_SQL_PLAN_CACHE holds execution plans, so data definition language (DDL) statements never enter it. A table created and populated by CREATE TABLE ... AS SELECT has no recoverable upstream when the plan cache is the query source.
Choose one of these resolutions:
- Populate the target with
INSERT INTO ... SELECTso the statement is cached and parsed. - Add the edge manually in Collate.
- Configure
queryLogFilePathto read statements from a file. This path doesn’t go through the plan cache, and the shared query parser recognizesCREATE TABLE ... AS SELECTthere.
The Statements Have Aged Out
The plan cache is a cache. HANA evicts entries under memory pressure, so statements that ran long before the workflow might already be gone. The lookback window has no effect on entries that no longer exist. Resolution: Schedule the lineage workflow frequently enough that it sees statements while they are still cached. If the workflow reaches the configured Result Limit, increase that limit so older cached statements are included._SYS_REPO Not Present
On SAP HANA Cloud the classic-repository pass logs:
_SYS_REPO belongs to the classic HANA repository. SAP never carried it into HANA Cloud, so the classic-repository pass has no Calculation, Analytic, or Attribute views to read there.
This has no bearing on views built through a SAP HANA Deployment Infrastructure (HDI) container. Those aren’t read from _SYS_REPO or _SYS_BIC on any HANA edition: HANA deploys an HDI container’s runtime objects into a schema generated for that container, and neither lineage pass reads that schema by name. Grant SELECT on the container’s schema so its views are visible during metadata ingestion, then check the lineage run log to see whether the SQL pass covered them. That depends on whether the view exposes a SQL-parseable definition, the same requirement as any other view.
The connector logs this only when it can’t find the object. On an on-premises or HANA Express instance, the schema should exist. If you see this message there, check that _SYS_REPO.ACTIVE_OBJECT is present rather than assuming a permissions problem.
A missing privilege behaves differently: it’s reported as a workflow failure rather than this message. Apply both grants when you see that error: