From f199cea5a2a1ec6037788ecd7638d22c60adec69 Mon Sep 17 00:00:00 2001 From: Mike Burgess Date: Thu, 14 Nov 2024 12:27:52 +0700 Subject: [PATCH] Add condition for isNumericCol for duckdb doubles --- ui/dashboard/src/components/dashboards/common/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/dashboard/src/components/dashboards/common/index.ts b/ui/dashboard/src/components/dashboards/common/index.ts index c2c77a7f..66b9bd0c 100644 --- a/ui/dashboard/src/components/dashboards/common/index.ts +++ b/ui/dashboard/src/components/dashboards/common/index.ts @@ -150,7 +150,8 @@ const isNumericCol = (data_type: string | null | undefined) => { return ( data_type.toLowerCase().indexOf("int") >= 0 || data_type.toLowerCase().indexOf("float") >= 0 || - data_type.toLowerCase().indexOf("numeric") >= 0 + data_type.toLowerCase().indexOf("numeric") >= 0 || + data_type.toLowerCase().indexOf("double") >= 0 ); };