thisisnic commented on PR #49937: URL: https://github.com/apache/arrow/pull/49937#issuecomment-4647990337
> I think this has caused an unintended consequence. > > The following code runs under the CRAN version of arrow without issue: > > ``` > library(arrow) > library(dplyr) > > starwars |> mutate(sex = factor(sex, ordered = TRUE)) |> write_parquet(sink = tempfile()) > ``` > > However, under this PR, it returns the following error: > > ``` > Error: Invalid: Column data for field 7 with type dictionary<values=string, indices=int8, ordered=0> is inconsistent with schema dictionary<values=string, indices=int8, ordered=1> > ``` > > Would it be possible to resolve this? Thanks for the review @stephenashton-dhsc .Would you mind sharing a bit more about the steps you took to build Arrow to get that error? I tried it myself locally but I can't reproduce your error, so it might be that you had a mismatch between R package and C++ library version. -- 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]
