Skip to content

Commit 387020d

Browse files
authored
fix(cubestore-driver): Fix informationSchemaQuery (#6338)
1 parent 866f965 commit 387020d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/cubejs-cubestore-driver/src/CubeStoreDriver.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,7 @@ export class CubeStoreDriver extends BaseDriver implements DriverInterface {
9090
columns.table_schema as ${this.quoteIdentifier('table_schema')},
9191
columns.data_type as ${this.quoteIdentifier('data_type')}
9292
FROM information_schema.columns as columns
93-
WHERE columns.table_schema NOT IN ('information_schema', 'mysql', 'performance_schema', 'sys', 'INFORMATION_SCHEMA')
94-
AND columns.table_schema = '${this.config.database}'
95-
`;
93+
WHERE columns.table_schema NOT IN ('information_schema', 'system')`;
9694
}
9795

9896
public createTableSqlWithOptions(tableName, columns, options: CreateTableOptions) {

0 commit comments

Comments
 (0)