mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Expr::parse_geometric_type should handle updated TypedString
This commit is contained in:
parent
e616a1c47c
commit
30202109ac
1 changed files with 1 additions and 2 deletions
|
@ -1708,10 +1708,9 @@ impl<'a> Parser<'a> {
|
|||
}
|
||||
|
||||
fn parse_geometric_type(&mut self, kind: GeometricTypeKind) -> Result<Expr, ParserError> {
|
||||
let value: Value = self.parse_value()?.value;
|
||||
Ok(Expr::TypedString {
|
||||
data_type: DataType::GeometricType(kind),
|
||||
value,
|
||||
value: self.parse_value()?,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue