@adobe/spacecat-shared-athena-client 1.7.1 → 1.7.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [@adobe/spacecat-shared-athena-client-v1.7.3](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-athena-client-v1.7.2...@adobe/spacecat-shared-athena-client-v1.7.3) (2025-11-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#1162](https://github.com/adobe/spacecat-shared/issues/1162)) ([f0152c5](https://github.com/adobe/spacecat-shared/commit/f0152c5ecddb75b6b3c6e2f0d756d5fb04171dd3))
7
+
8
+ # [@adobe/spacecat-shared-athena-client-v1.7.2](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-athena-client-v1.7.1...@adobe/spacecat-shared-athena-client-v1.7.2) (2025-11-20)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * athena query - remove dimension check ([#1160](https://github.com/adobe/spacecat-shared/issues/1160)) ([e845b6e](https://github.com/adobe/spacecat-shared/commit/e845b6ee92957a5f7b0c2495aef34e66a266a871))
14
+
1
15
  # [@adobe/spacecat-shared-athena-client-v1.7.1](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-athena-client-v1.7.0...@adobe/spacecat-shared-athena-client-v1.7.1) (2025-11-20)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-athena-client",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "Shared modules of the Spacecat Services - AWS Athena Client",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@adobe/spacecat-shared-utils": "1.77.1",
39
- "@aws-sdk/client-athena": "3.932.0"
39
+ "@aws-sdk/client-athena": "3.938.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "chai": "6.2.1",
@@ -84,7 +84,7 @@ export function getTrafficAnalysisQueryPlaceholdersFilled({
84
84
  month,
85
85
  year,
86
86
  siteId,
87
- dimensions,
87
+ dimensions = [],
88
88
  tableName,
89
89
  pageTypes = null,
90
90
  pageTypeMatchColumn = 'path',
@@ -101,10 +101,6 @@ export function getTrafficAnalysisQueryPlaceholdersFilled({
101
101
  throw new Error('Missing required parameters: week, month or year');
102
102
  }
103
103
 
104
- if (!Array.isArray(dimensions) || dimensions.length === 0) {
105
- throw new Error('Missing dimension to group by');
106
- }
107
-
108
104
  if (numTemporalSeries > 1 && week) {
109
105
  dimensions.push('week');
110
106
  } else if (numTemporalSeries > 1 && month) {