File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
packages/cubejs-schema-compiler/src/compiler Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -128,15 +128,14 @@ export class YamlCompiler {
128
128
cubeObj . dimensions = this . yamlArrayToObj ( cubeObj . dimensions || [ ] , 'dimension' , errorsReport ) ;
129
129
cubeObj . segments = this . yamlArrayToObj ( cubeObj . segments || [ ] , 'segment' , errorsReport ) ;
130
130
cubeObj . preAggregations = this . yamlArrayToObj ( cubeObj . preAggregations || [ ] , 'preAggregation' , errorsReport ) ;
131
+ cubeObj . hierarchies = this . yamlArrayToObj ( cubeObj . hierarchies || [ ] , 'hierarchies' , errorsReport ) ;
131
132
132
133
cubeObj . joins = cubeObj . joins || [ ] ; // For edge cases where joins are not defined/null
133
134
if ( ! Array . isArray ( cubeObj . joins ) ) {
134
135
errorsReport . error ( 'joins must be defined as array' ) ;
135
136
cubeObj . joins = [ ] ;
136
137
}
137
138
138
- cubeObj . hierarchies = this . yamlArrayToObj ( cubeObj . hierarchies || [ ] , 'hierarchies' , errorsReport ) ;
139
-
140
139
return this . transpileYaml ( cubeObj , [ ] , cubeObj . name , errorsReport ) ;
141
140
}
142
141
You can’t perform that action at this time.
0 commit comments