@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.
- 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
package/dist/dmv2/index.mjs
CHANGED
|
@@ -796,8 +796,7 @@ var OlapTable = class extends TypedBase {
|
|
|
796
796
|
* @private
|
|
797
797
|
*/
|
|
798
798
|
createConfigHash(clickhouseConfig) {
|
|
799
|
-
const
|
|
800
|
-
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
|
|
799
|
+
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${clickhouseConfig.database}:${clickhouseConfig.useSSL}`;
|
|
801
800
|
return createHash2("sha256").update(configString).digest("hex").substring(0, 16);
|
|
802
801
|
}
|
|
803
802
|
/**
|
|
@@ -822,11 +821,10 @@ var OlapTable = class extends TypedBase {
|
|
|
822
821
|
} catch (error) {
|
|
823
822
|
}
|
|
824
823
|
}
|
|
825
|
-
const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
|
|
826
824
|
const client = getClickhouseClient2({
|
|
827
825
|
username: clickhouseConfig.username,
|
|
828
826
|
password: clickhouseConfig.password,
|
|
829
|
-
database:
|
|
827
|
+
database: clickhouseConfig.database,
|
|
830
828
|
useSSL: clickhouseConfig.useSSL ? "true" : "false",
|
|
831
829
|
host: clickhouseConfig.host,
|
|
832
830
|
port: clickhouseConfig.port
|