kosiew commented on PR #15295:
URL: https://github.com/apache/datafusion/pull/15295#issuecomment-2857995748

   hi @TheBuilderJR ,
   
   In the [2 schemas you 
quoted](https://github.com/apache/datafusion/pull/15295#issuecomment-2851094063),
 there are:
   1. file_schema (from the parquet files)
   2. table_schema (evolved and contain more fields)
   
   Can I confirm that you are setting up ListingTableConfig with the 
adapter_factory as per [the 
example](https://github.com/apache/datafusion/pull/15295#issuecomment-2750776919)
 
   
   ```rust
       let config = ListingTableConfig::new_with_multi_paths(
           paths_str
               .into_iter()
               .map(|p| ListingTableUrl::parse(&p))
               .collect::<Result<Vec<_>, _>>()?,
       )
       .with_schema(table_schema.as_ref().clone().into())
       .with_schema_adapter_factory(adapter_factory);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to