mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-02 13:12:16 +00:00
Fix the parsing result for the special double number (#1621)
This commit is contained in:
parent
6daa4b059c
commit
d0d4153137
7 changed files with 410 additions and 265 deletions
|
@ -268,7 +268,7 @@ pub fn parse_create_type_as_enum(
|
|||
return parser.expected("'(' after CREATE TYPE AS ENUM", parser.peek_token());
|
||||
}
|
||||
|
||||
let labels = parser.parse_comma_separated0(|p| p.parse_identifier(false), Token::RParen)?;
|
||||
let labels = parser.parse_comma_separated0(|p| p.parse_identifier(), Token::RParen)?;
|
||||
parser.expect_token(&Token::RParen)?;
|
||||
|
||||
Ok(Statement::CreateType {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue