Bug 780335 (SOA-2744) - Limit pushing can result in inconsistent xml results
Summary: Limit pushing can result in inconsistent xml results
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2744
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.ER6
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.1.0.ER7
Assignee: Steven Hawkins
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-05 17:13 UTC by Steven Hawkins
Modified: 2011-02-04 20:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-04 20:06:25 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-2744 0 None None None Never

Description Steven Hawkins 2011-01-05 17:13:59 UTC
Complexity: Low
Workaround: Workaround Exists
Workaround Description: For non-rowlimit/rowlimitexception, which are only for xml document models, affected unordered limit application can instead use an order by to force the limit to be applied at its given position.
project_key: SOA

A customer case (00393370) was using rowlimitexception and not actually triggering the exception when expected.   This is due to our logic in rulepushlimit that allows an unordered limit to be pushed through union not all, select nodes, or dup removal.  While the results may be consistent for some ordering of results there are many situations when you will get back far less results than the limit specifies.  The intent was to more broadly push the limit rather than to apply it in a fully consistent manner.  However this is problematic for situations, like the rowlimitexception logic that expect an exceptional condition to be triggered if the limit is exceeded.

The best fix would be to just not push an unordered limit in these situations, then if the more aggressive pushing is desired by a user we can look at using a hint or some other mechanism to allow the pushing.

Comment 1 Van Halbert 2011-01-05 17:14:00 UTC
Link: Added: This issue Cloned from TEIID-1422


Comment 2 Van Halbert 2011-01-05 17:14:41 UTC
Security: Added: Public


Comment 4 Steven Hawkins 2011-02-04 20:06:25 UTC
resolved in project


Note You need to log in before you can comment on or make changes to this bug.