File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/cubejs-api-gateway/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1486,15 +1486,14 @@ class ApiGateway {
14861486 const query = {
14871487 requestId : context . requestId ,
14881488 } ;
1489- const cubeNameToDataSource = await compilerApi . cubeNameToDataSource ( query ) ;
14901489 const memberToDataSource : Record < string , string > = await compilerApi . memberToDataSource ( query ) ;
14911490
14921491 const dataSources = new Set ( Object . values ( memberToDataSource ) ) ;
14931492 const dataSourceToSqlGenerator = ( await Promise . all (
14941493 [ ...dataSources ] . map ( async dataSource => ( { [ dataSource ] : ( await compilerApi . getSqlGenerator ( query , dataSource ) ) . sqlGenerator } ) )
14951494 ) ) . reduce ( ( a , b ) => ( { ...a , ...b } ) , { } ) ;
14961495
1497- res ( { cubeNameToDataSource , memberToDataSource, dataSourceToSqlGenerator } ) ;
1496+ res ( { memberToDataSource, dataSourceToSqlGenerator } ) ;
14981497 } catch ( e : any ) {
14991498 this . handleError ( {
15001499 e, context, res, requestStarted
You can’t perform that action at this time.
0 commit comments