This is an automated email from the ASF dual-hosted git repository.
richox pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/auron.git
The following commit(s) were added to refs/heads/master by this push:
new ee94e988 Fix incorrect FileScanConfig.projection conversion (#1591)
ee94e988 is described below
commit ee94e988b061fc2aa2eca72e7cd277dd48251916
Author: Zhang Li <[email protected]>
AuthorDate: Tue Nov 25 12:45:51 2025 +0800
Fix incorrect FileScanConfig.projection conversion (#1591)
---
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 7d051ecd..31082e8b 100644
--- a/native-engine/auron-serde/src/from_proto.rs
+++ b/native-engine/auron-serde/src/from_proto.rs
@@ -1291,11 +1291,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() {