From a69ec0f0062f6a3ad7b36a754867599752ec997a Mon Sep 17 00:00:00 2001 From: Chongchen Chen Date: Sat, 9 Aug 2025 19:37:41 +0800 Subject: [PATCH] update --- tests/sqlparser_common.rs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/sqlparser_common.rs b/tests/sqlparser_common.rs index 82a7baa3..5935cdd1 100644 --- a/tests/sqlparser_common.rs +++ b/tests/sqlparser_common.rs @@ -10968,7 +10968,9 @@ fn parse_pivot_table() { Expr::Value( (Value::SingleQuotedString("John".to_string())).with_empty_span() ), - Expr::Value((Value::Number("30".into(), false)).with_empty_span()), + Expr::Value( + (Value::Number("30".parse().unwrap(), false)).with_empty_span() + ), ]), alias: Some(Ident::new("c1")) }, @@ -10977,7 +10979,9 @@ fn parse_pivot_table() { Expr::Value( (Value::SingleQuotedString("Mike".to_string())).with_empty_span() ), - Expr::Value((Value::Number("40".into(), false)).with_empty_span()), + Expr::Value( + (Value::Number("40".parse().unwrap(), false)).with_empty_span() + ), ]), alias: Some(Ident::new("c2")) },