Skip to content

Commit 2a84e90

Browse files
committed
fix
1 parent 4dce611 commit 2a84e90

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

packages/cubejs-query-orchestrator/test/unit/QueryOrchestrator.test.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,6 @@ class MockDriver {
4141
}
4242
}
4343

44-
// Handle metadata operations using the new approach (legacy format)
45-
if (query && typeof query === 'object' && query.type === 'metadata') {
46-
const { operation, params = {} } = query;
47-
if (operation === 'GET_SCHEMAS') {
48-
return this.getSchemas();
49-
} else if (operation === 'GET_TABLES_FOR_SCHEMAS') {
50-
return this.getTablesForSpecificSchemas(params.schemas);
51-
} else if (operation === 'GET_COLUMNS_FOR_TABLES') {
52-
return this.getColumnsForSpecificTables(params.tables);
53-
}
54-
return Promise.resolve([]);
55-
}
56-
5744
// Handle regular SQL queries - ensure query is a string
5845
if (typeof query !== 'string') {
5946
return Promise.resolve([]);

0 commit comments

Comments
 (0)