Skip to content

Commit 7117e89

Browse files
committed
fix(clickhouse-driver): Empty schema when CUBEJS_DB_NAME is provided
1 parent 67c6be7 commit 7117e89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-clickhouse-driver/driver/ClickHouseDriver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class ClickHouseDriver extends BaseDriver {
132132
database as table_schema,
133133
type as data_type
134134
FROM system.columns
135-
WHERE database = '${this.config.database}'
135+
WHERE database = '${this.config.queryOptions.database}'
136136
`;
137137
}
138138

0 commit comments

Comments
 (0)