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

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

commit 5469fbc5a308bd4a6edcb17bce243f091c330299
Author: DaniĆ«l Heres <[email protected]>
AuthorDate: Wed Jul 12 14:46:27 2023 +0200

    Make FileScanConfig::project pub
---
 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