mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Add span for Expr::TypedString
(#1919)
This commit is contained in:
parent
be2d2f14e7
commit
9020385c02
7 changed files with 155 additions and 47 deletions
|
@ -5257,7 +5257,10 @@ fn parse_at_time_zone() {
|
|||
left: Box::new(Expr::AtTimeZone {
|
||||
timestamp: Box::new(Expr::TypedString {
|
||||
data_type: DataType::Timestamp(None, TimezoneInfo::None),
|
||||
value: Value::SingleQuotedString("2001-09-28 01:00".to_string()),
|
||||
value: ValueWithSpan {
|
||||
value: Value::SingleQuotedString("2001-09-28 01:00".to_string()),
|
||||
span: Span::empty(),
|
||||
},
|
||||
}),
|
||||
time_zone: Box::new(Expr::Cast {
|
||||
kind: CastKind::DoubleColon,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue