]
Steven Hawkins resolved TEIID-5019.
-----------------------------------
Resolution: Done
This occurred because the logic was only looking at the first child of the set operation.
This was corrected to look at all children.
Makedep hint using @ syntax sometimes ignored
---------------------------------------------
Key: TEIID-5019
URL:
https://issues.jboss.org/browse/TEIID-5019
Project: Teiid
Issue Type: Bug
Components: Query Engine
Reporter: Mike Higgins
Assignee: Steven Hawkins
Fix For: 10.0, 9.3.3
I’m using Teiid version 9.2.2. In some cases, using the makedep @<table> feature
results in the makedep hint being ignored.
I use this feature to apply a makedep to only one branch of a set operation, since
makedep hints are not applied when placed on the individual queries in the set operation
.
My query looks like this:
(Select bbb from ccc
Intersect
select abc.yyy from (select yyy from zzz) abc
) option makedep @abc.zzz
In the debug plan in the “GENERATE CANONICAL” section, I see:
MEDIUM [Hints] Unknown group specified in OPTION MAKEDEP/MAKENOTDEP: @abc.zzz - ignoring
hint
This only occurs if the query has no limit applied to it. If I add a limit option, it
does find the table and apply the hint correctly.