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

Sql. subquery with OFFSET is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.0
    • None
    • sql

    Description

      The following query is not supported

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

      Expected result:

      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: