Skip to content

Commit

Permalink
Clarify comment
Browse files Browse the repository at this point in the history
  • Loading branch information
desmondcheongzx committed Nov 23, 2024
1 parent adbf947 commit 307393b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/daft-logical-plan/src/ops/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ impl Source {
}
}

// Helper function that converts ScanOperatorRef inside a the Source node's PhysicalScanInfo into scan tasks.
// Helper method that converts the ScanOperatorRef inside a Source node's PhysicalScanInfo into scan tasks.
// Should only be called if a Source node's source info contains PhysicalScanInfo. The PhysicalScanInfo
// should also hold a ScanState::Operator and not a ScanState::Tasks (which would indicate that we're
// materializing this physical scan node multiple times).
pub(crate) fn build_materialized_scan_source(
mut self,
execution_config: Option<&DaftExecutionConfig>,
Expand Down

0 comments on commit 307393b

Please sign in to comment.