xtimbeau opened a new issue #11760:
URL: https://github.com/apache/arrow/issues/11760
I think I don't understand exactly what datasets are suppose to perform.
here is a simple example where I create a sample dataset, hive partionned on
discrete variable `x`
```
test_data <- tibble(x = round(10*runif(1000)), t = runif(1000))
dir.create("test")
write_dataset(test_data |> group_by(x), format="parquet", path="test" )
```
So far, it's fine, but when I perform the following command I get this non
commutative result :
`td |> group_by(x) |> collect() |> summarize(n())
`
counts 1 for each group
whereas
`td |> group_by(x) |> summarize(n()) |> collect() `
counts correctly number of rows.
So why this difference ?
using arrow 6.0.1, R 4.1.2, rstudio 2021.09.0 Build 351 on windows or linux
--
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]