File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
packages/cubejs-query-orchestrator/test/unit Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff 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 ( [ ] ) ;
You can’t perform that action at this time.
0 commit comments