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>
Copy

Parameters

name

Specifies 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 EXISTS

Specifies 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;
Copy
+------------------------------------------------+
| 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;
Copy
Language: English