From 4d38f0ef4f914f9354e56f40bd22e8b1e9ff155c Mon Sep 17 00:00:00 2001 From: Superblocks Admin Date: Mon, 30 Sep 2024 17:39:53 +0000 Subject: [PATCH] syncing up to f4189819f2641b4fe4748b61c7ad4b5af5884d4b Co-authored-by: Joey Greco <57115019+joeyagreco@users.noreply.github.com> --- CHANGELOG.md | 1 + .../packages/plugins/databricks/src/index.ts | 36 ++++--------------- 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e13f347..e00c95c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Update signing rotation endpoint for APIs - 403 status codes from the server now return as 403 instead of 500 +- Added Superblocks partner ID to the Databricks integration ## v1.15.1 diff --git a/workers/javascript/packages/plugins/databricks/src/index.ts b/workers/javascript/packages/plugins/databricks/src/index.ts index 9007602b..8b44f64e 100644 --- a/workers/javascript/packages/plugins/databricks/src/index.ts +++ b/workers/javascript/packages/plugins/databricks/src/index.ts @@ -46,6 +46,8 @@ interface TableQueryEntity { } export default class DatabricksPlugin extends DatabasePluginPooled { + // This is a NON SECRET id that identifies Superblocks to Databricks for partnership purposes. + private readonly DATABRICKS_PARTNER_CLIENT_ID = 'Superblocks'; pluginName = 'Databricks'; protected readonly parameterType = ':PARAM'; protected readonly columnEscapeCharacter = '`'; @@ -220,8 +222,6 @@ export default class DatabricksPlugin extends DatabasePluginPooled