Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
nameexhaustion committed Nov 13, 2024
1 parent 87a4012 commit 208d346
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/polars-stream/src/physical_plan/lower_ir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,10 +350,7 @@ pub fn lower_ir(
FileScan::Parquet { .. } => (None, None, None),
FileScan::Ipc { .. } => (None, None, predicate.take()),
FileScan::Csv { options, .. } => {
if file_options.slice.map_or(true, |(offset, _)| {
// Only really makes sense to push this if we are skipping rows
offset > 0
}) && options.parse_options.comment_prefix.is_none()
if options.parse_options.comment_prefix.is_none()
&& std::env::var("POLARS_DISABLE_EXPERIMENTAL_CSV_SLICE").as_deref()
!= Ok("1")
{
Expand Down

0 comments on commit 208d346

Please sign in to comment.