File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/cubejs-schema-compiler/src/compiler Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -128,14 +128,14 @@ export class YamlCompiler {
128128 cubeObj . dimensions = this . yamlArrayToObj ( cubeObj . dimensions || [ ] , 'dimension' , errorsReport ) ;
129129 cubeObj . segments = this . yamlArrayToObj ( cubeObj . segments || [ ] , 'segment' , errorsReport ) ;
130130 cubeObj . preAggregations = this . yamlArrayToObj ( cubeObj . preAggregations || [ ] , 'preAggregation' , errorsReport ) ;
131+ cubeObj . hierarchies = this . yamlArrayToObj ( cubeObj . hierarchies || [ ] , 'hierarchies' , errorsReport ) ;
131132
132133 cubeObj . joins = cubeObj . joins || [ ] ; // For edge cases where joins are not defined/null
133134 if ( ! Array . isArray ( cubeObj . joins ) ) {
134135 errorsReport . error ( 'joins must be defined as array' ) ;
135136 cubeObj . joins = [ ] ;
136137 }
137138
138- cubeObj . hierarchies = this . yamlArrayToObj ( cubeObj . hierarchies || [ ] , 'hierarchies' , errorsReport ) ;
139139
140140 return this . transpileYaml ( cubeObj , [ ] , cubeObj . name , errorsReport ) ;
141141 }
You can’t perform that action at this time.
0 commit comments