Skip to content

Commit cad0443

Browse files
convert int from other database to int8 in postgres.
used for pre-aggregations from bigquery saved in postgres
1 parent ae78a8d commit cad0443

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
@@ -14,6 +14,7 @@ import { QueryStream } from './QueryStream';
1414
const GenericTypeToPostgres: Record<GenericDataBaseType, string> = {
1515
string: 'text',
1616
double: 'decimal',
17+
int: 'int8',
1718
// Revert mapping for internal pre-aggregations
1819
HLL_POSTGRES: 'hll',
1920
};

0 commit comments

Comments
 (0)