Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6947

Simple query runs forever

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.13.1.1
    • None
    • SQL
    • None
    • Normal

    Description

      select 
        X1.A as A1, 
        X2.A as A2
      from (
        select *
        from (
          select 1 as A
          from SYSIBM.SYSDUMMY1
        ) x
        union all 
        select *
        from (
          select 2 as A
          from SYSIBM.SYSDUMMY1
        ) x
      ) as X1
        join (
          select *
          from (
            select 2 as A
            from SYSIBM.SYSDUMMY1
          ) x
          union all 
          select *
          from (
            select 3 as A
            from SYSIBM.SYSDUMMY1
          ) x
        ) as X2
        on X1.A = X2.A
      order by A1
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            lukas.eder Lukas Eder
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: