Skip to content

Commit ddc2f28

Browse files
Update PostgresDriver.ts (#1)
adding support for int8 datatype
1 parent a919f61 commit ddc2f28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cubejs-postgres-driver/src/PostgresDriver.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { QueryStream } from './QueryStream';
1313
const GenericTypeToPostgres: Record<GenericDataBaseType, string> = {
1414
string: 'text',
1515
double: 'decimal',
16+
int: 'int8',
1617
// Revert mapping for internal pre-aggregations
1718
HLL_POSTGRES: 'hll',
1819
};

0 commit comments

Comments
 (0)