[ 
https://issues.apache.org/jira/browse/DERBY-766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12539118
 ] 

Daniel John Debrunner commented on DERBY-766:
---------------------------------------------

I don't have a 10.1 codeline handy but this error:

java.lang.NoSuchMethodException: 
org.apache.derby.iapi.sql.execute.ResultSetFactory.getNestedLoopJoinResultSet(org.apach
e.derby.iapi.sql.execute.ResultSetFactory, 
org.apache.derby.iapi.sql.execute.NoPutResultSet, int, org.apache.derby.iapi.
sql.execute.NoPutResultSet, int, 
org.apache.derby.iapi.services.loader.GeneratedMethod, int, boolean, boolean, 
double, d 

says that it's looking for a getNestedLoopJoinResultSet() method with a 
ResultSetFactory as its first argument. I don't think any of the ResultSets 
constructors take a ResultSetFactory argument.

The error most likely is  the wrong number of arguments (one too many)  are 
being passed in to the invoke method call so that it is picking up the 
ResultSetFactory intended for another ResultSet creation.

> Improve code generation to handle 5000 unions in a select the  union test  in 
> largeCodeGen
> ------------------------------------------------------------------------------------------
>
>                 Key: DERBY-766
>                 URL: https://issues.apache.org/jira/browse/DERBY-766
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Services
>    Affects Versions: 10.2.1.6
>            Reporter: Kathey Marsden
>            Assignee: Daniel John Debrunner
>             Fix For: 10.2.1.6, 10.3.1.4
>
>         Attachments: 372692_10_1_diff.txt
>
>
> A good incremental improvement for code generation for 10.2 would be to 
> handle 5000 unions in the  largeCodeGen test.
> eg.   largeUnionSelect(con, viewName, 5000);
> should pass.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to