Skip to content

Commit 8c7f306

Browse files
committed
remove compression changes
1 parent d0cc5a9 commit 8c7f306

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/DBSQLSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ export default class DBSQLSession implements IDBSQLSession {
202202
...getArrowOptions(clientConfig),
203203
canDownloadResult: options.useCloudFetch ?? clientConfig.useCloudFetch,
204204
parameters: getQueryParameters(options.namedParameters, options.ordinalParameters),
205-
canDecompressLZ4Result: (options.useLZ4Compression ?? clientConfig.useLZ4Compression) && Boolean(LZ4),
205+
canDecompressLZ4Result: clientConfig.useLZ4Compression && Boolean(LZ4),
206206
});
207207
const response = await this.handleResponse(operationPromise);
208208
const operation = this.createOperation(response);

lib/contracts/IDBSQLSession.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export type ExecuteStatementOptions = {
1717
runAsync?: boolean;
1818
maxRows?: number | bigint | Int64 | null;
1919
useCloudFetch?: boolean;
20-
useLZ4Compression?: boolean;
2120
stagingAllowedLocalPath?: string | string[];
2221
namedParameters?: Record<string, DBSQLParameter | DBSQLParameterValue>;
2322
ordinalParameters?: Array<DBSQLParameter | DBSQLParameterValue>;

0 commit comments

Comments
 (0)