Skip to content

Commit

Permalink
need transform if column mapping is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklan committed Dec 19, 2024
1 parent 58ad2a3 commit 3d040f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kernel/src/scan/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,9 @@ impl Scan {
// Compute the static part of the transformation. This is `None` if no transformation is
// needed (currently just means no partition cols, but will be extended for other transforms
// as we support them)
let static_transform = if self.have_partition_cols {
let static_transform = if self.have_partition_cols
|| self.snapshot.column_mapping_mode != ColumnMappingMode::None
{
Some(Arc::new(Scan::get_static_transform(&self.all_fields)))
} else {
None
Expand Down

0 comments on commit 3d040f7

Please sign in to comment.