Skip to content

Commit 307e801

Browse files
committed
remove databrickAcceptPolicy env
1 parent 9bcb5a1 commit 307e801

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

packages/cubejs-backend-shared/src/env.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -951,21 +951,6 @@ const variables: Record<string, (...args: any) => any> = {
951951
* Databricks Driver *
952952
***************************************************************** */
953953

954-
/**
955-
* Accept Databricks policy flag. This environment variable doesn't
956-
* need to be split by the data source.
957-
* TODO: Tech-debt: Remove totally someday
958-
*/
959-
databrickAcceptPolicy: () => {
960-
const val = get('CUBEJS_DB_DATABRICKS_ACCEPT_POLICY').asBoolStrict();
961-
962-
if (val !== undefined) {
963-
console.warn(
964-
'The CUBEJS_DB_DATABRICKS_ACCEPT_POLICY is not needed anymore. Please, remove it'
965-
);
966-
}
967-
},
968-
969954
/**
970955
* Databricks jdbc-connection url.
971956
*/

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ export const OSS_DRIVER_VERSION = '1.0.2';
1111
* Java Runtime Environment (JRE) 11.0 or above. CI testing is supported on JRE 11, 17, and 21.
1212
*/
1313
export async function downloadJDBCDriver(): Promise<string | null> {
14-
// TODO: Just to throw a console warning that this ENV is obsolete and could be safely removed
15-
getEnv('databrickAcceptPolicy');
16-
1714
console.log(`Downloading databricks-jdbc-${OSS_DRIVER_VERSION}-oss.jar`);
1815

1916
await downloadAndExtractFile(

0 commit comments

Comments
 (0)