Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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
- is blocked by
-
CALCITE-2076 Upgrade to Druid 0.11.0
- Closed
- relates to
-
HIVE-17627 Use druid scan query instead of the select query.
- Closed