Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stronger guarantees for quoting literals #45

Open
krlmlr opened this issue Dec 5, 2021 · 0 comments
Open

Stronger guarantees for quoting literals #45

krlmlr opened this issue Dec 5, 2021 · 0 comments

Comments

@krlmlr
Copy link
Member

krlmlr commented Dec 5, 2021

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

for such backends.

From r-dbi/RPostgres#357.

Also, we should include at least date, time, and interval types.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant