You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "lgaborini (via GitHub)" <gi...@apache.org> on 2026/04/08 06:13:09 UTC

[I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

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

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   With arrow 23.0.1.2:
   
   ```r
   data <- tibble::tibble(
     x = list(
       factor(c("a", "b"), levels = c("c", "b", "a"), ordered = TRUE),
       factor(c("b", "c"), levels = c("c", "b", "a"), ordered = TRUE)
     )
   )
   arrow::write_parquet(data, tempfile())
   #> Error: Invalid: Column data for field 0 with type list<item: dictionary<values=string, indices=int8, ordered=0>> is inconsistent with schema list<item: dictionary<values=string, indices=int8, ordered=1>>
   ```
   
   No issues if `x` is a list-column of factors (coerced to unsorted dictionaries).   
   Upstream bug of [https://github.com/ropensci/targets/issues/1291](https://github.com/ropensci/targets/issues/1291).
   
   ### 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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

Posted by "lgaborini (via GitHub)" <gi...@apache.org>.
lgaborini commented on issue #49689:
URL: https://github.com/apache/arrow/issues/49689#issuecomment-4214659285

   Hello, it was probably an unimplemented or never properly tested feature.  
   I encountered this first in 2024 with arrow 16.1.0 (forgot to submit the bug report), then never actually checked again.


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


Re: [I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #49689: [R] Parquets do not support list-columns of ordered factors (ordered dictionaries)
URL: https://github.com/apache/arrow/issues/49689


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

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


Re: [I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49689:
URL: https://github.com/apache/arrow/issues/49689#issuecomment-4223932907

   I did a little investigation with Claude, and it looks a bit more complex than it first appeared; will paste the output at the bottom of this comment shortly.
   
   --------------------------------------------------------------------------------------------------------
   
   


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


Re: [I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49689:
URL: https://github.com/apache/arrow/issues/49689#issuecomment-4678641263

   Issue resolved by pull request 49937
   https://github.com/apache/arrow/pull/49937


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


Re: [I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

Posted by "aviralgarg05 (via GitHub)" <gi...@apache.org>.
aviralgarg05 commented on issue #49689:
URL: https://github.com/apache/arrow/issues/49689#issuecomment-4213401996

   Hi I would like to solve this issue if someone could assign me


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


Re: [I] [R] Parquets do not support list-columns of ordered factors (ordered dictionaries) [arrow]

Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49689:
URL: https://github.com/apache/arrow/issues/49689#issuecomment-4214566526

   @aviralgarg05 - currently this is an untriaged bug ticket.  Before we assign it to anyone, we need to work out if it can be replicated, if it's a bug or not (did this work in previous versions of Arrow - is it a bug or an unimplemented feature?), and then, if it is a bug, work out why it occurs.  
   
   Feel free to post your hypothesis about the cause here, and we can walk through your ideas.  


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