This is an automated email from the ASF dual-hosted git repository. richox pushed a commit to branch fix-fscan-proj-conv in repository https://gitbox.apache.org/repos/asf/auron.git
commit 28c8f21221b2ac086bc500825e5d0101cbb70024 Author: Zhang Li <[email protected]> AuthorDate: Mon Nov 3 03:03:17 2025 +0000 Fix incorrect FileScanConfig.projection conversion --- native-engine/auron-serde/src/from_proto.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/native-engine/auron-serde/src/from_proto.rs b/native-engine/auron-serde/src/from_proto.rs index 89fb1579..3ad4559a 100644 --- a/native-engine/auron-serde/src/from_proto.rs +++ b/native-engine/auron-serde/src/from_proto.rs @@ -1285,11 +1285,7 @@ impl TryInto<FileScanConfig> for &protobuf::FileScanExecConf { .iter() .map(|i| *i as usize) .collect::<Vec<_>>(); - let projection = if projection.is_empty() { - None - } else { - Some(projection) - }; + let projection = Some(projection); let partition_schema: SchemaRef = Arc::new(convert_required!(self.partition_schema)?); let mut statistics: Statistics = convert_required!(self.statistics)?; if statistics.column_statistics.is_empty() {
