icexelloss opened a new issue, #34278:
URL: https://github.com/apache/arrow/issues/34278

   ### Describe the enhancement requested
   
   Currently, the named table provider takes "names" as input:
   
https://github.com/apache/arrow/blob/11ae62a1426a1594ed750be1f25334fe7198356d/cpp/src/arrow/engine/substrait/options.h#L68
   
   In some cases, it is useful for the implementer of the provider to have 
access to the schema as well. 
   One case we have currently is that we are using named table to read from a 
custom remote storage and the file schema in the storage doesn't match 100% 
with the node schema (e.g., int32 vs int64 difference). If we have the node 
schema, we can add cast operation in the named table provider to avoid 
downstream schema/data mismatching issue.
    
   
   ### Component(s)
   
   C++


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to