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

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   When passing a duckdb dataset to arrow with `to_arrow()` grouping 
information is lost.
   
   ````
   cars |> arrow::to_duckdb() |> dplyr::group_by(speed) |> arrow::to_arrow()
   # output is ungrouped
   #RecordBatchReader (query)
   #speed: double
   #dist: double
   cars |> arrow::to_duckdb() |> arrow::to_arrow() |> dplyr::group_by(speed) 
   # output is grouped
   #RecordBatchReader (query)
   #speed: double
   #dist: double
   #
   #* Grouped by speed
   #See $.data for the source Arrow object
   
   ### Component(s)
   
   R


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