From ed438ac219b05d3b5ab8d9fd22a67580fc873886 Mon Sep 17 00:00:00 2001 From: Dadepo Aderemi Date: Sun, 17 Dec 2023 10:03:38 +0400 Subject: [PATCH] debug --- src/postgres/math_udfs.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/postgres/math_udfs.rs b/src/postgres/math_udfs.rs index 7106589..ef9e529 100644 --- a/src/postgres/math_udfs.rs +++ b/src/postgres/math_udfs.rs @@ -21,6 +21,8 @@ pub fn acosd(args: &[ArrayRef]) -> Result { if result.fract() < 0.9 { float64array_builder.append_value(result); } else { + dbg!(&result); + dbg!(&result.round()); float64array_builder.append_value(result.round()); } Ok::<(), DataFusionError>(())