@514labs/moose-lib 0.6.271-ci-2-g0eebe1cc → 0.6.271-ci-1-g61aaafe0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -891,8 +891,7 @@ var OlapTable = class extends TypedBase {
891
891
  * @private
892
892
  */
893
893
  createConfigHash(clickhouseConfig) {
894
- const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
895
- const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
894
+ const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${clickhouseConfig.database}:${clickhouseConfig.useSSL}`;
896
895
  return createHash2("sha256").update(configString).digest("hex").substring(0, 16);
897
896
  }
898
897
  /**
@@ -917,11 +916,10 @@ var OlapTable = class extends TypedBase {
917
916
  } catch (error) {
918
917
  }
919
918
  }
920
- const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
921
919
  const client = getClickhouseClient2({
922
920
  username: clickhouseConfig.username,
923
921
  password: clickhouseConfig.password,
924
- database: effectiveDatabase,
922
+ database: clickhouseConfig.database,
925
923
  useSSL: clickhouseConfig.useSSL ? "true" : "false",
926
924
  host: clickhouseConfig.host,
927
925
  port: clickhouseConfig.port