From 4acb79940a00219dc68010ba9da7fee333e296e3 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Wed, 18 Dec 2024 15:03:22 -0800 Subject: [PATCH] Respect default query options --- packages/malloy-db-trino/src/trino_connection.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/malloy-db-trino/src/trino_connection.ts b/packages/malloy-db-trino/src/trino_connection.ts index 3087e60cd..4535abef9 100644 --- a/packages/malloy-db-trino/src/trino_connection.ts +++ b/packages/malloy-db-trino/src/trino_connection.ts @@ -252,6 +252,7 @@ export abstract class TrinoPrestoConnection // TODO(figutierrez): Use. _rowIndex = 0 ): Promise { + options = {...this.readQueryOptions(), ...options}; const r = await this.client.runSQL(sqlCommand, options.rowLimit); if (r.error) {