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 1d38f5d commit 2ed6259Copy full SHA for 2ed6259
packages/cubejs-druid-driver/src/DruidClient.ts
@@ -63,8 +63,8 @@ export class DruidClient {
63
},
64
});
65
66
- if (cancelled) {
67
- await this.cancel(response.headers['x-druid-sql-query-id'] || '');
+ if (cancelled && response.headers['x-druid-sql-query-id']) {
+ await this.cancel(response.headers['x-druid-sql-query-id']);
68
69
throw new Error('Query cancelled');
70
}
0 commit comments