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

CREATE TABLE with unspecified column name? #410

Open
MichaelChirico opened this issue Mar 19, 2025 · 0 comments
Open

CREATE TABLE with unspecified column name? #410

MichaelChirico opened this issue Mar 19, 2025 · 0 comments

Comments

@MichaelChirico
Copy link
Contributor

res <- dbSendStatement(con, ctx$tweaks$create_table_as(table_name, "SELECT 1"))

This throws an error on our backend because a CREATE TABLE AS statement requires a column specification, i.e., auto-naming is not supported.

It doesn't look like the intent of this test is to check whether auto-naming is supported; shall we just affix AS a here?

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