[jira] Commented: (DERBY-4380) Subqueries not allowed in ON clause

2010-02-02 Thread Dag H. Wanvik (JIRA)

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

Dag H. Wanvik commented on DERBY-4380:
--

Release note looks good.


> Subqueries not allowed in ON clause
> ---
>
> Key: DERBY-4380
> URL: https://issues.apache.org/jira/browse/DERBY-4380
> Project: Derby
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 10.5.3.0
>Reporter: Bernt M. Johnsen
>Assignee: Knut Anders Hatlen
> Fix For: 10.6.0.0
>
> Attachments: on_subquery.diff, on_subquery_v2.diff, 
> on_subquery_v2.stat, releaseNote.html, remove_translations.diff
>
>
> SOME is not allowed in ON-clause:
> ij> create table t1 (i integer);
> 0 rows inserted/updated/deleted
> ij> create table t2 (i integer);
> 0 rows inserted/updated/deleted
> ij> create table t3 (i integer);
> 0 rows inserted/updated/deleted
> ij> insert into t1 values (1);
> 1 row inserted/updated/deleted
> ij> insert into t2 values (2);
> 1 row inserted/updated/deleted
> ij> insert into t3 values 2,3,4;
> 3 rows inserted/updated/deleted
> ij> select * from t1 where t1.i = some (select i from t3);
> I  
> ---
> 0 rows selected
> ij> select * from t1 inner join t2 on  t1.i = some (select i from t3);
> ERROR 42972: An ON clause associated with a JOIN operator is not valid.
> ij> 

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



[jira] Commented: (DERBY-4380) Subqueries not allowed in ON clause

2009-12-14 Thread Knut Anders Hatlen (JIRA)

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

Knut Anders Hatlen commented on DERBY-4380:
---

All the regression tests ran cleanly with the patch that removed the translated 
messages.
Committed revision 890364.

> Subqueries not allowed in ON clause
> ---
>
> Key: DERBY-4380
> URL: https://issues.apache.org/jira/browse/DERBY-4380
> Project: Derby
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 10.5.3.0
>Reporter: Bernt M. Johnsen
>Assignee: Knut Anders Hatlen
> Fix For: 10.6.0.0
>
> Attachments: on_subquery.diff, on_subquery_v2.diff, 
> on_subquery_v2.stat, remove_translations.diff
>
>
> SOME is not allowed in ON-clause:
> ij> create table t1 (i integer);
> 0 rows inserted/updated/deleted
> ij> create table t2 (i integer);
> 0 rows inserted/updated/deleted
> ij> create table t3 (i integer);
> 0 rows inserted/updated/deleted
> ij> insert into t1 values (1);
> 1 row inserted/updated/deleted
> ij> insert into t2 values (2);
> 1 row inserted/updated/deleted
> ij> insert into t3 values 2,3,4;
> 3 rows inserted/updated/deleted
> ij> select * from t1 where t1.i = some (select i from t3);
> I  
> ---
> 0 rows selected
> ij> select * from t1 inner join t2 on  t1.i = some (select i from t3);
> ERROR 42972: An ON clause associated with a JOIN operator is not valid.
> ij> 

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



[jira] Commented: (DERBY-4380) Subqueries not allowed in ON clause

2009-11-17 Thread Bryan Pendleton (JIRA)

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

Bryan Pendleton commented on DERBY-4380:


I think that all the behavior changes that you describe are improvements, so no 
complaints from me for changing them!



> Subqueries not allowed in ON clause
> ---
>
> Key: DERBY-4380
> URL: https://issues.apache.org/jira/browse/DERBY-4380
> Project: Derby
>  Issue Type: Improvement
>  Components: SQL
>Reporter: Bernt M. Johnsen
>Assignee: Knut Anders Hatlen
> Attachments: on_subquery.diff, on_subquery_v2.diff, 
> on_subquery_v2.stat
>
>
> SOME is not allowed in ON-clause:
> ij> create table t1 (i integer);
> 0 rows inserted/updated/deleted
> ij> create table t2 (i integer);
> 0 rows inserted/updated/deleted
> ij> create table t3 (i integer);
> 0 rows inserted/updated/deleted
> ij> insert into t1 values (1);
> 1 row inserted/updated/deleted
> ij> insert into t2 values (2);
> 1 row inserted/updated/deleted
> ij> insert into t3 values 2,3,4;
> 3 rows inserted/updated/deleted
> ij> select * from t1 where t1.i = some (select i from t3);
> I  
> ---
> 0 rows selected
> ij> select * from t1 inner join t2 on  t1.i = some (select i from t3);
> ERROR 42972: An ON clause associated with a JOIN operator is not valid.
> ij> 

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