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

How to access tables with unsupported column types? #369

Closed
krlmlr opened this issue Oct 13, 2019 · 1 comment
Closed

How to access tables with unsupported column types? #369

krlmlr opened this issue Oct 13, 2019 · 1 comment
Labels
feature a feature request or enhancement verb trans 🤖 Translation of dplyr verbs to SQL

Comments

@krlmlr
Copy link
Member

krlmlr commented Oct 13, 2019

There are scenarios where tbl(src, "table_name") %>% select(...) doesn't work because enumerating the columns after tbl() fails. This can happen if the table contains columns not supported by the DBI backend. The workaround

tbl(src, sql("SELECT col1, col2, ... FROM table_name"))

is clumsy.

Perhaps we can add a select argument to tbl.src_dbi() with tidyselect semantics?

@hadley hadley added feature a feature request or enhancement verb trans 🤖 Translation of dplyr verbs to SQL labels Dec 13, 2019
@hadley
Copy link
Member

hadley commented Sep 22, 2020

This feels a bit too specialised to me; I don't like the idea of exposing multiple ways of selecting columns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement verb trans 🤖 Translation of dplyr verbs to SQL
Projects
None yet
Development

No branches or pull requests

2 participants