@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/browserCompatible.js +2 -4
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +2 -4
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js +2 -4
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +2 -4
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -954,8 +954,7 @@ var OlapTable = class extends TypedBase {
|
|
|
954
954
|
* @private
|
|
955
955
|
*/
|
|
956
956
|
createConfigHash(clickhouseConfig) {
|
|
957
|
-
const
|
|
958
|
-
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
|
|
957
|
+
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${clickhouseConfig.database}:${clickhouseConfig.useSSL}`;
|
|
959
958
|
return (0, import_node_crypto2.createHash)("sha256").update(configString).digest("hex").substring(0, 16);
|
|
960
959
|
}
|
|
961
960
|
/**
|
|
@@ -980,11 +979,10 @@ var OlapTable = class extends TypedBase {
|
|
|
980
979
|
} catch (error) {
|
|
981
980
|
}
|
|
982
981
|
}
|
|
983
|
-
const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
|
|
984
982
|
const client = getClickhouseClient2({
|
|
985
983
|
username: clickhouseConfig.username,
|
|
986
984
|
password: clickhouseConfig.password,
|
|
987
|
-
database:
|
|
985
|
+
database: clickhouseConfig.database,
|
|
988
986
|
useSSL: clickhouseConfig.useSSL ? "true" : "false",
|
|
989
987
|
host: clickhouseConfig.host,
|
|
990
988
|
port: clickhouseConfig.port
|