We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de537e1 commit dd829bcCopy full SHA for dd829bc
packages/cubejs-schema-compiler/src/adapter/PrestodbQuery.ts
@@ -142,7 +142,7 @@ export class PrestodbQuery extends BaseQuery {
142
templates.statements.select = '{% if ctes %} WITH \n' +
143
'{{ ctes | join(\',\n\') }}\n' +
144
'{% endif %}' +
145
- 'SELECT {{ select_concat | map(attribute=\'aliased\') | join(\', \') }} {% if from %}\n' +
+ ' {{ select_concat | map(attribute=\'aliased\') | join(\', \') }} {% if from %}\n' +
146
'FROM (\n {{ from }}\n) AS {{ from_alias }} {% elif from_prepared %}\n' +
147
'FROM {{ from_prepared }}' +
148
0 commit comments