Skip to content

Commit 328bb79

Browse files
committed
fix(databricks-jdbc-driver): Error: [Databricks][JDBC](11220) Parameters cannot be used with normal Statement objects, use PreparedStatements instead.
Fixes #6627
1 parent c3c326b commit 328bb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-query-orchestrator/src/orchestrator/PreAggregations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ export class PreAggregationLoader {
12861286
}
12871287

12881288
if (!tableData.types && client.queryColumnTypes) {
1289-
tableData.types = await saveCancelFn(client.queryColumnTypes(sql));
1289+
tableData.types = await saveCancelFn(client.queryColumnTypes(sql, params));
12901290
}
12911291

12921292
return tableData;

0 commit comments

Comments
 (0)