@adobe/spacecat-shared-athena-client 1.7.1 → 1.7.2
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 +7 -0
- package/package.json +1 -1
- package/src/traffic-analysis/queries.js +1 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@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)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* athena query - remove dimension check ([#1160](https://github.com/adobe/spacecat-shared/issues/1160)) ([e845b6e](https://github.com/adobe/spacecat-shared/commit/e845b6ee92957a5f7b0c2495aef34e66a266a871))
|
|
7
|
+
|
|
1
8
|
# [@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
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -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) {
|