You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "A B (JIRA)" <ji...@apache.org> on 2007/05/25 00:04:28 UTC

[jira] Commented: (DERBY-2526) Wrong query results due to column ordering in UNION view

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

A B commented on DERBY-2526:
----------------------------

> Now I'm thinking I should investigate the transitive closure code more carefully, to see
> if there is a way to revise it so that it isn't so sensitive to the column re-ordering ...

Hi Bryan, I noticed that it's been a while since you posted anything to this issue.  Are you still actively looking into this one?  Have you had any luck with your attempts to revise the transitive closure code?

> Wrong query results due to column ordering in UNION view
> --------------------------------------------------------
>
>                 Key: DERBY-2526
>                 URL: https://issues.apache.org/jira/browse/DERBY-2526
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.0.2.1, 10.1.3.1, 10.2.2.0, 10.3.0.0
>            Reporter: Bryan Pendleton
>         Assigned To: Bryan Pendleton
>         Attachments: badQuery.log, derby-2526.sql, DistinctTestNotes.txt, firstTryPatch.diff, goodQuery.log
>
>
> I think both select statements in the attached repro script should return 1 row, but in fact the first statement returns 1 row and the second returns zero rows.
> The only difference between the two statements is that the columns in the UNION view are listed in a different order (bvw vs. bvw2).
> This seems like a bug to me; the order of the columns in the view definition shouldn't matter, should it? 
> As Army noted on the derby-dev list, the fact that this reproduces with 10.0 means that it is not caused by some of the 10.2 optimizer changes. Something else is going wrong.

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


Re: [jira] Commented: (DERBY-2526) Wrong query results due to column ordering in UNION view

Posted by Bryan Pendleton <bp...@amberpoint.com>.
 > Hi Bryan, I noticed that it's been a while since you posted
 > anything to this issue.  Are you still actively looking into this one?

Hi Army,

I haven't looked at it recently, but am still hoping to.

It'll probably be several weeks til I get back to it, though.

Are you interested in looking at this one? I'd be glad to
have you take a look at it, so if you have some time, just
re-assign it and give it a spin!

thanks,

bryan