From b7d79e10db76874f463fc362a85407c5d61738c5 Mon Sep 17 00:00:00 2001 From: TennyZhuang Date: Fri, 24 May 2024 18:15:16 +0800 Subject: [PATCH] revert a behavior Signed-off-by: TennyZhuang --- src/sqlparser/src/parser_v2/data_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlparser/src/parser_v2/data_type.rs b/src/sqlparser/src/parser_v2/data_type.rs index 0167280c83e9e..a8e9ea20f3ba4 100644 --- a/src/sqlparser/src/parser_v2/data_type.rs +++ b/src/sqlparser/src/parser_v2/data_type.rs @@ -207,7 +207,7 @@ where Keyword::NUMERIC | Keyword::DECIMAL | Keyword::DEC => cut_err(precision_and_scale()).map(|(precision, scale)| { DataType::Decimal(precision, scale) }), - _ => cut_err(fail), + _ => fail, }; trace(