Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1901

SQL reference should say that "ONLY" is required after "FETCH ... ROWS"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.14.0
    • Component/s: None
    • Labels:
      None

      Description

      SQL reference should say that "ONLY" is required after "FETCH ... ROWS". An example of the correct syntax is

      SELECT * FROM Emp
      ORDER BY sal
      OFFSET 30 ROWS
      FETCH NEXT 10 ROWS ONLY

        Activity

        Hide
        michaelmior Michael Mior added a comment -

        Resolved in release 1.14.0 (2017-10-01)

        Show
        michaelmior Michael Mior added a comment - Resolved in release 1.14.0 (2017-10-01)
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/a2880dd5 .

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development