Skip to content

Commit 35a012e

Browse files
committed
[DO NOT MERGE] more debug from JDBC
1 parent 04d9dab commit 35a012e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/cubejs-databricks-jdbc-driver/src/installer.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import path from 'path';
22
import { downloadAndExtractFile, getEnv } from '@cubejs-backend/shared';
33

44
function acceptedByEnv() {
5+
console.log('acceptedByEnv call');
6+
57
const acceptStatus = getEnv('databrickAcceptPolicy');
8+
console.log('acceptedByEnv call acceptStatus', acceptStatus);
69
if (acceptStatus) {
710
console.log('You accepted Terms & Conditions for JDBC driver from DataBricks by CUBEJS_DB_DATABRICKS_ACCEPT_POLICY');
811
}
@@ -16,8 +19,11 @@ function acceptedByEnv() {
1619
}
1720

1821
export async function downloadJDBCDriver(): Promise<string | null> {
22+
console.log('downloadJDBCDriver call');
1923
const driverAccepted = acceptedByEnv();
2024

25+
console.log('downloadJDBCDriver call driverAccepted', driverAccepted);
26+
2127
if (driverAccepted) {
2228
console.log('Downloading DatabricksJDBC42-2.6.40.1071');
2329

0 commit comments

Comments
 (0)