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

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.
package/dist/index.mjs CHANGED
@@ -917,8 +917,7 @@ var OlapTable = class extends TypedBase {
917
917
  * @private
918
918
  */
919
919
  createConfigHash(clickhouseConfig) {
920
- const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
921
- const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
920
+ const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${clickhouseConfig.database}:${clickhouseConfig.useSSL}`;
922
921
  return createHash("sha256").update(configString).digest("hex").substring(0, 16);
923
922
  }
924
923
  /**
@@ -943,11 +942,10 @@ var OlapTable = class extends TypedBase {
943
942
  } catch (error) {
944
943
  }
945
944
  }
946
- const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
947
945
  const client = getClickhouseClient2({
948
946
  username: clickhouseConfig.username,
949
947
  password: clickhouseConfig.password,
950
- database: effectiveDatabase,
948
+ database: clickhouseConfig.database,
951
949
  useSSL: clickhouseConfig.useSSL ? "true" : "false",
952
950
  host: clickhouseConfig.host,
953
951
  port: clickhouseConfig.port