Feature: ADD IF NOT EXISTS
and DROP IF EXISTS
to ALTER TABLE
command
#4583
Labels
feature
New features or missing components of existing features
API
Other
Description
Currently, we need custom application logic to check for the presence of a column when we use
ALTER TABLE
. See the example below where I'm trying to add avector
column of typeDOUBLE[1536]
to an existingMovie
table:It's easy to imagine a scenario where the user has many columns in a table during application development and they may want to have the error handled by the DDL itself.
Requested feature
For adding a new column:
For dropping an existing column:
The text was updated successfully, but these errors were encountered: