Skip to content

Commit

Permalink
Add condition for isNumericCol for duckdb doubles
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBurgess committed Nov 14, 2024
1 parent 6dd8d20 commit f199cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/dashboard/src/components/dashboards/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
};

Expand Down

0 comments on commit f199cea

Please sign in to comment.