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 7e437a6 commit 478c6c6Copy full SHA for 478c6c6
packages/cubejs-athena-driver/driver/AthenaDriver.js
@@ -37,7 +37,7 @@ class AthenaDriver extends BaseDriver {
37
async query(query, values) {
38
const queryString = applyParams(
39
query,
40
- values.map(s => (typeof s === 'string' ? {
+ (values || []).map(s => (typeof s === 'string' ? {
41
toSqlString: () => SqlString.escape(s).replace(/\\\\([_%])/g, '\\$1').replace(/\\'/g, '\'\'')
42
} : s))
43
);
0 commit comments