From 06c013d7113d8618b12e490fb45533f8e6fdf19e Mon Sep 17 00:00:00 2001 From: blaginin Date: Mon, 9 Dec 2024 15:56:08 +0000 Subject: [PATCH] Fix tests --- datafusion/common/src/config.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/datafusion/common/src/config.rs b/datafusion/common/src/config.rs index 78323e7da803..289057053785 100644 --- a/datafusion/common/src/config.rs +++ b/datafusion/common/src/config.rs @@ -987,7 +987,11 @@ where { input.parse().map_err(|e| { DataFusionError::Context( - format!("Error parsing '{}' as {}", input, stringify!(T),), + format!( + "Error parsing '{}' as {}", + input, + std::any::type_name::() + ), Box::new(DataFusionError::External(Box::new(e))), ) })