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

ALTER TABLE .. RENAME implemented as no-op #231

Open
cwoerner opened this issue Sep 26, 2023 · 2 comments
Open

ALTER TABLE .. RENAME implemented as no-op #231

cwoerner opened this issue Sep 26, 2023 · 2 comments

Comments

@cwoerner
Copy link

It's pretty common for programmatic table management to involve "ALTER TABLE .. RENAME" commands. An example would be some ETL process creating an external table in Hive with a temporary name, then querying it to perform some validation prior to renaming it with the final production table name. Unfortunately, the ALTER TABLE..RENAME statement is implemented as a logging no-op in the external table command in this project. Are there any plans to implement it? It seems like a straightforward implementation but I wondered whether there were any gotchas known to the authors that would pose a challenge for anyone interested in contributing this feature.

@cono
Copy link

cono commented Sep 29, 2023

I haven't tested it, but code can look like this: #232

@cwoerner
Copy link
Author

cwoerner commented Oct 17, 2023

Could someone from the Snowflake team comment on the likelihood of this missing feature being addressed? We're trying to decide what the right path forward for us is, but that largely hinges on how responsive the developer community supporting this plugin is. We don't want to fork and patch unless there is a signal from someone maintaining the project that they might be willing to apply the patch and make an official release, at least eventually.

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

2 participants