@malloydata/malloy 0.0.282 → 0.0.283

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.
@@ -137,7 +137,10 @@ class Drill extends filters_1.Filter {
137
137
  requiredDimensions.push(...segmentDimensions.map(f => [...pathSoFar, f]));
138
138
  // Only collect filters from nests if they haven't been collected in a previous drill clause
139
139
  if (!drillDimensions.some(n => (0, composite_source_utils_1.pathBegins)(n.nestPath, pathSoFar))) {
140
- for (const filter of (_a = segment.filterList) !== null && _a !== void 0 ? _a : []) {
140
+ const wheres = (_a = segment.filterList) !== null && _a !== void 0 ? _a : [];
141
+ for (const filter of wheres) {
142
+ if ((0, malloy_types_1.expressionIsAggregate)(filter.expressionType))
143
+ continue;
141
144
  if (collectedWheres === undefined) {
142
145
  collectedWheres = filter.e;
143
146
  collectedWhereFieldUsage = filter.fieldUsage;
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MALLOY_VERSION = "0.0.282";
1
+ export declare const MALLOY_VERSION = "0.0.283";
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MALLOY_VERSION = void 0;
4
4
  // generated with 'generate-version-file' script; do not edit manually
5
- exports.MALLOY_VERSION = '0.0.282';
5
+ exports.MALLOY_VERSION = '0.0.283';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.282",
3
+ "version": "0.0.283",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -41,9 +41,9 @@
41
41
  "generate-version-file": "VERSION=$(npm pkg get version --workspaces=false | tr -d \\\")\necho \"// generated with 'generate-version-file' script; do not edit manually\\nexport const MALLOY_VERSION = '$VERSION';\" > src/version.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@malloydata/malloy-filter": "0.0.282",
45
- "@malloydata/malloy-interfaces": "0.0.282",
46
- "@malloydata/malloy-tag": "0.0.282",
44
+ "@malloydata/malloy-filter": "0.0.283",
45
+ "@malloydata/malloy-interfaces": "0.0.283",
46
+ "@malloydata/malloy-tag": "0.0.283",
47
47
  "antlr4ts": "^0.5.0-alpha.4",
48
48
  "assert": "^2.0.0",
49
49
  "jaro-winkler": "^0.2.8",