Closed
Bug 1393838
Opened 7 years ago
Closed 7 years ago
Redash is not escaping HTML-like strings in query results
Categories
(Data Platform and Tools :: General, defect)
Data Platform and Tools
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: katejimmelon, Unassigned)
References
Details
(Whiteboard: [measurement:client:tracking])
Attachments
(1 obsolete file)
https://sql.telemetry.mozilla.org/queries/24136/source This link shows lots of payload/pingDiscardedForSize failures contains empty string instead of ping type. The second problem here, that tmo didn't show this empty strings.
Reporter | ||
Comment 1•7 years ago
|
||
Turns out that keeping "<unknown>" value as a key in map was not the best idea.
Comment 2•7 years ago
|
||
We have values like "<unknown>" in the health ping for `pingDiscardedForSize`, which is stored as a map. See bug 1390104 c0 for the schema. We suspect that either d2p, parquet or presto can't handle this, resulting in a key of "" in queries. Do you know which? How & where can we best handle this?
Flags: needinfo?(mtrinkala)
Updated•7 years ago
|
Component: Telemetry → General
Product: Toolkit → Data Platform and Tools
Updated•7 years ago
|
Priority: P1 → --
Whiteboard: [measurement:client:tracking]
Reporter | ||
Comment 3•7 years ago
|
||
Attachment #8901263 -
Flags: review?(gfritzsche)
Comment 4•7 years ago
|
||
Comment on attachment 8901263 [details] [diff] [review] unknown.patch Review of attachment 8901263 [details] [diff] [review]: ----------------------------------------------------------------- Cancelling the review until we know what the proper approach is in the pipeline.
Attachment #8901263 -
Flags: review?(gfritzsche)
Comment 5•7 years ago
|
||
A key of '<unknown>' is fine in the ingestion pipeline and parquet output.
Flags: needinfo?(mtrinkala)
Comment 6•7 years ago
|
||
Mark, do you have any ideas on the point of failure here (per comment 2 and comment 5)?
Flags: needinfo?(mreid)
Comment 7•7 years ago
|
||
This looks like a re:dash issue where it's trying to render the string "<unknown>" as an HTML tag... if you download the csv you see items like: id,oversize some-uuid1,{u'<unknown>': 1} some-uuid2,{u'<unknown>': 1} some-uuid3,{u'main': 1} some-uuid4,{u'<unknown>': 1}
Flags: needinfo?(mreid)
Updated•7 years ago
|
Assignee: kustiuzhanina → nobody
Component: General → Redash (STMO)
Summary: Investigate weird data occurrencies on re:dash for Health ping → Redash is not escaping HTML-like strings in query results
Updated•7 years ago
|
Attachment #8901263 -
Attachment is obsolete: true
Comment 8•7 years ago
|
||
This issue should now be resolved: https://github.com/mozilla/redash/issues/222
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•1 year ago
|
Component: Redash (STMO) → General
You need to log in
before you can comment on or make changes to this bug.
Description
•