Incorrect full join result with row_number in CTE
-------------------------------------------------

                 Key: CORE-4091
                 URL: http://tracker.firebirdsql.org/browse/CORE-4091
             Project: Firebird Core
          Issue Type: Bug
          Components: Engine
    Affects Versions: 3.0 Alpha 1
         Environment: Firebird-3.0.0.30287-0_x64
Windows 7 64 bit
            Reporter: Alex Bekhtin


with A as (
    select t.RDB$TYPE, ROW_NUMBER() over (order by t.rdb$db_key) as RN from 
rdb$types t
),
B as (
    select f.rdb$format, ROW_NUMBER() over (order by f.rdb$db_key) as RN from 
rdb$formats f
)
select * from A
full outer JOIN B ON A.RN = B.RN
--------------
Query return 5 records. Must be 234.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to