Quoting NA values should always return a query that yields a NULL of the correct type. This might be especially challenging in MariaDB where the support for coercion is weak. Could perhaps be simulated by
SELECT x FROM (SELECT '' AS x, 0 AS y UNION ALL SELECT NULL AS x, 1 AS y) qq WHERE y = 1
Quoting
NA
values should always return a query that yields aNULL
of the correct type. This might be especially challenging in MariaDB where the support for coercion is weak. Could perhaps be simulated byfor such backends.
From https://github.com/r-dbi/RPostgres/issues/357.
Also, we should include at least date, time, and interval types.