Files
geedge-jira/md/OMPUB-614.md
2025-09-14 21:52:36 +00:00

99 lines
2.8 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 【E21现场】做完的report以PDF下载下载成PDF格式的报告内容显示“Report statistics failed.”
| ID | Creation Date | Assignee | Status |
|----|----------------|----------|--------|
| OMPUB-614 | 2022-09-07T02:37:12.000+0800 | 戚岱杰 | 已关闭 |
---
完成的report直接view,统计的报告展示正常但是以PDF格式下载效果见附件显示“
Report statistics failed”无法展示出统计结果。
”**zhangwei** commented on *2022-09-07T13:59:38.874+0800*:
分析错误日志是由于多个图例的结果数据量不一致导致在计算图表高度时遍历数据量小的图例Metric出现数组越界。[~doufenghu] 
[~liuju] 提供一下请求Galaxy查询返回的统计结果数据。获取方式[~leijun] 指导一下。
---
**fengjunfeng** commented on *2022-09-07T16:39:13.186+0800*:
结果数据量统计如下:
Device Group(MWV-IGW):174         Device Group(BOL-IGW):173      Device Group(SSM-IGW):171      Device Group(DIR-IGW):170     Device Group(BJR-IGW):169
导致在计算图表高度时遍历数据量小的图例Metric出现数组越界
---
**doufenghu** commented on *2022-09-13T17:27:18.787+0800*:
获取如上SQL 查询Galaxy的结果分析下数据。[~qidaijie]
---
**qidaijie** commented on *2022-09-15T16:36:16.785+0800*:
[^response.txt] 该结果为twitter-IGW报告结果非linkedin-IGW结果下方均采用了linkedin-IGW报表的结果。
使用 [^linkedin-IGW-Report-SQL.txt] 查询Galaxy现象如下
1.各局点数据量统计:
BJR-IGW:224 DIR-IGW:224 SSM-IGW:224 MWV-IGW:255 BOL-IGW:228
2.通过 [^linkedin-IGW-response.txt] 和 [^linkedin-IGW-Galaxy查询结果] 对比数据时间范围:
# 报表xAxis时间范围是2022-08-28T03:00:00Z-2022-09-06T10:00:00Z与BJR-IGW/DIR-IGW/SSM-IGW数据时间范围相符。
# MWV-IGW和BOL-IGW局点有部分2022-08-28T03:00:00Z之前时间点的数据。
!image-2022-09-15-16-36-22-247.png|thumbnail!
---
**doufenghu** commented on *2022-09-19T16:39:51.974+0800*:
* 存在语义问题,暂不处置;时序图的{*}数据时间{*}和{*}X轴的时间维度{*}选取不同列,图形渲染时显示数据时间范围之外的点。
* 关于时序图显示错位和导出PDF failed bug需要处置
** Galaxy 对补零函数进行修复,确保维度 (时间+统计维度和Metrics ,分别构成数组时,元素数量保持一致
** 若有非补零函数的情况下渲染时序图X轴在构建数组时可自行处置(例如自动补零null 或其它方式) [~zhangwei]  [~yuwang] 
---
## Attachments
**31092/image-2022-09-15-16-36-22-247.png**
---
**30937/linkedin-IGW.pdf**
---
**31091/linkedin-IGW-Galaxy查询结果**
---
**31081/linkedin-IGW-Report-SQL.txt**
---
**31090/linkedin-IGW-response.txt**
---
**30952/response.txt**
---