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 create an external table in Hive? #53

Open
matthiasgomolka opened this issue Jan 21, 2022 · 1 comment
Open

How to create an external table in Hive? #53

matthiasgomolka opened this issue Jan 21, 2022 · 1 comment
Labels
feature a feature request or enhancement

Comments

@matthiasgomolka
Copy link

Hi again,

I haven't found anything about this topic, so I'm asking here.

I would like to use dbCreateTable() to create an external table in a Hive. However, I only found the option to create temporary tables (and "normal" tables, obviously).

Is there a possibility to create an external table using dbCreateTable()? I know that I can use dbExecute() to do so, but the user experience would be nicer if this was also possible with dbCreateTable.

@krlmlr
Copy link
Member

krlmlr commented Feb 2, 2022

Thanks. I think the best that works today is to use DBI::sqlCreateTable() and patch the result. Adding options to generated queries/statements is something that we should consider for the future.

@krlmlr krlmlr added the feature a feature request or enhancement label Feb 2, 2022
@krlmlr krlmlr transferred this issue from r-dbi/DBI Feb 2, 2022
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
Projects
None yet
Development

No branches or pull requests

2 participants