-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfunc trans 🌍Translation of individual functions to SQLTranslation of individual functions to SQLwipwork in progresswork in progress
Milestone
Description
When str_detect is used in a call to filter on a tbl, I expect pattern to be treated as a regular expression. Instead, it seems that it is treated as a fixed pattern:
> MASTER %>% filter(str_detect(FOO, "pen$")) %>% show_query
<SQL>
SELECT *
FROM "MASTER"
WHERE (INSTR("FOO", 'pen$') > 0)
The SQL INSTR function performs a case-insensitive search, and does not treat its second argument as a regex.
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behaviorfunc trans 🌍Translation of individual functions to SQLTranslation of individual functions to SQLwipwork in progresswork in progress