File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
packages/cubejs-schema-compiler/src/adapter Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -4214,24 +4214,6 @@ export class BaseQuery {
42144214 '{{ min_expr }} as {{ quoted_min_name }}\n' +
42154215 'FROM {{ from_prepared }}\n' +
42164216 '{% if filter %}WHERE {{ filter }}{% endif %}' ,
4217- /* calc_groups_join: 'SELECT {{ original_cube }}.*, ' +
4218- '{%for single_value in single_values %}' +
4219- '{{ single_value.value }} as {{ single_value.name }}{% if not loop.last %}, {% endif %}' +
4220- '{% endfor %}' +
4221- '{% if single_values and groups %}, {% endif %}' +
4222- '{%for group in groups %}' +
4223- '{{ group.name }}{% if not loop.last %}, {% endif %}' +
4224- '{% endfor %}' +
4225- 'FROM {{ original_cube_sql }} {{ original_cube }}\n' +
4226- '{% for group in groups %}' +
4227- 'CROSS JOIN\n' +
4228- '(\n' +
4229- '{% for value in group.values %}' +
4230- 'SELECT {{ value }} as {{ group.name }}' +
4231- '{% if not loop.last %} UNION ALL\n{% endif %}' +
4232- '{% endfor %}' +
4233- ') {{ group.alias }}\n' +
4234- '{% endfor %}', */
42354217 calc_groups_join : '{% if original_sql %}{{ original_sql }}\n{% endif %}' +
42364218 '{% for group in groups %}' +
42374219 '{% if original_sql or not loop.first %}CROSS JOIN\n{% endif %}' +
You can’t perform that action at this time.
0 commit comments