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

Mamta A. Satoor commented on DERBY-766:
---------------------------------------

Actually, Kathey, if you look at the changes that went in as commit 372692, you 
will notice that there was following change in 
db/derby/code/trunk/java/engine/org/apache/derby/impl/sql/compile/JoinNode.java.
        
protected int getNumJoinArguments()
       {
-               return 13;
+               return 12;
       }

But since the current 10.1 codeline already has getNumJoinArguments at 12, the 
number of arguments never got decremented when we merged 372692 from trunk into 
10.1 and that is why we saw the mismatch in number of arguments. Hope this 
explains why the merge seem to go through but the test case failed.


> 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