Informix Error -26547: Query does not contain an equality join from the data mart definition and none of the columns in the equality join from the data mart definition have a unique index
Cause and resolution
Query does not contain an equality join from the data mart definition and none of the columns in the equality join from the data mart definition have a unique index
This query was not accelerated because it does not contain an equality join that is present in the data mart definition and none of the columns in the equality join of the data mart definition have a unique index. If a reference in the data mart definition is n:m, then this reference needs to be reflected by an equality join in the query.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26547 fires when a query isn't accelerated because it omits an n:m equality join from the data mart definition — per the official guidance.
- The query doesn't reflect a data mart n:m reference's equality join, and none of that join's columns has a unique index, per the official guidance — the direct, only cause; an n:m data mart reference must be reflected by an equality join in the query.
Solutions / Resolution
- Add the missing equality join to the query, per the official guidance, to reflect the n:m reference.
Examples
N/A
No specific triggering statement is documented beyond an omitted n:m data-mart join.
Diagnostic Checks
- Check the data mart definition for n:m references, and confirm each is reflected by an equality join in the query.
Related Errors / Related Topics
- -26543 — "Query does not contain an equality join from the data mart definition and none of the columns in the equality join has a unique index" The closely related general form of this restriction.
- -26544 — "Query does not contain a table from the data mart definition and there is no unique index defined on that table" A related data-mart-matching restriction, on a missing table rather than a missing join.
- -26546 — "Query contains equality joins that are not present in the data mart definition" The mirror-image restriction, on extra joins rather than a missing n:m join.
The query omitted an n:m equality join defined in the data mart — add it to the query.