Skip to content

Commit 59717fd

Browse files
committed
clear
1 parent ac45a27 commit 59717fd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/cubejs-prestodb-driver/src/PrestoDriver.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,6 @@ export class PrestoDriver extends BaseDriver implements DriverInterface {
236236
}`);
237237
}
238238

239-
if (!options.query) {
240-
throw new Error('Unload without query is not supported');
241-
}
242-
243239
const types = options.query
244240
? await this.unloadWithSql(tableName, options.query.sql, options.query.params)
245241
: await this.unloadWithTable(tableName);

0 commit comments

Comments
 (0)