Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-18665

Sql. subquery with ORDER BY is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

      The following query is not supported:

      SELECT i, (WITH i2 AS (SELECT i+i1.i FROM integers ORDER BY 1 LIMIT 1 OFFSET 1) SELECT * FROM i2) AS j FROM integers i1 ORDER BY i;
      
      i	j
      1	3
      2	4
      3	5
      null	null
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mzhuravkov Maksim Zhuravkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: