File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9683,6 +9683,8 @@ pub enum DescribeObjectType {
96839683 Schema ,
96849684 /// `TASK`
96859685 Task ,
9686+ /// `STAGE`
9687+ Stage ,
96869688}
96879689
96889690impl fmt:: Display for DescribeObjectType {
@@ -9693,6 +9695,7 @@ impl fmt::Display for DescribeObjectType {
96939695 DescribeObjectType :: Database => "DATABASE" ,
96949696 DescribeObjectType :: Schema => "SCHEMA" ,
96959697 DescribeObjectType :: Task => "TASK" ,
9698+ DescribeObjectType :: Stage => "STAGE" ,
96969699 } )
96979700 }
96989701}
Original file line number Diff line number Diff line change @@ -14501,13 +14501,15 @@ impl<'a> Parser<'a> {
1450114501 Keyword::DATABASE,
1450214502 Keyword::SCHEMA,
1450314503 Keyword::TASK,
14504+ Keyword::STAGE,
1450414505 ]) {
1450514506 let object_type = match kw {
1450614507 Keyword::TABLE => DescribeObjectType::Table,
1450714508 Keyword::VIEW => DescribeObjectType::View,
1450814509 Keyword::DATABASE => DescribeObjectType::Database,
1450914510 Keyword::SCHEMA => DescribeObjectType::Schema,
1451014511 Keyword::TASK => DescribeObjectType::Task,
14512+ Keyword::STAGE => DescribeObjectType::Stage,
1451114513 _ => unreachable!(),
1451214514 };
1451314515 let object_name = self.parse_object_name(false)?;
You can’t perform that action at this time.
0 commit comments