I wanted to test a function using quantile. I see it has been introduced here: 19909fa
Unfortunately it isn't available for SQLite, but instead of getting a message that would let me know that, there is a very obscure syntax error shown:
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
library(dbplyr)
#>
#> Attaching package: 'dbplyr'
#> The following objects are masked from 'package:dplyr':
#>
#> ident, sql
memdb_frame(x = runif(100)) %>%
mutate(x = quantile(x, 0.95))
#> Warning: Missing values are always removed in SQL aggregation functions.
#> Use `na.rm = TRUE` to silence this warning
#> This warning is displayed once every 8 hours.
#> Error: near "(": syntax error
Created on 2022-09-08 by the reprex package (v2.0.1)
I was wondering if it is possible to allow for better user-facing error messages in cases where particular functions are not supported for a database dialect?
I wanted to test a function using
quantile. I see it has been introduced here: 19909faUnfortunately it isn't available for SQLite, but instead of getting a message that would let me know that, there is a very obscure syntax error shown:
Created on 2022-09-08 by the reprex package (v2.0.1)
I was wondering if it is possible to allow for better user-facing error messages in cases where particular functions are not supported for a database dialect?