Skip to content

Commit

Permalink
fix: Map int2/4/8 to generic int type. fix #1796
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jan 19, 2021
1 parent 44d09c4 commit 56e512a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cubejs-query-orchestrator/src/driver/BaseDriver.js
Expand Up @@ -17,6 +17,9 @@ const sortByKeys = (unordered) => {
const DbTypeToGenericType = {
'timestamp without time zone': 'timestamp',
integer: 'int',
int8: 'int',
int4: 'int',
int2: 'int',
'character varying': 'text',
varchar: 'text',
nvarchar: 'text',
Expand Down

0 comments on commit 56e512a

Please sign in to comment.