You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/15 00:17:19 UTC

[GitHub] [arrow-rs] andygrove opened a new issue, #3114: Improve schema merging

andygrove opened a new issue, #3114:
URL: https://github.com/apache/arrow-rs/issues/3114

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for this feature, in addition to  the *what*)
   -->
   
   I am trying to work with the nyctaxi parquet data set which has one file per month. Over time, some of the types have changed. For example `passenger_count` started out as `Int64` and was later changed to `Float64`. 
   
   Arrow-rs can not merge these schemas.
   
   Other solutions (such as DuckDB) will merge these schemas and pick the wider type (`Float64`).
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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.apache.org

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


[GitHub] [arrow-rs] andygrove commented on issue #3114: Improve schema merging

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #3114:
URL: https://github.com/apache/arrow-rs/issues/3114#issuecomment-1315479341

   I'm fine with implementing this in DataFusion. It currently delegates to `Schema::try_merge` in this repo, though, so it would likely mean duplicating some of this code in DF. I'll transfer this issue.


-- 
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


[GitHub] [arrow-rs] tustvold commented on issue #3114: Improve schema merging

Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #3114:
URL: https://github.com/apache/arrow-rs/issues/3114#issuecomment-1314666050

   I would have thought this logic would exist within the query engine, i.e. DataFusion, not the compute engine?


-- 
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