Skip to content

Commit

Permalink
fix(cubestore): re-enable streaming for top-k
Browse files Browse the repository at this point in the history
See parent commits for particular fixes and improvements to streaming.

This reverts commit f763044.
  • Loading branch information
ilya-biryukov committed Apr 14, 2021
1 parent b964bcc commit c21b5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/cubestore/src/queryplanner/topk/plan.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ pub fn plan_topk(
sort,
&node.snapshots,
schema.clone(),
/*use_streaming*/ false, // TODO: enable streaming.
/*use_streaming*/ true,
/*max_batch_rows*/ max(2 * node.limit, MIN_TOPK_STREAM_ROWS),
)?;
let agg_fun = node
Expand Down

0 comments on commit c21b5f7

Please sign in to comment.