Hey all! The documentation <https://druid.apache....
# general
n
Hey all! The documentation https://druid.apache.org/docs/latest/querying/query-execution on scan queries states scans are single threaded: "For all query types except Scan, data servers process each segment in parallel and generate partial results for each segment. The specific processing that is done depends on the query type. These partial results may be cached if query caching is enabled. For Scan queries, segments are processed in order by a single thread, and results are not cached." Why are scan queries single threaded? It feels massively inefficient so I'm assuming there's something I'm missing. In a related query, how do scans interact with segments at a file level? Does the scan have to read the entire file to scan it or can it read a portion of the file to obtain the information it needs? Thanks in advance NM