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

dbListFields does work on Redshift database #228

Closed
glennmschultz opened this issue Oct 20, 2019 · 2 comments
Closed

dbListFields does work on Redshift database #228

glennmschultz opened this issue Oct 20, 2019 · 2 comments

Comments

@glennmschultz
Copy link

I have successfully connected to my Redshift database and I can run the following
dbListTables(conn = conn)
which correctly shows the tables in the database. However,
dbListFields(conn = conn, "mytablename")
does not work and returns the following error

"Error in result_create(conn@ptr, statement) :
Failed to prepare query: ERROR: function generate_subscripts(name[], integer) does not exist
HINT: No function matches the given name and argument types. You may need to add explicit type casts."

when I google the error the best I can come up with is that redshift does not support subscripts. So, basically, even though R Bloggers suggests Rpostgres as the preferred method perhaps this is not really the case with Redshift as AWS recommends RJDBC. I suppose either works well dplyr which is my real goal. However, I am starting a package to work with my Redshift instance and thus would like to have some clarity before I begin. If there are limitations to Rpostgres then maybe I am better off with RJDBC.

I have a large Redshift database, over 2 terabytes, if the Rpostgres developers need access to a Redshift database to work and test against then I am happy to provide access to what I have for that purpose.

Brief description of the problem

# insert reprex here
@krlmlr
Copy link
Member

krlmlr commented Dec 17, 2019

We don't currently support Redshift very well. Closing in favor of #215.

@krlmlr krlmlr closed this as completed Dec 17, 2019
@github-actions
Copy link
Contributor

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants