db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-2231) Materialize/optimize an invariant, non-correlated scalar subquery in the WHERE clause
Date Tue, 02 Oct 2012 16:17:08 GMT

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

Mamta A. Satoor updated DERBY-2231:
-----------------------------------

    Urgency: Normal
     Labels: derby_triage10_10  (was: )
    
> Materialize/optimize an invariant, non-correlated scalar subquery in the WHERE clause
> -------------------------------------------------------------------------------------
>
>                 Key: DERBY-2231
>                 URL: https://issues.apache.org/jira/browse/DERBY-2231
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.2.2.0
>            Reporter: Christian d'Heureuse
>              Labels: derby_triage10_10
>         Attachments: testcase1.sql
>
>
> The attached test case shows that an invariant, non-correlated scalar subquery in the
WHERE clause is not materialized/optimized.
> A scalar subquery is only allowed to return a single row with a single column. If the
subquery contains no references to outside fields, it should be replaced by a constant value,
before the main query is executed.
> see also DERBY-1733

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

Mime
View raw message