You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "mhabets (via GitHub)" <gi...@apache.org> on 2023/04/03 15:36:32 UTC

[GitHub] [arrow] mhabets opened a new issue, #34860: New column name wrongly set when using mutate with if_any

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

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The code below generates the following not expected error message:
   
   ! Can't subset columns that don't exist.
   ✖ Column `new_var` doesn't exist.
   
   ```R
   data <- iris %>% arrow::record_batch()
   data %>% mutate(new_var = if_any(ends_with("Width"), ~ . > 4)) %>% select(new_var)
   ```
   
   We expect that a new column is created with `new_var` as name.
   
   ### 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


[GitHub] [arrow] thisisnic commented on issue #34860: [R] New column name wrongly set when using mutate with if_any

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

   Thanks for reporting this @mhabets, definitely a bug in our implementation there, can confirm that I can reproduce this and it is a bug in our implementation.


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