This is an automated email from the ASF dual-hosted git repository.

dheres pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 04ecaf7405 Make FileScanConfig::project pub (#6931)
04ecaf7405 is described below

commit 04ecaf7405dbbfd43f43acec972f2435ada5ee81
Author: Daniël Heres <[email protected]>
AuthorDate: Wed Jul 12 15:54:44 2023 +0200

    Make FileScanConfig::project pub (#6931)
    
    Co-authored-by: Daniël Heres <[email protected]>
---
 datafusion/core/src/datasource/physical_plan/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datafusion/core/src/datasource/physical_plan/mod.rs 
b/datafusion/core/src/datasource/physical_plan/mod.rs
index 695e3239c5..646d3a9ee5 100644
--- a/datafusion/core/src/datasource/physical_plan/mod.rs
+++ b/datafusion/core/src/datasource/physical_plan/mod.rs
@@ -170,7 +170,7 @@ pub struct FileScanConfig {
 
 impl FileScanConfig {
     /// Project the schema and the statistics on the given column indices
-    fn project(&self) -> (SchemaRef, Statistics, Vec<LexOrdering>) {
+    pub fn project(&self) -> (SchemaRef, Statistics, Vec<LexOrdering>) {
         if self.projection.is_none() && self.table_partition_cols.is_empty() {
             return (
                 Arc::clone(&self.file_schema),

Reply via email to