File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
packages/cubejs-base-driver Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 3434 "@azure/identity" : " ^4.4.1" ,
3535 "@azure/storage-blob" : " ^12.9.0" ,
3636 "@cubejs-backend/shared" : " ^1.0.2" ,
37- "@google-cloud/storage" : " ^7.13.0" ,
38- "ramda" : " ^0.27.0"
37+ "@google-cloud/storage" : " ^7.13.0"
3938 },
4039 "devDependencies" : {
4140 "@cubejs-backend/linter" : " ^1.0.0" ,
4241 "@types/jest" : " ^27" ,
43- "@types/node" : " ^14" ,
44- "@types/ramda" : " ^0.27.32" ,
42+ "@types/node" : " ^18" ,
4543 "jest" : " ^27" ,
4644 "typescript" : " ~5.2.2"
4745 },
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import {
1414 isSslKey ,
1515 isSslCert ,
1616} from '@cubejs-backend/shared' ;
17- import { reduce } from 'ramda' ;
1817import fs from 'fs' ;
1918import { getSignedUrl } from '@aws-sdk/s3-request-presigner' ;
2019import { S3 , GetObjectCommand , S3ClientConfig } from '@aws-sdk/client-s3' ;
@@ -428,10 +427,10 @@ export abstract class BaseDriver implements DriverInterface {
428427 return sortByKeys ( result ) ;
429428 }
430429
431- public tablesSchema ( ) {
430+ public tablesSchema ( ) : Promise < any > {
432431 const query = this . informationSchemaQuery ( ) ;
433432
434- return this . query ( query ) . then ( data => reduce ( this . informationColumnsSchemaReducer , { } , data ) ) ;
433+ return this . query ( query , [ ] ) . then ( data => data . reduce ( this . informationColumnsSchemaReducer , { } ) ) ;
435434 }
436435
437436 // Extended version of tablesSchema containing primary and foreign keys
You can’t perform that action at this time.
0 commit comments