[ 
https://issues.apache.org/jira/browse/DERBY-6036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas updated DERBY-6036:
---------------------------------

    Attachment: derby-6036-01-aa-testForRestrictionPushing.diff

Attaching derby-6036-01-aa-testForRestrictionPushing.diff. This adds a test 
case to verify that restrictions are passed through the view but not 
projections. Committed at subversion revision 1430957.

When we address this issue, we should adjust RestrictedVTITest.test_12_6036() 
to verify that projections are passed through also.


Touches the following file:

M       
java/testing/org/apache/derbyTesting/functionTests/tests/lang/RestrictedVTITest.java

                
> If you wrap a SELECT * view around a table, all of the columns are read from 
> the base row even when you SELECT only a subset of the view columns.
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6036
>                 URL: https://issues.apache.org/jira/browse/DERBY-6036
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.10.0.0
>            Reporter: Rick Hillegas
>         Attachments: derby-6036-01-aa-testForRestrictionPushing.diff, 
> derby-6036.sql, derbyAST.xml
>
>
> This also affects SELECTs from views wrapping RestrictedVTIs. Restrictions 
> are pushed into a restricted VTI if you wrap it in a view. However, 
> projections are not. I will attach a script showing this problem.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to