File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/cubejs-schema-compiler/src/adapter Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1055,9 +1055,14 @@ export class BaseQuery {
10551055 outerMeasuresJoinFullKeyQueryAggregate ( innerMembers , outerMembers , toJoin ) {
10561056 const renderedReferenceContext = {
10571057 renderedReference : R . pipe (
1058- R . map ( m => [ m . measure || m . dimension , m . aliasName ( ) ] ) ,
1058+ R . map ( m => {
1059+ const member = m . measure ? m . measure : m . dimension ;
1060+ const memberPath = typeof member === 'string'
1061+ ? member
1062+ : this . cubeEvaluator . pathFromArray ( [ m . expressionCubeName , m . expressionName ] ) ;
1063+ return [ memberPath , m . aliasName ( ) ] ;
1064+ } ) ,
10591065 R . fromPairs ,
1060- // eslint-disable-next-line @typescript-eslint/no-unused-vars
10611066 ) ( innerMembers ) ,
10621067 } ;
10631068
You can’t perform that action at this time.
0 commit comments