Skip to content

Commit

Permalink
sqlp & joinp: OptState struct has two new members
Browse files Browse the repository at this point in the history
`fast_projection: true` and
`eager: false`
  • Loading branch information
jqnatividad committed Sep 18, 2023
1 parent 80e3ba8 commit 3930294
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd/joinp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,8 @@ impl JoinStruct {
comm_subplan_elim: true,
comm_subexpr_elim: true,
streaming: self.streaming,
fast_projection: true,
eager: false,
}
};
log::debug!("Optimization state: {optimization_state:?}");
Expand Down
2 changes: 2 additions & 0 deletions src/cmd/sqlp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
comm_subplan_elim: !args.flag_low_memory,
comm_subexpr_elim: true,
streaming: args.flag_low_memory,
fast_projection: true,
eager: false,
}
};
// gated by log::log_enabled!(log::Level::Debug) to avoid the
Expand Down

0 comments on commit 3930294

Please sign in to comment.