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

Support FETCH/LIMIT and OFFSET in RelToSqlConverter

    Details

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

      Description

      Extend RelToSqlConverter to support FETCH/LIMIT and OFFSET.

      FETCH is the standard but LIMIT is more common. Therefore we will need to extend the Dialect to know which syntax a particular database prefers. If it accepts both, let's generate standard SQL syntax.

      Work has already started in https://github.com/amoghmargoor/incubator-calcite/tree/CALCITE-1003.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: