diff --git a/src/ast/mod.rs b/src/ast/mod.rs index 145f04487..5d89d0597 100644 --- a/src/ast/mod.rs +++ b/src/ast/mod.rs @@ -2435,22 +2435,24 @@ pub enum Statement { id: u64, }, /// ```sql - /// EXPLAIN TABLE + /// [EXPLAIN | DESC | DESCRIBE] TABLE /// ``` /// Note: this is a MySQL-specific statement. See ExplainTable { - /// If true, query used the MySQL `DESCRIBE` alias for explain - describe_alias: bool, + /// `EXPLAIN | DESC | DESCRIBE` + describe_alias: DescribeAlias, + /// Hive style `FORMATTED | EXTENDED` + hive_format: Option, /// Table name #[cfg_attr(feature = "visitor", visit(with = "visit_relation"))] table_name: ObjectName, }, /// ```sql - /// [EXPLAIN | DESCRIBE