Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed May 29, 2024
1 parent c0f6f68 commit 9ceacd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/polars-sql/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,9 @@ impl SQLContext {

lf = lf.with_columns(projections);
lf = self.process_order_by(lf, &query.order_by)?;

column_names.retain(|&name| !retained_names.contains(name));
lf.drop(column_names)

} else if contains_wildcard_exclude {
let mut dropped_names = Vec::with_capacity(projections.len());
let exclude_expr = projections.iter().find(|expr| {
Expand Down

0 comments on commit 9ceacd2

Please sign in to comment.