DROP ONLINE FEATURE TABLEΒΆ
Removes the specified online feature table from the current/specified schema.
- See also:
CREATE ONLINE FEATURE TABLE , ALTER ONLINE FEATURE TABLE, DESCRIBE ONLINE FEATURE TABLE , SHOW ONLINE FEATURE TABLES
SyntaxΒΆ
DROP ONLINE FEATURE TABLE [ IF EXISTS ] <name>
ParametersΒΆ
nameSpecifies the identifier for the online feature table to drop.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see Identifier requirements.
IF EXISTSSpecifies to not return an error if the online feature table does not exist.
Access control requirementsΒΆ
Privilege |
Object |
Notes |
|---|---|---|
OWNERSHIP |
Online feature table |
Role that has the OWNERSHIP privilege on the online feature table. |
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Usage NotesΒΆ
When the IF EXISTS clause is specified and the target object doesnβt exist, the command completes successfully without returning an error.
ExamplesΒΆ
The following example drops the online feature table named my_online_feature_table:
DROP ONLINE FEATURE TABLE my_online_feature_table;
+------------------------------------------------+
| status |
|------------------------------------------------|
| MY_ONLINE_FEATURE_TABLE successfully dropped. |
+------------------------------------------------+
The following example drops the online feature table named my_online_feature_table if it exists:
DROP ONLINE FEATURE TABLE IF EXISTS my_online_feature_table;