[ 
https://issues.apache.org/jira/browse/DERBY-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649846#action_12649846
 ] 

dagw edited comment on DERBY-3270 at 11/21/08 3:24 PM:
----------------------------------------------------------------

Here is a patch suggestion (derby-3270-dhw) that makes ViewsTest and the lang 
suite run ok. Haven't run all regressions yet. Could this be a reasonable 
solution? It basically takes note of the 
compilation schema of the view when it is being expanded and sets it as current 
compilation schema when expressions in the subquery are being bound, too..



      was (Author: dagw):
    Here is a patch suggestion (derby-3270-dhw) that makes ViewsTest and the 
lang suite run ok. Haven't run all regressions yet. Could this be a reasonable 
solution? It basically takes note of the 
compilation schema of the view when it is being expanded and sets it as current 
compilation schema expressions are being bound, too..


  
> Delayed (on-demand) creation of current user schema makes select from view 
> belonging to other schema fail.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3270
>                 URL: https://issues.apache.org/jira/browse/DERBY-3270
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.3.1.4
>            Reporter: Dag H. Wanvik
>            Assignee: Kathey Marsden
>            Priority: Minor
>         Attachments: derby-3270-dhw.diff, derby-3270-dhw.stat, 
> derby-3270_diff.txt, Main.java
>
>
> The enclosed repro fails with error 42Y07 'Schema BILL does not exist', even 
> though
> the query does not reference that schema; it selects from joe.myview.

-- 
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