@514labs/moose-lib 0.6.297-ci-4-g8012f636 → 0.6.297-ci-5-g194c6fe0
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 +17 -0
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +17 -0
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js +17 -0
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +17 -0
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -0
- 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.js
CHANGED
|
@@ -954,6 +954,23 @@ var init_olapTable = __esm({
|
|
|
954
954
|
`OlapTable ${name}: Cannot specify both 'cluster' and explicit replication params ('keeperPath' or 'replicaName'). Use 'cluster' for auto-injected params, or use explicit 'keeperPath' and 'replicaName' without 'cluster'.`
|
|
955
955
|
);
|
|
956
956
|
}
|
|
957
|
+
const projections = resolvedConfig.projections;
|
|
958
|
+
if (projections && Array.isArray(projections) && projections.length > 0) {
|
|
959
|
+
const engine = resolvedConfig.engine;
|
|
960
|
+
const nonMergeTreeEngines = [
|
|
961
|
+
"S3" /* S3 */,
|
|
962
|
+
"S3Queue" /* S3Queue */,
|
|
963
|
+
"Buffer" /* Buffer */,
|
|
964
|
+
"Distributed" /* Distributed */,
|
|
965
|
+
"IcebergS3" /* IcebergS3 */,
|
|
966
|
+
"Kafka" /* Kafka */
|
|
967
|
+
];
|
|
968
|
+
if (typeof engine === "string" && nonMergeTreeEngines.includes(engine)) {
|
|
969
|
+
throw new Error(
|
|
970
|
+
`OlapTable ${name}: ${engine} engine does not support PROJECTION clauses. Projections are only supported on MergeTree family engines. Remove projections from your configuration.`
|
|
971
|
+
);
|
|
972
|
+
}
|
|
973
|
+
}
|
|
957
974
|
super(name, resolvedConfig, schema, columns, validators);
|
|
958
975
|
this.name = name;
|
|
959
976
|
const tables = getMooseInternal().tables;
|