mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-15 04:24:59 +00:00
Fix up Expr::TypedString tests to use ValueWithSpan
This commit is contained in:
parent
30202109ac
commit
db16ff8916
4 changed files with 152 additions and 42 deletions
|
@ -5258,7 +5258,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