File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
rust/cubestore/cubestore/src/queryplanner Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff 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 ! [
You can’t perform that action at this time.
0 commit comments