Skip to content

Commit f023eb8

Browse files
committed
[DEBUG] Add more logs to debug athena
1 parent 70beacc commit f023eb8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/cubejs-testing-drivers/src/tests/testQueries.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,38 +147,46 @@ export function testQueries(type: string, { includeIncrementalSchemaSuite, exten
147147
preAggregations: ['Customers.RAExternal'],
148148
contexts: [{ securityContext: { tenant: 't1' } }],
149149
});
150+
console.log('Done with pre-agg Customers.RAExternal');
150151

151152
await buildPreaggs(env.cube.port, apiToken, {
152153
timezones: ['UTC'],
153154
preAggregations: ['ECommerce.SAExternal'],
154155
contexts: [{ securityContext: { tenant: 't1' } }],
155156
});
157+
console.log('Done with pre-agg ECommerce.SAExternal');
156158

157159
await buildPreaggs(env.cube.port, apiToken, {
158160
timezones: ['UTC'],
159161
preAggregations: ['ECommerce.TAExternal'],
160162
contexts: [{ securityContext: { tenant: 't1' } }],
161163
});
164+
console.log('Done with pre-agg ECommerce.TAExternal');
162165

163166
await buildPreaggs(env.cube.port, apiToken, {
164167
timezones: ['UTC'],
165168
preAggregations: ['BigECommerce.TAExternal'],
166169
contexts: [{ securityContext: { tenant: 't1' } }],
167170
});
171+
console.log('Done with pre-agg BigECommerce.TAExternal');
168172

169173
await buildPreaggs(env.cube.port, apiToken, {
170174
timezones: ['UTC'],
171175
preAggregations: ['BigECommerce.MultiTimeDimForCountExternal'],
172176
contexts: [{ securityContext: { tenant: 't1' } }],
173177
});
178+
console.log('Done with pre-agg BigECommerce.MultiTimeDimForCountExternal');
174179

175180
if (includeHLLSuite) {
176181
await buildPreaggs(env.cube.port, apiToken, {
177182
timezones: ['UTC'],
178183
preAggregations: ['BigECommerce.CountByProductExternal'],
179184
contexts: [{ securityContext: { tenant: 't1' } }],
180185
});
186+
console.log('Done with pre-agg BigECommerce.CountByProductExternal');
181187
}
188+
189+
console.log('Done with all pre-aggs');
182190
});
183191

184192
execute('must not fetch a hidden cube', async () => {

0 commit comments

Comments
 (0)