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

Druid adapter: Use "scan" query rather than "select" query

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.16.0
    • druid-adapter
    • None

    Description

      The biggest difference between select query and scan query is that, scan query doesn't retain all rows in memory before rows can be returned to client.
      Select query on very large segments will cause memory pressure on druid historicals if too many rows required by select query whereas Scan query doesn't have this issue.
      Scan query can also return all rows without issuing another pagination query, which is extremely useful when query against historical or realtime node directly.

      Attachments

        Issue Links

          Activity

            People

              nishantbangarwa Nishant Bangarwa
              nishantbangarwa Nishant Bangarwa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: