Skip to content

Commit cfce454

Browse files
committed
chore(cubestore): Upgrade DF: fix streaming_projection_kafka_timestamp_ops
1 parent 30772fb commit cfce454

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

rust/cubestore/cubestore/src/queryplanner/query_executor.rs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -640,15 +640,14 @@ impl CubeTable {
640640
};
641641

642642
let predicate = combine_filters(filters);
643-
let physical_predicate =
644-
if let Some(pred) = &predicate {
645-
Some(state.create_physical_expr(
646-
pred.clone(),
647-
&index_schema.as_ref().clone().to_dfschema()?,
648-
)?)
649-
} else {
650-
None
651-
};
643+
let physical_predicate = if let Some(pred) = &predicate {
644+
Some(state.create_physical_expr(
645+
pred.clone(),
646+
&index_schema.as_ref().clone().to_dfschema()?,
647+
)?)
648+
} else {
649+
None
650+
};
652651
for partition_snapshot in partition_snapshots {
653652
let partition = partition_snapshot.partition();
654653
let filter = self
@@ -720,7 +719,7 @@ impl CubeTable {
720719
Arc::new(
721720
MemoryExec::try_new(
722721
&[record_batches.clone()],
723-
index_projection_schema.clone(),
722+
index_schema.clone(),
724723
index_projection_or_none_on_schema_match.clone(),
725724
)?
726725
.with_sort_information(vec![

0 commit comments

Comments
 (0)