And want to filter the output to entries that start with several specific strings like so
filterlist <- c("F", "C", "1")
Participant
Category
Rating
Greg
F0
21
Greg
C0.0
NA
Donna
1
17
If I run a call like this one, it either fails or pulls it into R:
df |>
filter(str_starts(Category, paste(filterlist, collapse = "|")))
Warning: Expression str_starts(Category, paste(filterlist, collapse = "|")) not supported in Arrow; pulling data into R
But these two will run just fine and produce the desired output:
Thanks for reporting this @TPDeramus and glad you've got a workaround there! This might be a gap in our implementation where we may be missing evaluating the filter condition.
Describe the bug, including details regarding any error messages, version, and platform.
Hi Arrow Devs.
I noticed an odd behavior for
str_starts()
for the package.So if you make an
arrow
table:And want to filter the output to entries that start with several specific strings like so
filterlist <- c("F", "C", "1")
If I run a call like this one, it either fails or pulls it into
R
:But these two will run just fine and produce the desired output:
Is this a bug of some kind?
Component(s)
R