File tree 2 files changed +2
-2
lines changed
datafusion/proto/src/physical_plan
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -559,7 +559,7 @@ impl TryFrom<&protobuf::PartitionedFile> for PartitionedFile {
559
559
. map ( |v| v. try_into ( ) )
560
560
. collect :: < Result < Vec < _ > , _ > > ( ) ?,
561
561
range : val. range . as_ref ( ) . map ( |v| v. try_into ( ) ) . transpose ( ) ?,
562
- statistics : val. statistics . as_ref ( ) . map ( |v| v. try_into ( ) ) . transpose ( ) ?,
562
+ statistics : val. statistics . as_ref ( ) . map ( |v| v. try_into ( ) . map ( Arc :: new ) ) . transpose ( ) ?,
563
563
extensions : None ,
564
564
} )
565
565
}
Original file line number Diff line number Diff line change @@ -527,7 +527,7 @@ impl TryFrom<&PartitionedFile> for protobuf::PartitionedFile {
527
527
. map ( |v| v. try_into ( ) )
528
528
. collect :: < Result < Vec < _ > , _ > > ( ) ?,
529
529
range : pf. range . as_ref ( ) . map ( |r| r. try_into ( ) ) . transpose ( ) ?,
530
- statistics : pf. statistics . as_ref ( ) . map ( |s| s. into ( ) ) ,
530
+ statistics : pf. statistics . as_ref ( ) . map ( |s| s. as_ref ( ) . into ( ) ) ,
531
531
} )
532
532
}
533
533
}
You can’t perform that action at this time.
0 commit comments