File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
packages/cubejs-databricks-jdbc-driver/src Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ import path from 'path';
22import { downloadAndExtractFile , getEnv } from '@cubejs-backend/shared' ;
33
44function 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
1821export 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
You can’t perform that action at this time.
0 commit comments