@514labs/moose-lib 0.6.239-ci-3-g6e595e05 → 0.6.239-ci-1-g4a0cac87
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 +5 -1
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +5 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js +5 -1
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +5 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +1 -0
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +1 -0
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -654,6 +654,9 @@ function createMaterializedView(options) {
|
|
|
654
654
|
AS ${options.select}`.trim();
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
+
// src/dmv2/internal.ts
|
|
658
|
+
var import_process = __toESM(require("process"));
|
|
659
|
+
|
|
657
660
|
// src/index.ts
|
|
658
661
|
init_commons();
|
|
659
662
|
|
|
@@ -693,6 +696,7 @@ var DEFAULT_CSV_CONFIG = {
|
|
|
693
696
|
|
|
694
697
|
// src/dmv2/internal.ts
|
|
695
698
|
init_commons();
|
|
699
|
+
var isClientOnlyMode = import_process.default.env.MOOSE_CLIENT_ONLY === "true";
|
|
696
700
|
var moose_internal = {
|
|
697
701
|
tables: /* @__PURE__ */ new Map(),
|
|
698
702
|
streams: /* @__PURE__ */ new Map(),
|
|
@@ -856,7 +860,7 @@ var OlapTable = class extends TypedBase {
|
|
|
856
860
|
this.name = name;
|
|
857
861
|
const tables = getMooseInternal().tables;
|
|
858
862
|
const registryKey = this.config.version ? `${name}_${this.config.version}` : name;
|
|
859
|
-
if (tables.has(registryKey)) {
|
|
863
|
+
if (!isClientOnlyMode && tables.has(registryKey)) {
|
|
860
864
|
throw new Error(
|
|
861
865
|
`OlapTable with name ${name} and version ${config?.version ?? "unversioned"} already exists`
|
|
862
866
|
);
|