@lightdash/warehouses 0.2087.0 → 0.2088.0

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/utils/sql.js CHANGED
@@ -25,6 +25,11 @@ function getDefaultMetricSql(sql, type) {
25
25
  case common_1.MetricType.PERCENTILE:
26
26
  case common_1.MetricType.MEDIAN:
27
27
  break;
28
+ case common_1.MetricType.PERCENT_OF_PREVIOUS:
29
+ case common_1.MetricType.PERCENT_OF_TOTAL:
30
+ case common_1.MetricType.RUNNING_TOTAL:
31
+ // PostCalculation metrics are compiled at run time
32
+ break;
28
33
  default:
29
34
  return (0, common_1.assertUnreachable)(type, new common_1.CompileError(`No SQL render function implemented for metric with type "${type}"`));
30
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/warehouses",
3
- "version": "0.2087.0",
3
+ "version": "0.2088.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "snowflake-sdk": "~2.1.3",
18
18
  "ssh2": "^1.14.0",
19
19
  "trino-client": "0.2.6",
20
- "@lightdash/common": "0.2087.0"
20
+ "@lightdash/common": "0.2088.0"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/pg": "^8.11.10",