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

ADD COLUMN IF NOT EXISTS throws error #9

Open
AntonAlekseevAA opened this issue May 30, 2020 · 0 comments
Open

ADD COLUMN IF NOT EXISTS throws error #9

AntonAlekseevAA opened this issue May 30, 2020 · 0 comments

Comments

@AntonAlekseevAA
Copy link
Contributor

I have the following issue. We use old clickhouse server versions, where ALTER COLUMN IF NOT EXISTS expressions not supports yet. I think that add possibility to skip this errors can be helpful.
Also newer versions of clickhouse server (version must be lower then 19.3) this expression is supports but contains bug ClickHouse/ClickHouse#4565
I try add supports for this cases - new option in ExecuteNonQuery method. If is set to true, then you can execute you ALTER COLUMN expression without using IF NOT EXISTS in query. Program behavior will be same as if the expression contained IF NOT EXISTS keyword. This fix applicable only for ALTER COLUMN.

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