You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "parkma99 (via GitHub)" <gi...@apache.org> on 2023/08/25 05:15:52 UTC

[GitHub] [arrow-datafusion] parkma99 commented on issue #7317: Allowing setting sort order of parquet files without specifying the schema

parkma99 commented on issue #7317:
URL: https://github.com/apache/arrow-datafusion/issues/7317#issuecomment-1692771675

   Hello , I would like work this ticket to prepare #7354 . But I find it's a little hard to hook all coe up.
   
   https://github.com/apache/arrow-datafusion/blob/ea9144e6597593c09a4ef0b71a4da1cdfaca8249/datafusion/sql/src/statement.rs#L660-L665
   
   in here raise the plan error `Provide a schema before specifying the order while creating a table.`
   
   https://github.com/apache/arrow-datafusion/blob/ea9144e6597593c09a4ef0b71a4da1cdfaca8249/datafusion/core/src/datasource/listing_table_factory.rs#L187-L190
   
   in here infer the schema.
   
   I would like to move `build_order_by` after `infer the schema`, but `build_order_by` is member function of `SqlToRel`
   
   I would like to move `infer the schema` before `build_order_by`, but `infer_schema` need `SessionState` .


-- 
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-unsubscribe@arrow.apache.org

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