test: verify duckdb v1 support

This commit is contained in:
Andrey Avtomonov 2026-05-18 15:33:57 +02:00
parent 099c605dc5
commit 136ab81188
2 changed files with 2 additions and 2 deletions

View file

@ -159,7 +159,7 @@ describe('KtxDuckDbScanConnector runtime behavior', () => {
it('introspects tables, views, primary keys, foreign keys, and row counts', async () => {
const c = connector();
const snapshot = await c.introspect({ connectionId: 'warehouse', driver: 'duckdb' as never }, { runId: 'test' });
const snapshot = await c.introspect({ connectionId: 'warehouse', driver: 'duckdb' }, { runId: 'test' });
await c.cleanup();
expect(snapshot).toMatchObject({

View file

@ -21,7 +21,7 @@ export function createDuckDbLiveDatabaseIntrospection(
now: options.now,
});
try {
return await connector.introspect({ connectionId, driver: 'duckdb' as never }, { runId: `duckdb-${connectionId}` });
return await connector.introspect({ connectionId, driver: 'duckdb' }, { runId: `duckdb-${connectionId}` });
} finally {
await connector.cleanup();
}