Action information extracted from a DDL statement. This proto is used to display the brief info of the DDL statement for the operation databases.updateDdl.
| JSON representation |
|---|
{ "action": string, "entityType": string, "entityNames": [ string ] } |
| Fields | |
|---|---|
action |
The action for the DDL statement, for example, CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string. |
entityType |
The entity type for the DDL statement, for example, TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, for example, for statement "ANALYZE", |
entityNames[] |
The entity names being operated on the DDL statement. For example, 1. For statement "CREATE TABLE t1(...)", |