Skip to content

Commit a19410a

Browse files
authored
fix: External rollup type conversions: cast double to decimal for postgres (#421) Thanks to @sandeepravi!
1 parent 25b7911 commit a19410a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cubejs-postgres-driver/driver/PostgresDriver.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const BaseDriver = require('@cubejs-backend/query-orchestrator/driver/BaseDriver
66
const { Pool } = pg;
77

88
const GenericTypeToPostgres = {
9-
string: 'text'
9+
string: 'text',
10+
double: 'decimal'
1011
};
1112

1213
const DataTypeMapping = {};

0 commit comments

Comments
 (0)