Skip to content

Commit 4ab47ed

Browse files
committed
[DO NOT MERGE] add debug calls from node thru driver
1 parent 4368ed2 commit 4ab47ed

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/cubejs-testing-drivers/test/databricks-jdbc-full.test.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import * as https from "node:https";
1+
import * as https from 'node:https';
2+
3+
import D from '@cubejs-backend/databricks-jdbc-driver';
24

35
import { testQueries } from '../src/tests/testQueries';
46

@@ -33,6 +35,15 @@ https.get(
3335
}
3436
);
3537

38+
async function f() {
39+
const source = new D();
40+
console.log('test driver constructed');
41+
const qRes = await source.query('SELECT 1 as foo;', []);
42+
console.log('qRes', qRes);
43+
}
44+
45+
f().catch(e => console.log('driver test query failed', e));
46+
3647
testQueries('databricks-jdbc', {
3748
includeIncrementalSchemaSuite: true,
3849
includeHLLSuite: true,

0 commit comments

Comments
 (0)