-
1. Re: ConnectorWorkItem gets wrong result from CommandContext.getReusableExecution()
markaddleman Feb 7, 2013 2:45 PM (in response to markaddleman)I should also point out that securityContext.getPartIdentifier() returns "0" for both the reusable execution and the non-reusable execution. I'm not sure how this matches up to the plan (if it does)
-
2. Re: ConnectorWorkItem gets wrong result from CommandContext.getReusableExecution()
markaddleman Feb 7, 2013 2:46 PM (in response to markaddleman)(I'm too quick with the "reply" button today)
One more thing: We're working on a test case but having some difficulty.
-
3. Re: ConnectorWorkItem gets wrong result from CommandContext.getReusableExecution()
shawkins Feb 7, 2013 3:41 PM (in response to markaddleman)A similar situation is: https://issues.jboss.org/browse/TEIID-2322
Here there may be an redundant id assignment - although that shouldn't generally be happening. If you do get a test case I can get a specific fix quite quickly.
Steve
-
4. Re: ConnectorWorkItem gets wrong result from CommandContext.getReusableExecution()
markaddleman Feb 7, 2013 4:41 PM (in response to shawkins)Thanks. We're working on a test case.
As an aside, I notice that the planner joins with the stored proc multiple times. I assume this is due to an assumption that the stored proc can return different data. Is there metadata to inform the planner that the stored proc is a pure function? Is that what Procedure.setFunction() does?
-
5. Re: ConnectorWorkItem gets wrong result from CommandContext.getReusableExecution()
shawkins Feb 8, 2013 1:37 PM (in response to markaddleman)The other topics are continued at https://community.jboss.org/message/796815
-
6. Re: ConnectorWorkItem gets wrong result from CommandContext.getReusableExecution()
markaddleman Feb 11, 2013 2:11 PM (in response to markaddleman)Test case attached to TEIID-2391