mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-08 01:15:00 +00:00
Fix bug when parsing a Snowflake stage with ;
suffix (#1688)
This commit is contained in:
parent
7980c866a3
commit
784605c913
2 changed files with 5 additions and 1 deletions
|
@ -3102,6 +3102,10 @@ fn parse_ls_and_rm() {
|
|||
};
|
||||
|
||||
snowflake().verified_stmt(r#"LIST @"STAGE_WITH_QUOTES""#);
|
||||
// Semi-colon after stage name - should terminate the stage name
|
||||
snowflake()
|
||||
.parse_sql_statements("LIST @db1.schema1.stage1/dir1/;")
|
||||
.unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue