@@ -1862,7 +1862,7 @@ pub fn statement_body(i: Input) -> IResult<Statement> {
18621862 ) ;
18631863 let describe_row_access = map (
18641864 rule ! {
1865- ( DESC | DESCRIBE ) ~ ROW ~ ACCESS ~ POLICY ~ ^ #ident
1865+ ( DESC | DESCRIBE ) ~ ROW ~ ACCESS ~ POLICY ~ #ident
18661866 } ,
18671867 |( _, _, _, _, name) | {
18681868 Statement :: DescRowAccessPolicy ( DescRowAccessPolicyStmt {
@@ -2195,7 +2195,7 @@ pub fn statement_body(i: Input) -> IResult<Statement> {
21952195 ) ;
21962196 let describe_network_policy = map (
21972197 rule ! {
2198- ( DESC | DESCRIBE ) ~ NETWORK ~ POLICY ~ ^ #ident
2198+ ( DESC | DESCRIBE ) ~ NETWORK ~ POLICY ~ #ident
21992199 } ,
22002200 |( _, _, _, name) | {
22012201 Statement :: DescNetworkPolicy ( DescNetworkPolicyStmt {
@@ -2252,7 +2252,7 @@ pub fn statement_body(i: Input) -> IResult<Statement> {
22522252 ) ;
22532253 let describe_password_policy = map (
22542254 rule ! {
2255- ( DESC | DESCRIBE ) ~ PASSWORD ~ POLICY ~ ^ #ident
2255+ ( DESC | DESCRIBE ) ~ PASSWORD ~ POLICY ~ #ident
22562256 } ,
22572257 |( _, _, _, name) | {
22582258 Statement :: DescPasswordPolicy ( DescPasswordPolicyStmt {
@@ -2750,7 +2750,6 @@ pub fn statement_body(i: Input) -> IResult<Statement> {
27502750 COMMENT => rule!( #comment) . parse( i) ,
27512751 DESC | DESCRIBE => rule!(
27522752 #desc_task : "`DESC | DESCRIBE TASK <name>`"
2753- | #describe_table : "`DESCRIBE [<database>.]<table>`"
27542753 | #describe_view : "`DESCRIBE VIEW [<database>.]<view>`"
27552754 | #describe_user: "`DESCRIBE USER <user_name>`"
27562755 | #describe_row_access : "`DESC[RIBE] ROW ACCESS POLICY <name>`"
@@ -2763,6 +2762,7 @@ pub fn statement_body(i: Input) -> IResult<Statement> {
27632762 | #desc_connection: "`DESC | DESCRIBE CONNECTION <connection_name>`"
27642763 | #describe_procedure : "`DESC PROCEDURE <procedure_name>()`"
27652764 | #describe_stream : "`DESCRIBE STREAM [<database>.]<stream>`"
2765+ | #describe_table : "`DESCRIBE [<database>.]<table>`"
27662766 | #sequence
27672767 ) . parse( i) ,
27682768 CREATE => rule!(
0 commit comments